PDA

View Full Version : Universe results too large


uncle_fungus
05-08-2008, 10:17 PM
The latest complete universe results are too large to be encapsulated in a URI.

The PTS server responds:

414 Request-URI Too LargeThe results I'm trying to upload are:
http://fire-salamander.co.uk/temp/pts/universe-2008-05-09-gecko.xml
http://fire-salamander.co.uk/temp/pts/universe-2008-05-09-gecko-ocd.xml
http://fire-salamander.co.uk/temp/pts/universe-2008-05-09-q6600.xml

I also added 2 lines to report when an upload fails:
diff --git a/pts-core/pts-run-cmd.php b/pts-core/pts-run-cmd.php
index 7a945a3..1dfef0b 100644
--- a/pts-core/pts-run-cmd.php
+++ b/pts-core/pts-run-cmd.php
@@ -265,6 +265,8 @@ switch($COMMAND)

if(!empty($upload_url))
echo "Results Uploaded To: " . $upload_url . "\n\n";
+ else
+ echo "Error uploading results!\n\n";
break;
case "REMOVE_ALL_RESULTS":
$remove_all = pts_bool_question("Are you sure you wish to remove all saved results (Y/n)?", true);Edit: It should be pretty easy to use the code demoed here: http://netevil.org/blog/2006/nov/http-post-from-php-without-curl to send the results encapsulated as POST data rather than GET data. You'd need to change the parser on PTS-Global to accept $_GET and $_POST variables though.

Michael
05-08-2008, 10:42 PM
A proper fix will be coming soon :)

Michael
05-09-2008, 02:26 PM
I switched over to using $_POST variables now, while PTS Global is backwards compatible and will continue to work with previous versions of PTS.

http://phorogit.com/index.php?p=phoronix-test-suite.git&a=commitdiff&h=ee182e98d983a183b5127a1f3dda4acd8fd83bb3&hb=94e037e9bcc6a457ad1db1a2206c1ae956344854

uncle_fungus
05-09-2008, 03:14 PM
Cheers, I can upload my universe test results now.