Current time: 04-07-2020, 06:34 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mobile Agent Setup in MAC - relayServer
02-17-2016, 02:34 AM
Post: #7
RE: Mobile Agent Setup in MAC - relayServer
(02-17-2016 01:08 AM)pmeenan Wrote:  What version of the agent are you running and what command line are you passing it? It shouldn't be trying to do anything with web page replay (wpr) though old versions of the code may have.

Hi Patrick,

Thank You for your response. Here are the requested details. I updated the WPT to latest version (2.18)
MAC Version 10.10.5 and node version v0.10.34

wptdriver.sh -m debug --browser android:568cf8dd --location Local-Android

Now I am getting the following error
I Feb_16_10:07:53.927 agent_main.js:396 Agent.app_.schedule.addErrback.job.agentError : Starting run 1/1 of job 160216_H2_2
D Feb_16_10:07:53.970 process_utils.js:487 unknown : Calling Make dirs
D Feb_16_10:07:53.971 process_utils.js:481 cb : Callback for Make dirs
D Feb_16_10:07:53.984 process_utils.js:487 unknown : Calling Clean video dir
D Feb_16_10:07:53.985 process_utils.js:481 cb : Callback for Clean video dir
D Feb_16_10:07:53.998 process_utils.js:487 unknown : Calling Tmp read
D Feb_16_10:07:53.999 process_utils.js:481 cb : Callback for Tmp read

D Feb_16_10:07:56.029 process_utils.js:327 ChildProcess.<anonymous> : stderr[28] 8 KB/s (20 bytes in 0.002s)
D Feb_16_10:07:56.031 process_utils.js:487 unknown : Calling Delete local hosts file
D Feb_16_10:07:56.031 process_utils.js:481 cb : Callback for Delete local hosts file
D Feb_16_10:07:56.060 process_utils.js:263 unknown : Exec with timeout(60000): adb -s 568cf8dd shell su -c 'echo x'
D Feb_16_10:07:56.104 process_utils.js:327 ChildProcess.<anonymous> : stdout[15] Unknown id: x
E Feb_16_10:07:56.131 wd_server.js:202 WebDriverServer.<anonymous> : Exception from "Run test": Error: Unexpected 'su' output: Unknown id: x
D Feb_16_10:07:56.132 wd_server.js:203 WebDriverServer.<anonymous> : Error: Unexpected 'su' output: Unknown id: x

at Adb.<anonymous> (/Users/vijayakumar_k/Documents/mobile/src/adb.js:140:17)
at /Users/vijayakumar_k/Documents/mobile/node_modules/selenium-webdriver/lib/goog/base.js:1178:15
at webdriver.promise.ControlFlow.runInNewFrame_ (/Users/vijayakumar_k/Documents/mobile/node_modules/selenium-webdriver/lib/webdriver/promise.js:1438:20)
at notify (/Users/vijayakumar_k/Documents/mobile/node_modules/selenium-webdriver/lib/webdriver/promise.js:328:12)
at notifyAll (/Users/vijayakumar_k/Documents/mobile/node_modules/selenium-webdriver/lib/webdriver/promise.js:297:7)
at fulfill (/Users/vijayakumar_k/Documents/mobile/node_modules/selenium-webdriver/lib/webdriver/promise.js:402:7)
at /Users/vijayakumar_k/Documents/mobile/node_modules/selenium-webdriver/lib/webdriver/promise.js:1305:10
at /Users/vijayakumar_k/Documents/mobile/node_modules/selenium-webdriver/lib/goog/base.js:1178:15
at webdriver.promise.ControlFlow.runInNewFrame_ (/Users/vijayakumar_k/Documents/mobile/node_modules/selenium-webdriver/lib/webdriver/promise.js:1438:20)
at notify (/Users/vijayakumar_k/Documents/mobile/node_modules/selenium-webdriver/lib/webdriver/promise.js:328:12)

