| Summary: | getSubmissionID: wrong list for big parameter "size" | ||
|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Martin Kudlej <mkudlej> |
| Component: | condor-aviary | Assignee: | grid-maint-list <grid-maint-list> |
| Status: | CLOSED WONTFIX | QA Contact: | MRG Quality Engineering <mrgqe-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | Development | CC: | matt |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-05-26 19:11:23 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
MRG-G is in maintenance only and only customer escalations will be addressed from this point forward. This issue can be re-opened if a customer escalation associated with this issue occurs. |
Description of problem: For some number ranges of "size" parameter of function getSubmissionID returns wrong list of submissions. This happens only on 64 bits on both RHELs. Right result: In [45]: client.service.getSubmissionID(1) Out[45]: (reply){ ids[] = (SubmissionID){ _scheduler = "_hostname_" _pool = "_hostname_" name = "_hostname_#1" owner = "test" qdate = 1378886640 }, remaining = 0 } 1) "Max int on 32 bits" + 1 In[44]: client.service.getSubmissionID(2147483648) Out[44]: (reply){ remaining = 1 } 2) Right: In [55]: cl.service.getSubmissionID(100000000000) Out[55]: (reply){ ids[] = (SubmissionID){ _scheduler = "_hostname_" _pool = "_hostname_" name = "_hostname_#1" owner = "test" qdate = 1378886640 }, remaining = 0 } *Wrong*: In [54]: cl.service.getSubmissionID(1000000000000) Out[54]: (reply){ remaining = 1 } Right: In [57]: cl.service.getSubmissionID(10000000000000) Out[57]: (reply){ ids[] = (SubmissionID){ _scheduler = "_hostname_" _pool = "_hostname__" name = "_hostname_#1" owner = "test" qdate = 1378886640 }, remaining = 0 } Version-Release number of selected component (if applicable): condor-aviary-7.8.8-0.4.3.*.x86_64 How reproducible: 100% Steps to Reproduce: 1. install condor, condor-aviary 2. submit simple job 3. try above examples Actual results: There is wrong submission list for some number ranges of parameter "size". Expected results: In case of x submission in list no matter of x value: a) size <= 0 will return empty list with remaining==x b) size < x will return list of submissions(size) with remaining == x-size(depends on other params) c) size >= x will return full list of submissions