Skip to content

Instantly share code, notes, and snippets.

View ki4070ma's full-sized avatar
🐍
Python

Mori Atsushi ki4070ma

🐍
Python
View GitHub Profile
[2020-03-20T13:12:51,689][WARN ][o.e.c.c.ClusterFormationFailureHelper] [d903df994948] master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and [cluster.initial_master_nodes] is empty on this node: have discovered [{d903df994948}{XtUtoUG8SiaRbeA6SjgatA}{xFeAynkPQ0u29ilw5o0GwA}{172.22.0.4}{172.22.0.4:9300}{dilm}{ml.machine_memory=8046338048, xpack.installed=true, ml.max_open_jobs=20}, {16d453ad81e3}{9vinHkuQR0m8cQuQCewaSQ}{h3tkLnPVQzmn5A81tMQmSA}{172.22.0.3}{172.22.0.3:9300}{dilm}{ml.machine_memory=8046338048, ml.max_open_jobs=20, xpack.installed=true}, {e502c8d67fa9}{qI2My5vVR0-R9VFS52nfgw}{itWpqDkhRRq_bhnjshi-KQ}{172.22.0.2}{172.22.0.2:9300}{dilm}{ml.machine_memory=8046338048, ml.max_open_jobs=20, xpack.installed=true}]; discovery will continue using [172.22.0.3:9300, 172.22.0.2:9300] from hosts providers and [{d903df994948}{XtUtoUG8SiaRbeA6SjgatA}{xFeAynkPQ0u29ilw5o0GwA}{172.22.0.4}{172.22.0.4:9300}{dilm}{ml.machine_memory=8046338048, xpack.installed=true, ml.max_open
nstalling application...
[Appium] Welcome to Appium v1.14.2
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> HEAD /wd/hub/status
[HTTP] {}
[debug] [GENERIC] Calling AppiumDriver.getStatus() with args: []
[debug] [GENERIC] Responding to client with driver.getStatus() result: {"build":{"version":"1.14.2"}}
[HTTP] <-- HEAD /wd/hub/status 200 5 ms - 57
[HTTP]
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"firstMatch":[{"platformName":"Android","appium:deviceName":"Android Emulator","appium:newCommandTimeout":240,"appium:automationName":"Espresso","appium:uiautomator2ServerInstallTimeout":120000,"appium:adbExecTimeout":120000,"appium:app":"/Users/atsushimori/github/ki4070ma/python-client/test/apps/ApiDemos-debug.apk.zip"}]},"desiredCapabilities":{"platformName":"Android","deviceName":"Android Emulator","newCommandTimeout":240,"automationName":"Espresso","uiautomator2ServerInstallTimeout":120000,"adbExecTimeout":120000,"app":"/Users/atsushimori/github/ki4070ma/python-client/test/apps/ApiDemos-debug.apk.zip"}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","deviceName":"Android Emulator","newCommandTimeout":240,"automationName":"Espresso","uiautomator2ServerInstallTimeout":120000,"adbExecTimeout":120000,"app":"/Users/atsushimori/github/ki4070ma/python-client/test/apps/ApiDemos-debug.apk.zip"},null,{"firstMatch":[{"platformName":"Android","appium:d
<?xml version="1.0" encoding="UTF-8"?><AppiumAUT><XCUIElementTypeApplication type="XCUIElementTypeApplication" name="UICatalog" label="UICatalog" enabled="true" visible="true" x="0" y="0" width="320" height="568">
<XCUIElementTypeWindow type="XCUIElementTypeWindow" enabled="true" visible="true" x="0" y="0" width="320" height="568">
<XCUIElementTypeOther type="XCUIElementTypeOther" enabled="true" visible="true" x="0" y="0" width="320" height="568">
<XCUIElementTypeNavigationBar type="XCUIElementTypeNavigationBar" name="UICatalog" enabled="true" visible="true" x="0" y="20" width="320" height="44">
<XCUIElementTypeStaticText type="XCUIElementTypeStaticText" value="UICatalog" name="UICatalog" label="UICatalog" enabled="true" visible="true" x="120" y="32" width="80" height="21"/>
</XCUIElementTypeNavigationBar>
<XCUIElementTypeOther type="XCUIElementTypeOther" enabled="true" visible="true" x="0" y="0" width="320" height="568">
<XCUIElementTypeOther type="XCUIElementTypeOther
@ki4070ma
ki4070ma / appium_logs
Created July 7, 2019 14:25
Appium log : cannot set altitude by setlocation
```
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"firstMatch":[{"platformName":"Android","appium:deviceName":"Android","appium:app":"/Users/atsushimori/github/ki4070ma/appium-sample/mobile/app_apidemo/ApiDemos-debug.apk","appium:automationName":"uiautomator2"}]},"desiredCapabilities":{"platformName":"Android","deviceName":"Android","app":"/Users/atsushimori/github/ki4070ma/appium-sample/mobile/app_apidemo/ApiDemos-debug.apk","automationName":"uiautomator2"}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","deviceName":"Android","app":"/Users/atsushimori/github/ki4070ma/appium-sample/mobile/app_apidemo/ApiDemos-debug.apk","automationName":"uiautomator2"},null,{"firstMatch":[{"platformName":"Android","appium:deviceName":"Android","appium:app":"/Users/atsushimori/github/ki4070ma/appium-sample/mobile/app_apidemo/ApiDemos-debug.apk","appium:automationName":"uiautomator2"}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1562509348101 (23:22:28 GMT+09
@ki4070ma
ki4070ma / deepcopy_fail_log_py2
Created May 12, 2019 03:55
Deepcopy fail log at python2
```
➜ android git:(fix-test-ime-multiaction) ✗ python2 multi_action_tests_tmp.py
test_driver_multi_tap (__main__.MultiActionTests) ... ERROR
======================================================================
ERROR: test_driver_multi_tap (__main__.MultiActionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "multi_action_tests_tmp.py", line 58, in test_driver_multi_tap
self.driver.tap(positions)
@ki4070ma
ki4070ma / appium_logs.md
Created April 28, 2019 13:19
appium_logs

Terminal log

➜  mobile git:(master) ✗ python SampleAndroidTest.py
test_01_test_name (__main__.SimpleTest) ... ERROR

======================================================================
ERROR: test_01_test_name (__main__.SimpleTest)
----------------------------------------------------------------------
Traceback (most recent call last):