WebPagetest Forums
Error test - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Private Instances (/forumdisplay.php?fid=12)
+--- Thread: Error test (/showthread.php?tid=12996)

Error test - Kuyoki - 05-27-2014 06:10 PM

Finally i can start my agent but when i try to start test i have an error.

First i see in process_util.js this line
var cmd = system_commands.get('get all', [process.getuid()]).split(/\s+/)

getuid doesn't work on windows

so i try to replace by process.pid

and now i have new error

[Image: 1401178193-untitled.png]

Any idea ?


RE: Error test - pmeenan - 05-28-2014 12:39 AM

What command-line are you using? It shouldn't be going down that code path for android testing (maybe it's going down the desktop agent code path).

RE: Error test - Kuyoki - 05-28-2014 12:59 AM

Thanks patrick

i think i have a problem with my agent or device, maybe a permission problem ?

[Image: 1401202764-untitled.png]

RE: Error test - Kuyoki - 05-28-2014 06:44 PM

i specify that i've modify wptdriver.bat to pass my own parameters

like this :

set AGENT=%~dp0
set DP0=%~dp0
set WPT_SERVER=http://cd000186.cdbdx.biz
set LOCATION=Google_Nexus5
set BROWSER=android:070ab4d50073cd7d
set "WPT_MAX_LOGLEVEL=error"
set "WPT_VERBOSE=true"
set "OPT_ARGS="
set "BATCH_NAME=%0"

RE: Error test - pmeenan - 05-29-2014 06:02 AM

Why did you modify the batch file? That's only going to cause you grief down the road. All of the parameters of interest should be able to be passed as command-line options to the batch file.

RE: Error test - Kuyoki - 05-30-2014 05:54 PM

I modify to reset the catch file as the begining and i pass parameters now

but i'va the same error

D May_30_09:41:50.216 C:\wamp\www\webpagetest_2.14\mobile\src\process_utils.js:2
53 unknown : Exec with timeout(10000): wpr status
E May_30_09:41:50.218 C:\wamp\www\webpagetest_2.14\mobile\src\process_utils.js:3
33 ChildProcess.<anonymous> : wpr status failed with exception: spawn ENOENT

RE: Error test - Kuyoki - 05-30-2014 07:37 PM

I uninstall nodejs and install it again, and now i think it'sz better (i see on my android, chrome kill)
but i have a new error

The test failed to run.
Unexpected 'su' output: /system/bin/sh: su: not found

So i know, it's cause my device is not root.
But i have questions, what are features who need that's device is root ?
Can i have result test without root my android ?

RE: Error test - pmeenan - 05-31-2014 12:24 AM

You need to root the device. Right now the agent is expecting it to be able to clear the profile/cache, enable remote debugging and possibly a few other things. It might be possible to get bits and pieces working without root but it's not something we have focused on.