Current time: 10-22-2019, 05:06 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Occasional mobile failures
08-08-2014, 01:43 AM
Post: #1
Occasional mobile failures
Config: Physical window 7 machine running website, desktop wptdriver agent, url blast, and wpt_agent for a connected MotoE

When running mobile test, I occasionally (say a third of the time) get failures that I haven't seen on the public instances. The failures sometimes result in 'Data is missing" messages in the test results and other times have the command that timed out.

Below are a few of the stack traces/exceptions I have seen. The desktop tests seem to work fine. Any suggestions on things I could try to diagnose/resolve the problems.

C Aug_07_10:55:58.176 c:\wpt\agent\js\src\wpt_client.js:325 Client.onUncaughtExc
eption_ : Unhandled exception in the client: TypeError: Object #<process> has no
method 'getuid'
TypeError: Object #<process> has no method 'getuid'
at Object.exports.scheduleGetAll (c:\wpt\agent\js\src\process_utils.js:117:5
3)
at Object.exports.scheduleGetTree (c:\wpt\agent\js\src\process_utils.js:136:
18)
at Object.exports.scheduleKillTree (c:\wpt\agent\js\src\process_utils.js:168
:11)
at Agent.<anonymous> (c:\wpt\agent\js\src\agent_main.js:462:21)
at c:\wpt\agent\js\node_modules\selenium-webdriver\lib\goog\base.js:1178:15
at webdriver.promise.ControlFlow.runInNewFrame_ (c:\wpt\agent\js\node_module
s\selenium-webdriver\lib\webdriver\promise.js:1438:20)
at notify (c:\wpt\agent\js\node_modules\selenium-webdriver\lib\webdriver\pro
mise.js:328:12)
at notifyAll (c:\wpt\agent\js\node_modules\selenium-webdriver\lib\webdriver\
promise.js:297:7)
at reject (c:\wpt\agent\js\node_modules\selenium-webdriver\lib\webdriver\pro
mise.js:423:7)
at c:\wpt\agent\js\node_modules\selenium-webdriver\lib\webdriver\promise.js:
1314:10
==== async task ====
Wait for wd_server exit
at app.schedule (c:\wpt\agent\js\src\process_utils.js:399:26)
at Object.exports.scheduleWait (c:\wpt\agent\js\src\process_utils.js:212:14)

at Agent.scheduleCleanup_ (c:\wpt\agent\js\src\agent_main.js:457:19)
at Agent.<anonymous> (c:\wpt\agent\js\src\agent_main.js:135:14)
at ChildProcess.emit (events.js:98:17)
at handleMessage (child_process.js:322:10)
at Pipe.channel.onread (child_process.js:349:11)
C Aug_07_10:55:58.178 c:\wpt\agent\js\src\wpt_client.js:336 Client.onUncaughtExc
eption_ : Unhandled exception while processing job 140807_B2_1N
A Aug_07_10:55:58.179 c:\wpt\agent\js\src\wpt_client.js:493 Client.finishRun_ :
Finished run 3/3 (isRunFinished=true) of job 140807_B2_1N

_____________________________

E Aug_07_10:57:22.635 c:\wpt\agent\js\src\wd_server.js:857 WebDriverServer.<anon
ymous> : App uncaught exception event: [{"webdriver_promise_error_":true}]
C Aug_07_10:57:22.638 c:\wpt\agent\js\src\wd_server.js:1097 WebDriverServer.onUn
caughtException_ : Uncaught exception: Error: IPC channel is already disconnecte
d
at process.target.disconnect (child_process.js:486:26)
at webdriver.promise.ControlFlow.runInNewFrame_ (c:\wpt\agent\js\node_module
s\selenium-webdriver\lib\webdriver\promise.js:1438:20)
at webdriver.promise.ControlFlow.runEventLoop_ (c:\wpt\agent\js\node_modules
\selenium-webdriver\lib\webdriver\promise.js:1303:8)
at wrapper [as _onTimeout] (timers.js:258:14)
at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)
==== async task ====
Disconnect IPC
at app.schedule (c:\wpt\agent\js\src\process_utils.js:399:26)
at WebDriverServer.done_ (c:\wpt\agent\js\src\wd_server.js:1069:15)
at c:\wpt\agent\js\node_modules\selenium-webdriver\lib\goog\base.js:1178:15
at webdriver.promise.ControlFlow.runInNewFrame_ (c:\wpt\agent\js\node_module
s\selenium-webdriver\lib\webdriver\promise.js:1438:20)
at notify (c:\wpt\agent\js\node_modules\selenium-webdriver\lib\webdriver\pro
mise.js:328:12)
at notifyAll (c:\wpt\agent\js\node_modules\selenium-webdriver\lib\webdriver\
promise.js:297:7)
at fulfill (c:\wpt\agent\js\node_modules\selenium-webdriver\lib\webdriver\pr
omise.js:402:7)
at c:\wpt\agent\js\node_modules\selenium-webdriver\lib\webdriver\promise.js:
1305:10
at Object.webdriver.promise.asap (c:\wpt\agent\js\node_modules\selenium-webd
river\lib\webdriver\promise.js:672:5)
1.E Aug_07_10:58:40.809 c:\wpt\agent\js\src\wpt_client.js:444 Client.abortJob_ :
Aborting job 140807_SP_1P: timeout
E Aug_07_10:58:40.879 c:\wpt\agent\js\src\process_utils.js:332 ChildProcess.<ano
nymous> : ./ipfw_config clear --device ZX1B2293MK failed with exception: spawn E
NOENT

