| Summary: | TCMS - nitrate xmlrpc: unacceptable format and size of NitrateXmlrpcError exception | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Other] TCMS | Reporter: | Max Benenson <mbenenso> | ||||
| Component: | Application | Assignee: | Yuguang Wang <yuwang> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | tools-bugs <tools-bugs> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 3.4 | CC: | ctang, dli, junzhang, jzhao, nli, vchen, xgao | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | 3.4.1 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-06-16 08:45:07 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
hi Max, It's known issue. I guess you're running rpc on stage server, we setup an instance on tcms-stage.englab.bne.redhat.com with debug mode thus generate so much exception message. On product server, this won't occur. I'll fix it later. Tons of error message is not acceptable. (In reply to comment #1) > hi Max, > > It's known issue. I guess you're running rpc on stage server, we setup an > instance on tcms-stage.englab.bne.redhat.com with debug mode thus generate so > much exception message. > On product server, this won't occur. > > I'll fix it later. Tons of error message is not acceptable. I will appreciate if you can give a highest priority to this task and handle it ASAP since I have to test our code on your stage server first (before I switch to the production) and right now such exceptions flood our log file and it's simply impossible to debug and find something meaningful in the log. Maybe as a temporary workaround I can pass a boolean flag to the server during login action (Auth.login_krbv) and this flag will indicate to disable the debug mode? Thank you Hi Max, Sure, will fix it within this week. If everything goes well, the stage server will be updated within this week. hey Max, It's fixed, the debug mode of the rpc on stage server is disabled. Please try it. Verify version 3.4.1-2 on englab/stage/engineering Can not reproduce this issue now. Additional info: Verify version 3.4.1 on stage Now situation is as follows, When create twice a TestCaseRun with the same TestCase id using Nitrate xmlrpc, Command line would prompt like: "xmlrpclib.Fault: <Fault 1: 'IntegrityError: (1062, "Duplicate entry..." Verify result: PASS. |
Created attachment 492706 [details] custom log file Description of problem: An attempt to write the caught NitrateXmlrpcError exception to the log file, dumps into it around 8MB of gibberish. Such format of the exception message is unacceptable since it's very hard to find something meaningful in such error message. Steps to Reproduce: 1. For example, try to create twice a TestCaseRun with the same TestCase id using Nitrate xmlrpc Actual results: See attached log file Expected results: Should provide laconic message in the exception's body about the cause of the failure. Additional info: NOTE: this is a general issue, the same behavior on another minor failures.