Test starts but will not complete

I have successfully set up a webpagetest server running version 2.6 and I am utilizing the IE8 AMI (ami-406f9429) as my test agent. After fixing some errors in my locations ini, I am able to run a test but it never completes. I get the page “Test is partially complete (1 of 1 runs).
This page will refresh every 30 seconds until the full test is complete.” indefinitely. Also, the waterfall images are broken, but the screen shots are working as expected.

I see some POSTs coming into the server but then it immediately goes back to getting work:

[29/Feb/2012:10:52:01 -0500] “POST /work/resultimage.php HTTP/1.1” 200 2 “-” “urlblast”
[29/Feb/2012:10:52:01 -0500] “POST /work/resultimage.php HTTP/1.1” 200 2 “-” “urlblast”
[29/Feb/2012:10:52:01 -0500] “POST /work/resultimage.php HTTP/1.1” 200 2 “-” “urlblast”
[29/Feb/2012:10:52:01 -0500] “POST /work/workdone.php HTTP/1.1” 200 2 “-” “urlblast”
[29/Feb/2012:10:52:09 -0500] “POST /work/resultimage.php HTTP/1.1” 200 2 “-” “urlblast”
[29/Feb/2012:10:52:09 -0500] “POST /work/resultimage.php HTTP/1.1” 200 2 “-” “urlblast”
[29/Feb/2012:10:52:09 -0500] “POST /work/resultimage.php HTTP/1.1” 200 2 “-” “urlblast”
[29/Feb/2012:10:52:09 -0500] “POST /work/workdone.php HTTP/1.1” 200 - “-” “urlblast”

Thanks in advance for your help.

Hmm, almost sounds like a really strange permissions problem of some kind.

Can you check your error.log to see if any errors are happening in workdone.php? Since the screen shots are working it sounds like resultimage.php is working fine but the test data is all uploaded to workdone.php which would explain it never ending and the waterfalls not working.

What version of PHP do you have running?

I am running PHP 5.2.9. Unfortunately, it is a default CentOS installation and I cannot find any logs. No PHP.ini file is loaded and phpinfo gives no indication of where the error logs would be. I can confirm that php was built without sqlite. I discovered this when installing wptmonitor. Does the webpagetest server use sqlite?

I will work on getting some logs and post back when I have something. If you have any thoughts on PHP on CentOS, I am happy to hear them as well.

Can you update to php 5.3? I think we introduced some code in the 2.6 that requires it.

bw, webpagetest itself does not use sqllite.

Success!! Went back to a base CentOS install and added PHP 5.3.10 and Apache myself. Both WebPageTest and Monitor are working now!

I have one additional question. Where do webpagetest and wptmontir store data? I am running in an EC2 instance and I have only some EBS storage so I can only put the files that need to be persisted in EBS. Is there some configuration to change the locations.

Thank you.

WebPagetest stores it’s data in the results directory under docroot. You can symlink that to the EBS storage. Not sure about WPT Monitor