_____________________________________________


E Aug_07_11:23:36.452 c:\wpt\agent\js\src\wd_server.js:1013 WebDriverServer.done
_ : Run failed, stopping: Error: adb -s ZX1B2293MK shell rm /storage/emulated/le
gacy/wpt_chrome_command_line timeout after 60 seconds
at newError (c:\wpt\agent\js\src\process_utils.js:268:17)
at null._onTimeout (c:\wpt\agent\js\src\process_utils.js:295:11)
at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)
==== async task ====
adb -s ZX1B2293MK shell rm /storage/emulated/legacy/wpt_chrome_command_line
at app.schedule (c:\wpt\agent\js\src\process_utils.js:399:26)
at Object.exports.scheduleExec (c:\wpt\agent\js\src\process_utils.js:251:14)

at Adb.command_ (c:\wpt\agent\js\src\adb.js:72:24)
at Adb.adb (c:\wpt\agent\js\src\adb.js:89:15)
at Adb.shell (c:\wpt\agent\js\src\adb.js:106:15)
at BrowserAndroidChrome.<anonymous> (c:\wpt\agent\js\src\browser_android_chr
ome.js:322:15)
at c:\wpt\agent\js\node_modules\selenium-webdriver\lib\goog\base.js:1178:15
at webdriver.promise.ControlFlow.runInNewFrame_ (c:\wpt\agent\js\node_module
s\selenium-webdriver\lib\webdriver\promise.js:1438:20)
at notify (c:\wpt\agent\js\node_modules\selenium-webdriver\lib\webdriver\pro
mise.js:328:12)
==== async task ====
Run the test
at app.schedule (c:\wpt\agent\js\src\process_utils.js:399:26)
at WebDriverServer.connect (c:\wpt\agent\js\src\wd_server.js:880:13)
at WebDriverServer.<anonymous> (c:\wpt\agent\js\src\wd_server.js:105:12)
at process.emit (events.js:98:17)
at handleMessage (child_process.js:322:10)
at Pipe.channel.onread (child_process.js:349:11)
.
A Aug_07_11:23:40.898 c:\wpt\agent\js\src\wpt_client.js:493 Client.finishRun_ :
Finished run 1/3 (isRunFinished=true) of job 140807_XY_1R
A Aug_07_11:24:11.272 c:\wpt\agent\js\src\wpt_client.js:493 Client.finishRun_ :
Finished run 2/3 (isRunFinished=true) of job 140807_XY_1R
22
A Aug_07_11:24:46.252 c:\wpt\agent\js\src\wpt_client.js:493 Client.finishRun_ :
Finished run 3/3 (isRunFinished=true) of job 140807_XY_1R
Find all posts by this user
Quote this message in a reply
08-08-2014, 04:33 AM
Post: #2
RE: Occasional mobile failures
RE: ./ipfw_config clear --device ZX1B2293MK failed with exception: spawn E
NOENT

Looks like there is no ipfw_config batch file for windoze. I added a dummy one to get around this for the time. My connection speed is currently fixed by the access point anyhow.
Find all posts by this user
Quote this message in a reply
08-08-2014, 11:46 PM
Post: #3
RE: Occasional mobile failures
Are you running the agent from 2.15 or 2.14? There were a bunch of bugs fixed in 2.15 for the mobile agent where it shouldn't try to use ipfw if it isn't configured (and to bypass ipfw you need to define connectivity=blah in locations.ini).
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)