==== async task ====
adb -s 568cf8dd shell su -c 'echo x'
at app.schedule (/Users/vijayakumar_k/Documents/mobile/src/process_utils.js:392:20)
at Object.exports.scheduleExec (/Users/vijayakumar_k/Documents/mobile/src/process_utils.js:262:14)
at Adb.command_ (/Users/vijayakumar_k/Documents/mobile/src/adb.js:73:24)
at Adb.adb (/Users/vijayakumar_k/Documents/mobile/src/adb.js:90:15)
at Adb.shell (/Users/vijayakumar_k/Documents/mobile/src/adb.js:107:15)
at Adb.<anonymous> (/Users/vijayakumar_k/Documents/mobile/src/adb.js:134:12)
at webdriver.promise.ControlFlow.runInNewFrame_ (/Users/vijayakumar_k/Documents/mobile/node_modules/selenium-webdriver/lib/webdriver/promise.js:1438:20)
at webdriver.promise.ControlFlow.runEventLoop_ (/Users/vijayakumar_k/Documents/mobile/node_modules/selenium-webdriver/lib/webdriver/promise.js:1303:8)
at wrapper [as _onTimeout] (timers.js:261:14)
==== async task ====
Check su
at app.schedule (/Users/vijayakumar_k/Documents/mobile/src/process_utils.js:392:20)
at Adb.formatSuArgs (/Users/vijayakumar_k/Documents/mobile/src/adb.js:131:20)
at Adb.su (/Users/vijayakumar_k/Documents/mobile/src/adb.js:163:15)
at BrowserAndroidChrome.<anonymous> (/Users/vijayakumar_k/Documents/mobile/src/browser_android_chrome.js:308:23)
at /Users/vijayakumar_k/Documents/mobile/node_modules/selenium-webdriver/lib/goog/base.js:1178:15
at webdriver.promise.ControlFlow.runInNewFrame_ (/Users/vijayakumar_k/Documents/mobile/node_modules/selenium-webdriver/lib/webdriver/promise.js:1438:20)
at notify (/Users/vijayakumar_k/Documents/mobile/node_modules/selenium-webdriver/lib/webdriver/promise.js:328:12)
at notifyAll (/Users/vijayakumar_k/Documents/mobile/node_modules/selenium-webdriver/lib/webdriver/promise.js:297:7)
at fulfill (/Users/vijayakumar_k/Documents/mobile/node_modules/selenium-webdriver/lib/webdriver/promise.js:402:7)
==== async task ====
Configure hosts file
at app.schedule (/Users/vijayakumar_k/Documents/mobile/src/process_utils.js:392:20)
at BrowserAndroidChrome.scheduleConfigureHostsFile_ (/Users/vijayakumar_k/Documents/mobile/src/browser_android_chrome.js:292:13)
at BrowserAndroidChrome.startBrowser (/Users/vijayakumar_k/Documents/mobile/src/browser_android_chrome.js:232:8)
at WebDriverServer.startChrome_ (/Users/vijayakumar_k/Documents/mobile/src/wd_server.js:245:17)
at WebDriverServer.runPageLoad_ (/Users/vijayakumar_k/Documents/mobile/src/wd_server.js:933:10)
at WebDriverServer.<anonymous> (/Users/vijayakumar_k/Documents/mobile/src/wd_server.js:605:12)
at webdriver.promise.ControlFlow.runInNewFrame_ (/Users/vijayakumar_k/Documents/mobile/node_modules/selenium-webdriver/lib/webdriver/promise.js:1438:20)
at webdriver.promise.ControlFlow.runEventLoop_ (/Users/vijayakumar_k/Documents/mobile/node_modules/selenium-webdriver/lib/webdriver/promise.js:1303:8)
at wrapper [as _onTimeout] (timers.js:261:14)
==== async task ====
Run test
at app.schedule (/Users/vijayakumar_k/Documents/mobile/src/process_utils.js:392:20)
at WebDriverServer.scheduleNoFault_ (/Users/vijayakumar_k/Documents/mobile/src/wd_server.js:201:20)
at WebDriverServer.runTest_ (/Users/vijayakumar_k/Documents/mobile/src/wd_server.js:601:15)
at WebDriverServer.connect (/Users/vijayakumar_k/Documents/mobile/src/wd_server.js:1041:8)
at WebDriverServer.<anonymous> (/Users/vijayakumar_k/Documents/mobile/src/wd_server.js:106:12)
at process.emit (events.js:98:17)
at handleMessage (child_process.js:322:10)
at Pipe.channel.onread (child_process.js:349:11)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Mobile Agent Setup in MAC - relayServer - vijay_nts - 02-17-2016 02:34 AM

Forum Jump:


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