Hi
I'm getting random errors when starting a session with appium. Usually it happens when calling the timeouts command just after creating the session.
Using the appium 2.5.1 with lastest version of this plugins:
[Appium] Welcome to Appium v2.5.1
[Appium] Non-default server args:
[Appium] { keepAliveTimeout: 800,
[Appium] usePlugins: [ 'device-farm', 'appium-dashboard' ],
Error log:
6347348-[XCUITestDriver@a106 (5a852975)] Cached the protocol value 'W3C' for the new session 5a852975-f202-4bba-ba63-6fda4abab149
6347349-[XCUITestDriver@a106 (5a852975)] Responding to client with driver.createSession() result: {"capabilities":{"webStorageEnabled":false,"locationContextEnabled":false,"browserName":"","platform":"MAC","javascriptEnabled":true,"databaseEnabled":false,"takesScreenshot":true,"networkConnectionEnabled":false,"dashboard:name":"114-AUTs. Pin2Bankia. Psd2Postlogin Error de datos y firmar OK hasta dashboard","platformName":"IOS","automationName":"XCuiTest","forceAppLaunch":true,"app":"/tmp/qamigo/downloads/564c265dd0e81de36e632cdf72411265.ipa","noReset":true,"shouldTerminateApp":true,"eventTimings":true,"clearDeviceLogsOnStart":true,"nativeWebScreenshot":true,"udid":"00008030-001D09C43463802E","deviceName":"iPhone SE (2)","platformVersion":"17.3.1","wdaLocalPort":58884,"mjpegServerPort":58885,"derivedDataPath":"/Users/jenkins/Library/Developer/Xcode/DerivedData/WebDriverAgent-00008030-001D09C43463802E"}}
6347350-[HTTP] <-- POST /session 200 13767 ms - 877
6347351-[HTTP]
6347352-[HTTP] --> POST /session/5a852975-f202-4bba-ba63-6fda4abab149/timeouts
6347353-[HTTP] {"implicit":500}
6347354-[device-farm-main] Updating lastCmdExecutedAt for device 00008030-001D09C43463802E in session 5a852975-f202-4bba-ba63-6fda4abab149
6347355-[XCUITestDriver@a106 (5a852975)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,500,"5a852975-f202-4bba-ba63-6fda4abab149"]
6347356-[AppiumDriver@fd9e] Clearing new command timeout pre-emptively since plugin(s) will handle this command
6347357-[AppiumDriver@fd9e] Plugins which can handle cmd 'timeouts': device-farm,appium-dashboard
6347358-[AppiumDriver@fd9e] Plugin appium-dashboard is now handling cmd 'timeouts'
6347359-[AppiumDriver@fd9e] Command 'timeouts' was *not* handled by the following behaviours or plugins, even though they were registered to handle it: ["default","device-farm"]. The command *was* handled by these: ["appium-dashboard"].
6347360-[AppiumDriver@fd9e] Restarting new command timeout via umbrella driver since plugin did not allow default handler to execute
6347361:[XCUITestDriver@a106 (5a852975)] Encountered internal error running command: SQLITE_ERROR: unrecognized token: "' AssetSignature = "MIIVIgYJKoZIhvcNAQcCoIIVEzCCFQ8CAQMxDTALBglghkgBZQMEAgEwCwYJKoZIhvcNAQcBoIIIYzCCAywwggLToAMCAQICCDDa+p0dunLbMAoGCCqGSM49BAMCMHIxJjAkBgNVBAMMHUFwcGxlIFN5c3RlbSBJbnRlZ3JhdGlvbiBDQSA1MSYwJAYDVQQLDB1BcHBsZSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTETMBEGA1UECgwKQXBwbGUgSW5jLjELMAkGA1UEBhMCVVMwHhcNMjMwMTI2MjMxNTE3WhcNMjQwMjI1MjMxNTE2WjBCMR4wHAYDVQQDDBVBc3NldCBSZWNlaXB0IFNpZ25pbmcxEzARBgNVBAoMCkFwcGxlIEluYy4xCzAJBgNVBAYTAlVTMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEKZ1slvSfDjEqc4mmpBJLzRXu8AagbQrbvxpUg6/7bvmJ6NbpquXZaseQTHD1paF0IugNXbJckfmigmCbNjj47aOCAYEwggF9MAwGA1UdEwEB/wQCMAAwHwYDVR0jBBgwFoAUGGmk+b2NQ7xc7+IJ7/QLOiNp3nQwQQYIKwYBBQUHAQEENTAzMDEGCCsGAQUFBzABhiVodHRwOi8vb2NzcC5hcHBsZS5jb20vb2NzcDAzLWFzaWNhNTAxMIGWBgNVHSAEgY4wgYswgYgGCSqGSIb3Y2QFATB7MHkGCCsGAQUFBwICMG0Ma1RoaXMgY2VydGlmaWNhdGUgaXMgdG8gYmUgdXNlZCBleGN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ITestDriver@a106 (5a852975)] Error:
6347363-[XCUITestDriver@a106 (5a852975)] at Database.<anonymous> (/Users/jenkins/.appium/node_modules/appium-dashboard/node_modules/sequelize/src/dialects/sqlite/query.js:236:27)
6347364-[XCUITestDriver@a106 (5a852975)] at /Users/jenkins/.appium/node_modules/appium-dashboard/node_modules/sequelize/src/dialects/sqlite/query.js:234:50
6347365-[XCUITestDriver@a106 (5a852975)] at new Promise (<anonymous>)
6347366-[XCUITestDriver@a106 (5a852975)] at Query.run (/Users/jenkins/.appium/node_modules/appium-dashboard/node_modules/sequelize/src/dialects/sqlite/query.js:234:12)
6347367-[XCUITestDriver@a106 (5a852975)] at /Users/jenkins/.appium/node_modules/appium-dashboard/node_modules/sequelize/src/sequelize.js:650:28
6347368-[XCUITestDriver@a106 (5a852975)] at processTicksAndRejections (node:internal/process/task_queues:95:5)
6347369-[XCUITestDriver@a106 (5a852975)] at SQLiteQueryInterface.bulkInsert (/Users/jenkins/.appium/node_modules/appium-dashboard/node_modules/sequelize/src/dialects/abstract/query-interface.js:881:21)
6347370-[XCUITestDriver@a106 (5a852975)] at recursiveBulkCreate (/Users/jenkins/.appium/node_modules/appium-dashboard/node_modules/sequelize/src/model.js:2851:25)
6347371-[XCUITestDriver@a106 (5a852975)] at Function.bulkCreate (/Users/jenkins/.appium/node_modules/appium-dashboard/node_modules/sequelize/src/model.js:2977:12)
6347372-[HTTP] <-- POST /session/5a852975-f202-4bba-ba63-6fda4abab149/timeouts 500 216 ms - 10820
6347373-[HTTP]
6347374-[XCUITestDriver@c153 (51263b35)] Got response with status 200: {"value":null,"sessionId":"01F6AAEC-86D2-4BBF-BD02-AAF5193FA19E"}
6347375-[HTTP] --> GET /session/5a852975-f202-4bba-ba63-6fda4abab149/screenshot
6347376-[HTTP] {}
Hi I'm getting random errors when starting a session with appium. Usually it happens when calling the timeouts command just after creating the session.
Using the appium 2.5.1 with lastest version of this plugins:
Error log: