Hide Forgot
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.
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.