| Summary: | XMLRPC interface TestRun.create crash | ||
|---|---|---|---|
| Product: | [Other] TCMS | Reporter: | Yang Ren <ryang> |
| Component: | Application | Assignee: | Yuguang Wang <yuwang> |
| Status: | CLOSED NOTABUG | QA Contact: | tools-bugs <tools-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | Devel | CC: | ctang, junzhang, nli, vchen |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-04-14 09:46:42 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
It's too big to upload as attachment. I put it on a server. #wget http://10.66.8.117/traceback.txt hi ryang, try this:
server = 'tcms-stage.englab.bne.redhat.com'
n = NitrateKerbXmlrpc('https://'+ server + '/xmlrpc/')
n.server.Auth.login_krbv
n.server.TestRun.create({'build': 1154,
'manager': 686,
'plan': 3584,
'product': 273,
'product_version': 1059,
'summary': 'Test run for acceptance - li-0.58-1.el6_0'}
)
The product version should also be the *id* of the product, in this case, it's 1059: https://tcms-stage.englab.bne.redhat.com/admin/management/version/?product__id__exact=273
I finally got the reason, it's caused by a form submit overwritten problem. (secret key got lost and would always be null while cloning). Already fixed but not yet online, will inform u to verify when it's online, thanks. --Uh, ignore comment 3, made a mistake.-- (In reply to comment #3) > I finally got the reason, it's caused by a form submit overwritten problem. > (secret key got lost and would always be null while cloning). > > Already fixed but not yet online, > will inform u to verify when it's online, thanks. |
Description of problem: I tried to create a test run in tcms-stage.englab.bne.redhat.com server = 'tcms-stage.englab.bne.redhat.com' n = NitrateKerbXmlrpc('https://'+ server + '/xmlrpc/') n.server.Auth.login_krbv n.server.TestRun.create({'build': 1154, 'manager': 686, 'plan': 3584, 'product': 273, 'product_version': '1.0', 'summary': 'Test run for acceptance - li-0.58-1.el6_0'} ) It crashed and I got a 33.7M traceback.