clojure-android / lein-droid

A Leiningen plugin for building Clojure/Android projects
Eclipse Public License 1.0
645 stars 56 forks source link

Timeout issue in keyboard #170

Open mirudhubashini opened 4 years ago

mirudhubashini commented 4 years ago

@KazuCocoa PFB given log where u can see the keyboard issue.

15:01:18 V [HTTP] {"using":"id","value":"Search in Sent"} 1498 15:01:18 V [debug] [MJSONWP (84b5d116)] Calling AppiumDriver.findElement() with args: ["id","Search in Sent","84b5d116-76fd-4076-b2b4-d022711f6d52"] 1499 15:01:18 V [debug] [XCUITest] Executing command 'findElement' 1500 15:01:18 V [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id 1501 15:01:18 V [debug] [BaseDriver] Waiting up to 0 ms for condition 1502 15:01:18 V [debug] [XCUITest] Setting custom timeout to 60000 ms for 'findElement' command 1503 15:01:18 V [debug] [WD Proxy] Matched '/element' to command name 'findElement' 1504 15:01:18 V [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:5703/session/FC823CAC-7F77-444D-B217-1178D48ADA16/element] with body: {"using":"id","value":"Search in Sent"} 1505 15:01:19 V [debug] [WD Proxy] Got response with status 200: {"value":{"ELEMENT":"8C000000-0000-0000-3D01-000000000000"},"sessionId":"FC823CAC-7F77-444D-B217-1178D48ADA16","status":0} 1506 15:01:19 V [debug] [MJSONWP (84b5d116)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"8C000000-0000-0000-3D01-000000000000","ELEMENT":"8C000000-0000-0000-3D01-000000000000"} 1507 15:01:19 V [HTTP] <-- POST /wd/hub/session/84b5d116-76fd-4076-b2b4-d022711f6d52/element 200 723 ms - 199 1508 15:01:19 V [HTTP] 1509 15:01:19 V [HTTP] --> POST /wd/hub/session/84b5d116-76fd-4076-b2b4-d022711f6d52/element/8C000000-0000-0000-3D01-000000000000/value 1510 15:01:19 V [HTTP] {"id":"8C000000-0000-0000-3D01-000000000000","value":["20190926-203020Subject"]} 1511 15:01:19 V [debug] [MJSONWP (84b5d116)] Calling AppiumDriver.setValue() with args: [["20190926-203020Subject"],"8C000000-0000-0000-3D01-000000000000","84b5d116-76fd-4076-b2b4-d022711f6d52"] 1512 15:01:19 V [debug] [XCUITest] Executing command 'setValue' 1513 15:01:19 V [debug] [XCUITest] Setting custom timeout to 60000 ms for 'setValue' command 1514 15:01:19 V [debug] [WD Proxy] Matched '/element/8C000000-0000-0000-3D01-000000000000/value' to command name 'setValue' 1515 15:01:19 V [debug] [Protocol Converter] Added 'text' property "20190926-203020Subject" to 'setValue' request body 1516 15:01:19 V [debug] [WD Proxy] Proxying [POST /element/8C000000-0000-0000-3D01-000000000000/value] to [POST http://127.0.0.1:5703/session/FC823CAC-7F77-444D-B217-1178D48ADA16/element/8C000000-0000-0000-3D01-000000000000/value] with body: {"value":["2","0","1","9","0","9","2","6","-","2","0","3","0","2","0","S","u","b","j","e","c","t"],"text":"20190926-203020Subject"} 1517 15:01:23 V [debug] [WD Proxy] Got response with status 200: {"value":"Error Domain=XCTDaemonErrorDomain Code=14 \"Timed out after waiting 1.0s for KeyEventCompleted after sending event for '1'.\" UserInfo={NSLocalizedDescription=Timed out after waiting 1.0s for KeyEventCompleted after sending event for '1'.}","sessionId":"FC823CAC-7F77-444D-B217-1178D48ADA16","status":13} 1518 15:01:23 V [WD Proxy] Got an unexpected response: {"value":"Error Domain=XCTDaemonErrorDomain Code=14 \"Timed out after waiting 1.0s for KeyEventCompleted after sending event for '1'.\" UserInfo={NSLocalizedDescription=Timed out after waiting 1.0s for KeyEventCompleted after sending event for '1'.}","sessionId":"FC823CAC-7F77-444D-B217-1178D48AD... 1519 15:01:23 V [debug] [MJSONWP] Matched JSONWP error code 13 to UnknownError 1520 15:01:23 V [debug] [XCUITest] Setting custom timeout to 60000 ms for 'getAttribute' command 1521 15:01:23 V [debug] [WD Proxy] Matched '/element/8C000000-0000-0000-3D01-000000000000/attribute/type' to command name 'getAttribute' 1522 15:01:23 V [debug] [WD Proxy] Proxying [GET /element/8C000000-0000-0000-3D01-000000000000/attribute/type] to [GET http://127.0.0.1:5703/session/FC823CAC-7F77-444D-B217-1178D48ADA16/element/8C000000-0000-0000-3D01-000000000000/attribute/type] with no body 1523 15:02:23 V [debug] [iOSLog] Stopping iOS log capture 1524 15:02:23 V [Appium] Closing session, cause was 'Appium did not get any response from 'getAttribute' command in 60000 ms' 1525 15:02:23 V [Appium] Removing session 84b5d116-76fd-4076-b2b4-d022711f6d52 from our master session list 1526 15:02:23 V [XCUITest] Error: Appium did not get any response from 'getAttribute' command in 60000 ms 1527 15:02:23 V [XCUITest] at Object.wrappedLogger.errorAndThrow (/root/appium/appium/1.14.0/node_modules/appium/node_modules/appium-support/lib/logging.js:78:13) 1528 15:02:23 V [debug] [MJSONWP (84b5d116)] Encountered internal error running command: TimeoutError: Appium did not get any response from 'getAttribute' command in 60000 ms 1529 15:02:23 V [XCUITest] at XCUITestDriver.errorAndThrow [as proxyCommand] (/root/appium/appium/1.14.0/node_modules/appium/node_modules/appium-xcuitest-driver/lib/commands/proxy-helper.js:110:9) 1530 15:02:23 V [debug] [MJSONWP (84b5d116)] at XCUITestDriver.proxyCommand (/root/appium/appium/1.14.0/node_modules/appium/node_modules/appium-xcuitest-driver/lib/commands/proxy-helper.js:109:40) 1531 15:02:23 V [HTTP] <-- POST /wd/hub/session/84b5d116-76fd-4076-b2b4-d022711f6d52/element/8C000000-0000-0000-3D01-000000000000/value 500 63580 ms - 158 1532 15:02:23 V [HTTP] 1533 15:02:23 V [HTTP] --> POST /wd/hub/session/84b5d116-76fd-4076-b2b4-d022711f6d52/element/active 1534 15:02:23 V [HTTP] {} 1535 15:02:23 V [debug] [MJSONWP (84b5d116)] Encountered internal error running command: NoSuchDriverError: A session is either terminated or not started 1536 15:02:23 V [debug] [MJSONWP (84b5d116)] at asyncHandler (/root/appium/appium/1.14.0/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:298:15) 1537 15:02:23 V [debug] [MJSONWP (84b5d116)] at asyncHandler (/root/appium/appium/1.14.0/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:489:15) 1538 15:02:23 V [debug] [MJSONWP (84b5d116)] at Layer.handle [as handle_request] (/root/appium/appium/1.14.0/node_modules/appium/node_modules/express/lib/router/layer.js:95:5) 1539 15:02:23 V [debug] [MJSONWP (84b5d116)] at next (/root/appium/appium/1.14.0/node_modules/appium/node_modules/express/lib/router/route.js:137:13) 1540 15:02:23 V [debug] [MJSONWP (84b5d116)] at Route.dispatch (/root/appium/appium/1.14.0/node_modules/appium/node_modules/express/lib/router/route.js:112:3) 1541 15:02:23 V [debug] [MJSONWP (84b5d116)] at Layer.handle [as handle_request] (/root/appium/appium/1.14.0/node_modules/appium/node_modules/express/lib/router/layer.js:95:5) 1542 15:02:23 V [debug] [MJSONWP (84b5d116)] at /root/appium/appium/1.14.0/node_modules/appium/node_modules/express/lib/router/index.js:281:22 1543 15:02:23 V [debug] [MJSONWP (84b5d116)] at param (/root/appium/appium/1.14.0/node_modules/appium/node_modules/express/lib/router/index.js:354:14) 1544 15:02:23 V [debug] [MJSONWP (84b5d116)] at param (/root/appium/appium/1.14.0/node_modules/appium/node_modules/express/lib/router/index.js:365:14) 1545 15:02:23 V [debug] [MJSONWP (84b5d116)] at Function.process_params (/root/appium/appium/1.14.0/node_modules/appium/node_modules/express/lib/router/index.js:410:3) 1546 15:02:23 V [debug] [MJSONWP (84b5d116)] at next (/root/appium/appium/1.14.0/node_modules/appium/node_modules/express/lib/router/index.js:275:10) 1547 15:02:23 V [debug] [MJSONWP (84b5d116)] at logger (/root/appium/appium/1.14.0/node_modules/appium/node_modules/morgan/index.js:144:5) 1548 15:02:23 V [debug] [MJSONWP (84b5d116)] at Layer.handle [as handle_request] (/root/appium/appium/1.14.0/node_modules/appium/node_modules/express/lib/router/layer.js:95:5) 1549 15:02:23 V [debug] [MJSONWP (84b5d116)] at trim_prefix (/root/appium/appium/1.14.0/node_modules/appium/node_modules/express/lib/router/index.js:317:13) 1550 15:02:23 V [debug] [MJSONWP (84b5d116)] at /root/appium/appium/1.14.0/node_modules/appium/node_modules/express/lib/router/index.js:284:7 1551 15:02:23 V [debug] [MJSONWP (84b5d116)] at Function.process_params (/root/appium/appium/1.14.0/node_modules/appium/node_modules/express/lib/router/index.js:335:12) 1552 15:02:23 V [debug] [MJSONWP (84b5d116)] at next (/root/appium/appium/1.14.0/node_modules/appium/node_modules/express/lib/router/index.js:275:10) 1553 15:02:23 V [debug] [MJSONWP (84b5d116)] at /root/appium/appium/1.14.0/node_modules/appium/node_modules/body-parser/lib/read.js:130:5 1554 15:02:23 V [debug] [MJSONWP (84b5d116)] at invokeCallback (/root/appium/appium/1.14.0/node_modules/appium/node_modules/raw-body/index.js:224:16) 1555 15:02:23 V [debug] [MJSONWP (84b5d116)] at done (/root/appium/appium/1.14.0/node_modules/appium/node_modules/raw-body/index.js:213:7) 1556 15:02:23 V [debug] [MJSONWP (84b5d116)] at IncomingMessage.onEnd (/root/appium/appium/1.14.0/node_modules/appium/node_modules/raw-body/index.js:273:7) 1557 15:02:23 V [debug] [MJSONWP (84b5d116)] at IncomingMessage.emit (events.js:194:15) 1558 15:02:23 V [HTTP] <-- POST /wd/hub/session/84b5d116-76fd-4076-b2b4-d022711f6d52/element/active 404 44 ms - 131