Hide Forgot
Description of problem: v7-1.5 needs to able to submit a result from the command line of the SUT. Steps to Reproduce: 1. v7 {proper commandline with password} Expected results: A new results is uploaded in parallel with the capabilities of attachment.cgi
Created attachment 564607 [details] the patch based on 788757's patch
Created attachment 568490 [details] the new file for uploading results
Is the end result one file that does both upload and create functions (bz#788757) or two files, and the diff in comment 4 is the delta?
(In reply to comment #5) > Is the end result one file that does both upload and create functions > (bz#788757) or two files, and the diff in comment 4 is the delta? The end results is only one file, the file in comment 4 is the whole module file.
Thx, for whatever reason when I click on 568490 in comment4 it shows me a diff. Probably a preference or something I have set.
I'm getting the following from v7: [root@blueshirt v7]# v7 submit Error: v7 is already running (lock file /var/lock/subsys/v7 found) Override? (y|n) y response: y loaded results /var/v7/results.xml Would you like to open a new certification request? (y|n) y response: y Red Hat Catalog User Name: gnichols response: gnichols Password: created certification ID 731239 http://hwcert-web2-test.devel.redhat.com/show.cgi?id=731239 Would you like to submit the results to the Hardware Catalog? (y|n) y response: y Error: could not submit certification results: Fault code: -32000 Fault string: Insecure dependency in parameter 1 of DBI::db=HASH(0x10f0f320)->prepare method call while running with -T switch at Bugzilla/DB.pm line 63. I'm calling it as follows: file = "results.xml" certificationDocument.compressToFile(file) certificationData = open(file + ".gz", "rb").read().encode("base64") serverProxy = xmlrpclib.ServerProxy(self.environment.getCatalogURL()) try: params = {"login":self.login, "password":self.password, "certid":certificationDocument.getCertificationID(), "filename":"results.xml.gz", "desc":"test results", "data":certificationData} response = serverProxy.Cert.attachResult(params) print "results uploaded." except xmlrpclib.Fault, error: [...]
This is fixed now.
Error: could not submit certification results: Fault code: -32000 Fault string: v7-1.5-9 is not an official release and can not be used for official certifications. Can we change the test server so I can test the upload?
(In reply to comment #10) > Error: could not submit certification results: > Fault code: -32000 > Fault string: v7-1.5-9 is not an official release and can not be used for > official certifications. > > Can we change the test server so I can test the upload? Done
verified on web2
verified on partner