Advertisement
AlexTrue1916

Untitled

Feb 3rd, 2025
29
0
15 hours
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 26.54 KB | None | 0 0
  1. [INFO] Wiremock is null
  2. [INFO] Wiremock start
  3. [INFO] Wiremock init client
  4. [INFO]
  5.  
  6. [INFO]  Core properties(Thread: main):
  7. [INFO]  proxy.host.uat:     127.0.0.1
  8. [INFO]  device.timeout.seconds:     1000
  9. [INFO]  downloading.build:  true
  10. [INFO]  appium.path.prod:   /opt/homebrew/bin/appium
  11. [INFO]  app.version.android.uat:    
  12. [INFO]  proxy.port.uat:     8085
  13. [INFO]  cache.dir:  {{TEMP}}/auto
  14. [INFO]  proxy.port.prod:    8080
  15. [INFO]  android.app.require:    7.0
  16. [INFO]  ios.app.require:    14.0
  17. [INFO]  app.version.ios.uat:    
  18. [INFO]  cache.decay.time:   720
  19. [INFO]  app.version.android.prod:   20.0.0.7389-gms
  20. [INFO]  app.platform:   Android
  21. [INFO]  context.wait.seconds:   30
  22. [INFO]  login.by:   phone->email->snils
  23. [INFO]  proxy.host.prod:    10.68.8.18
  24. [INFO]  implicitly.wait.seconds.uat:    10
  25. [INFO]  app.version.ios.prod:   20.3.0.5613
  26. [INFO]  env.name:   prod
  27. [INFO]  env.launch:     normal
  28. [INFO]  app.locale:     ru_RU
  29. [INFO]  appium.log.level:   error:error
  30. [INFO]  implicitly.wait.seconds.prod:   10
  31. [INFO]
  32.  
  33. [INFO] Удаление предыдущего билда
  34. [INFO] Execute the command rm ./apps/android_latest_build.apk
  35. [INFO] Command result:
  36.  
  37.  
  38. [INFO] Execute the command rm ./apps/Gosuslugi.app
  39. [INFO] Command result:
  40.  
  41.  
  42. [ERROR] Command execution failed:
  43. rm: ./apps/Gosuslugi.app: No such file or directory
  44. [INFO] Start downloading new builds!
  45. [INFO] Receiving downloading build URL attempt #1
  46. [INFO] Версия билда: 20.0.0.7389-gms
  47. [INFO] Id билда: [6095,6094]
  48. [INFO] Id билда Android без проверки на root: 6095
  49. [INFO] Информация о билде: {"app_name":"Gosuslugi-Android-Native","app_display_name":"Gosuslugi Android Native","app_os":"Android","app_icon_url":"https://appcenter-filemanagement-distrib3ede6f06e.azureedge.net/5f48499a-ba44-4856-aff8-6c0f6732f079/ic_launcher.png?sv=2019-07-07&sr=c&sig=6Sb3IQsT7lVN8smTCEzwCONnNq2YiwSnkB1iHZEw%2FU0%3D&se=2025-02-10T09%3A22%3A05Z&sp=r","is_external_build":false,"origin":"appcenter","id":6095,"version":"7389","short_version":"20.0.0.7389-gms","size":306716087,"min_os":"8.0","android_min_api_level":"26","device_family":null,"bundle_identifier":"ru.rostel","fingerprint":"1199f5e12263666229c34229f1d5ab21","uploaded_at":"2024-10-25T13:50:23.553Z","download_url":"https://appcenter-filemanagement-distrib2ede6f06e.azureedge.net/8eed12b9-9764-41ad-b338-9597df5b7abe/gosuslugi-app-gms-universal-20.0.0.7389.apk?sv=2019-07-07&sr=c&sig=6QTXQzxUVAySQrcUf7yTuo8i8EtVJ5HHxTEtNwTpzPg%3D&se=2025-02-04T13%3A36%3A56Z&sp=r","install_url":"https://appcenter-filemanagement-distrib2ede6f06e.azureedge.net/8eed12b9-9764-41ad-b338-9597df5b7abe/gosuslugi-app-gms-universal-20.0.0.7389.apk?sv=2019-07-07&sr=c&sig=6QTXQzxUVAySQrcUf7yTuo8i8EtVJ5HHxTEtNwTpzPg%3D&se=2025-02-04T13%3A36%3A56Z&sp=r","enabled":true,"fileExtension":"apk","release_notes":"releases_no_root/20.0.0/v20.0.0.7389:504176564adeaede1370c03e20ebb26e7c5afd92\n\nRelease APK\n\nVersion 20.0.0.7389\n\n","package_hashes":["ab7cd22897f4ffb70e94275974e56552f1e9443e8147dfb76b6d4cb54430436c"],"destinations":[{"destination_type":"group","id":"fb2fc14d-c5b1-4556-aede-cfde8656cb93","name":"rtl"},{"destination_type":"group","id":"383f374e-a96e-4001-8da7-14023bf60ebf","name":"etc"},{"destination_type":"group","id":"a5122545-6a4d-4b73-8363-24efe2c7838e","name":"FSSP"},{"destination_type":"group","id":"324d61a5-b884-4d04-ab2f-27e4c05e7bad","name":"vk_mini_app"}],"destination_type":"group","distribution_groups":[{"id":"fb2fc14d-c5b1-4556-aede-cfde8656cb93","name":"rtl"}]}
  50. com.jayway.jsonpath.PathNotFoundException: No results for path: $['secondary_download_url']
  51.     at com.jayway.jsonpath.internal.path.EvaluationContextImpl.getValue(EvaluationContextImpl.java:133)
  52.     at com.jayway.jsonpath.JsonPath.read(JsonPath.java:187)
  53.     at com.jayway.jsonpath.internal.JsonContext.read(JsonContext.java:102)
  54.     at com.jayway.jsonpath.internal.JsonContext.read(JsonContext.java:89)
  55.     at com.jayway.jsonpath.JsonPath.read(JsonPath.java:502)
  56.     at ru.rtlabs.gosuslugi.mobile.qa.common.AppCenter.getParameterFromBuildInfo(AppCenter.java:163)
  57.     at ru.rtlabs.gosuslugi.mobile.qa.common.AppCenter.getDownloadUrl(AppCenter.java:140)
  58.     at ru.rtlabs.gosuslugi.mobile.qa.common.AppCenter.isDownloadBuildUrlReceived(AppCenter.java:128)
  59.     at ru.rtlabs.gosuslugi.mobile.qa.common.AppCenter.downloadApp(AppCenter.java:71)
  60.     at ru.rtlabs.gosuslugi.mobile.qa.BaseTest.downloadAppAndPrepareEnvironmentIfNeeded(BaseTest.java:195)
  61.     at ru.rtlabs.gosuslugi.mobile.qa.BaseTest.globalSetup(BaseTest.java:187)
  62.     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  63.     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
  64.     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  65.     at java.base/java.lang.reflect.Method.invoke(Method.java:564)
  66.     at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
  67.     at org.testng.internal.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:61)
  68.     at org.testng.internal.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:366)
  69.     at org.testng.internal.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:320)
  70.     at org.testng.SuiteRunner.privateRun(SuiteRunner.java:327)
  71.     at org.testng.SuiteRunner.run(SuiteRunner.java:286)
  72.     at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
  73.     at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
  74.     at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218)
  75.     at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
  76.     at org.testng.TestNG.runSuites(TestNG.java:1069)
  77.     at org.testng.TestNG.run(TestNG.java:1037)
  78.     at com.intellij.rt.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:65)
  79.     at com.intellij.rt.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:105)
  80. [INFO] Receiving downloading build URL attempt #1 is SUCCESS!
  81. [INFO] Downloading build attempt #1
  82. [INFO] Загружаем файл по ссылке https://appcenter-filemanagement-distrib2ede6f06e.azureedge.net/8eed12b9-9764-41ad-b338-9597df5b7abe/gosuslugi-app-gms-universal-20.0.0.7389.apk?sv=2019-07-07&sr=c&sig=6QTXQzxUVAySQrcUf7yTuo8i8EtVJ5HHxTEtNwTpzPg%3D&se=2025-02-04T13%3A36%3A56Z&sp=r в ./apps/android_latest_build.apk
  83. [INFO] Downloading build attempt #1 is SUCCESS!
  84. [INFO] Execute the command zip -T ./apps/android_latest_build.apk
  85. [INFO] Command result:
  86. test of ./apps/android_latest_build.apk OK
  87.  
  88. [INFO] Проверка архива с приложением на целостность:
  89. Команда: zip -T ./apps/android_latest_build.apk
  90. Актуальный результат: test of ./apps/android_latest_build.apk OK
  91. Ожидаемый результат: test of ./apps/android_latest_build.apk OK
  92.  
  93. [INFO] Execute the command zipinfo -1 ./apps/android_latest_build.apk | grep AndroidManifest.xml
  94. [INFO] Command result:
  95. AndroidManifest.xml
  96.  
  97. [INFO] Проверка наличия в архиве с приложением файла андроид манифеста:
  98. Команда: zipinfo -1 ./apps/android_latest_build.apk | grep AndroidManifest.xml
  99. Актуальный результат: AndroidManifest.xml
  100. Ожидаемый результат: AndroidManifest.xml
  101.  
  102. [INFO]
  103.  
  104. [INFO] Device properties(Thread: main):
  105. [INFO]  device.clean.packages:  io.appium.uiautomator2.server;io.appium.settings;dev.ru.rostel
  106. [INFO]  app.port:   8084
  107. [INFO]  sdk.system.variable.name.prod:  ANDROID_SDK_ROOT
  108. [INFO]  device.name.uat:    newauto
  109. [INFO]  device.app.stop:    com.google.android.webview;com.android.chrome;org.chromium.webview_shell;com.google.android.webview
  110. [INFO]  androidInstallTimeout:  180000
  111. [INFO]  newCommandTimeout:  120000
  112. [INFO]  adb.permissions:    android.permission.WRITE_EXTERNAL_STORAGE;android.permission.CAMERA;android.permission.READ_EXTERNAL_STORAGE;android.permission.ACCESS_COARSE_LOCATION;android.permission.ACCESS_FINE_LOCATION;android.permission.ACCESS_BACKGROUND_LOCATION
  113. [INFO]  app.activity.prod:  ru.minsvyaz.coreproject.MainActivity
  114. [INFO]  app.pathToApk.prod:     ./apps/android_latest_build.apk
  115. [INFO]  udid:   emulator-5554
  116. [INFO]  app.name:   Госуслуги
  117. [INFO]  device.width:   720
  118. [INFO]  systemPort:     8201
  119. [INFO]  chromedriverPort:   8211
  120. [INFO]  app.pathToApk.uat:  ./apps/gosuslugi-app-gms-release_test.12.0.0.4413.apk
  121. [INFO]  sdk.system.variable.name.uat:   ANDROID_HOME
  122. [INFO]  app.package.prod:   ru.rostel
  123. [INFO]  mjpegServerPort:    8221
  124. [INFO]  app.package.uat:    dev.ru.rostel
  125. [INFO]  qr.path:    /emulator/resources/custom.png
  126. [INFO]  device.name.prod:   Pixel_5_API_35
  127. [INFO]  adb.exec.timeout:   40000
  128. [INFO]
  129.  
  130. [INFO] DeviceInfoEntity(Thread: main) {
  131. Properties={device.clean.packages=io.appium.uiautomator2.server;io.appium.settings;dev.ru.rostel, app.port=8084, sdk.system.variable.name.prod=ANDROID_SDK_ROOT, device.name.uat=newauto, device.app.stop=com.google.android.webview;com.android.chrome;org.chromium.webview_shell;com.google.android.webview, androidInstallTimeout=180000, newCommandTimeout=120000, adb.permissions=android.permission.WRITE_EXTERNAL_STORAGE;android.permission.CAMERA;android.permission.READ_EXTERNAL_STORAGE;android.permission.ACCESS_COARSE_LOCATION;android.permission.ACCESS_FINE_LOCATION;android.permission.ACCESS_BACKGROUND_LOCATION, app.activity.prod=ru.minsvyaz.coreproject.MainActivity, app.pathToApk.prod=./apps/android_latest_build.apk, udid=emulator-5554, app.name=Госуслуги, device.width=720, systemPort=8201, chromedriverPort=8211, app.pathToApk.uat=./apps/gosuslugi-app-gms-release_test.12.0.0.4413.apk, sdk.system.variable.name.uat=ANDROID_HOME, app.package.prod=ru.rostel, mjpegServerPort=8221, app.package.uat=dev.ru.rostel, qr.path=/emulator/resources/custom.png, device.name.prod=Pixel_5_API_35, adb.exec.timeout=40000},
  132. DesiredCapabilities=Capabilities {adbExecTimeout: 40000, androidInstallTimeout: 180000, app: ./apps/android_latest_build..., appium:ignoreHiddenApiPolicyError: true, autoGrantPermissions: false, automationName: uiautomator2, avd: Pixel_5_API_35, chromedriverChromeMappingFile: ./src/main/resources/chrome..., chromedriverPort: 8211, disableAndroidWatchers: true, ensureWebviewsHavePages: true, language: ru, locale: RU, mjpegServerPort: 8221, newCommandTimeout: 120000, resetKeyboard: true, systemPort: 8201, udid: emulator-5554}
  133. }
  134. 2025-02-03 13:38:34:912 - [Appium] Welcome to Appium v1.22.0
  135. 2025-02-03 13:38:34:913 - [Appium] Non-default server args:
  136. 2025-02-03 13:38:34:914 - [Appium]   port: 8230
  137. 2025-02-03 13:38:34:914 - [Appium]   loglevel: info
  138. 2025-02-03 13:38:34:914 - [Appium]   logTimestamp: true
  139. 2025-02-03 13:38:34:914 - [Appium]   relaxedSecurityEnabled: true
  140. 2025-02-03 13:38:34:914 - [Appium]   allowInsecure: {
  141. 2025-02-03 13:38:34:914 - [Appium]     0: get_system_logs
  142. 2025-02-03 13:38:34:914 - [Appium]   }
  143. 2025-02-03 13:38:34:925 - [Appium] Appium REST http interface listener started on 0.0.0.0:8230
  144. 2025-02-03 13:38:35:122 - [HTTP] --> GET /wd/hub/status
  145. 2025-02-03 13:38:35:122 - [HTTP] {}
  146. 2025-02-03 13:38:35:131 - [HTTP] <-- GET /wd/hub/status 200 6 ms - 68
  147. 2025-02-03 13:38:35:131 - [HTTP]
  148. [INFO] Execute the command adb devices
  149. [INFO] Command result:
  150. List of devices attached
  151.  
  152.  
  153. [INFO] Start emulator command: [/Users/aleksandr.dolgikh/Library/Android/sdk/emulator/emulator, -avd, Pixel_5_API_35, -no-audio, -no-boot-anim, -no-snapshot-save, -gpu, host, -accel, on]
  154. [INFO] Execute the command adb devices
  155. [INFO] Command result:
  156. List of devices attached
  157.  
  158.  
  159. [INFO] Execute the command adb devices
  160. [INFO] Command result:
  161. List of devices attached
  162.  
  163.  
  164. [INFO] Execute the command adb devices
  165. [INFO] Command result:
  166. List of devices attached
  167. emulator-5554   offline
  168.  
  169.  
  170. [INFO] Execute the command adb devices
  171. [INFO] Command result:
  172. List of devices attached
  173. emulator-5554   offline
  174.  
  175.  
  176. [INFO] Execute the command adb devices
  177. [INFO] Command result:
  178. List of devices attached
  179. emulator-5554   offline
  180.  
  181.  
  182. [INFO] Execute the command adb devices
  183. [INFO] Command result:
  184. List of devices attached
  185. emulator-5554   offline
  186.  
  187.  
  188. [INFO] Execute the command adb devices
  189. [INFO] Command result:
  190. List of devices attached
  191. emulator-5554   offline
  192.  
  193.  
  194. [INFO] Execute the command adb devices
  195. [INFO] Command result:
  196. List of devices attached
  197. emulator-5554   offline
  198.  
  199.  
  200. [INFO] Execute the command adb devices
  201. [INFO] Command result:
  202. List of devices attached
  203. emulator-5554   device
  204.  
  205.  
  206. [INFO] Execute the command adb -s emulator-5554 shell getprop sys.boot_completed
  207. [INFO] Command result:
  208.  
  209.  
  210. [INFO] Execute the command adb -s emulator-5554 shell getprop sys.boot_completed
  211. [INFO] Command result:
  212.  
  213.  
  214. [INFO] Execute the command adb -s emulator-5554 shell getprop sys.boot_completed
  215. [INFO] Command result:
  216.  
  217.  
  218. [INFO] Execute the command adb -s emulator-5554 shell getprop sys.boot_completed
  219. [INFO] Command result:
  220.  
  221.  
  222. [INFO] Execute the command adb -s emulator-5554 shell getprop sys.boot_completed
  223. [INFO] Command result:
  224.  
  225.  
  226. [INFO] Execute the command adb -s emulator-5554 shell getprop sys.boot_completed
  227. [INFO] Command result:
  228.  
  229.  
  230. [INFO] Execute the command adb -s emulator-5554 shell getprop sys.boot_completed
  231. [INFO] Command result:
  232.  
  233.  
  234. [INFO] Execute the command adb -s emulator-5554 shell getprop sys.boot_completed
  235. [INFO] Command result:
  236.  
  237.  
  238. [INFO] Execute the command adb -s emulator-5554 shell getprop sys.boot_completed
  239. [INFO] Command result:
  240.  
  241.  
  242. [INFO] Execute the command adb -s emulator-5554 shell getprop sys.boot_completed
  243. [INFO] Command result:
  244. 1
  245.  
  246. [INFO] Execute the command /Users/aleksandr.dolgikh/Library/Android/sdk/platform-tools/adb -s emulator-5554 push /etc/hosts /system/etc/hosts
  247. [INFO] Command result:
  248.  
  249.  
  250. [ERROR] Command execution failed:
  251. /etc/hosts: 1 file pushed, 0 skipped. 0.6 MB/s (630 bytes in 0.001s)
  252. adb: error: failed to copy '/etc/hosts' to '/system/etc/hosts': remote couldn't create file: Read-only file system
  253. [INFO] /etc/hosts: 1 file pushed, 0 skipped. 0.6 MB/s (630 bytes in 0.001s)
  254. adb: error: failed to copy '/etc/hosts' to '/system/etc/hosts': remote couldn't create file: Read-only file system
  255. [INFO] Execute the command /Users/aleksandr.dolgikh/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell dumpsys | grep -A18 "Package \[com.google.android.webview\]"
  256. [INFO] Command result:
  257.   Package [com.google.android.webview] (d479ebb):
  258.     appId=10163
  259.     pkg=Package{97dbfd8 com.google.android.webview}
  260.     cod...
  261.  
  262. [INFO] Download file from https://googlechromelabs.github.io/chrome-for-testing/LATEST_RELEASE_124
  263. [INFO] File downloaded successfully
  264. [ERROR] Error downloading file!
  265. java.io.FileNotFoundException: https://googlechromelabs.github.io/124.0.6367.207/chromedriver_mac64.zip
  266.     at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1928)
  267.     at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1528)
  268.     at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224)
  269.     at java.base/java.net.URL.openStream(URL.java:1167)
  270.     at ru.rtlabs.gosuslugi.mobile.qa.helpers.Utils.loadURL(Utils.java:283)
  271.     at ru.rtlabs.gosuslugi.mobile.qa.common.ChromeDriverHelper.getChromeDriverFile(ChromeDriverHelper.java:89)
  272.     at ru.rtlabs.gosuslugi.mobile.qa.common.ChromeDriverHelper.getChromeDriverFileForChromeVersion(ChromeDriverHelper.java:26)
  273.     at ru.rtlabs.gosuslugi.mobile.qa.config.devicesInfo.desiredCapabilities.DesiredCapabilitiesManagerAndroid.getChromeDriverExecutablePath(DesiredCapabilitiesManagerAndroid.java:57)
  274.     at ru.rtlabs.gosuslugi.mobile.qa.config.devicesInfo.desiredCapabilities.DesiredCapabilitiesManagerAndroid.setChromeDriverExecutableCapability(DesiredCapabilitiesManagerAndroid.java:45)
  275.     at ru.rtlabs.gosuslugi.mobile.qa.BaseTest.updateDesiredCapabilitiesAndroid(BaseTest.java:329)
  276.     at ru.rtlabs.gosuslugi.mobile.qa.BaseTest.setUpEmulator(BaseTest.java:296)
  277.     at ru.rtlabs.gosuslugi.mobile.qa.common.ActionsByEnv.execFuncByPlatform(ActionsByEnv.java:40)
  278.     at ru.rtlabs.gosuslugi.mobile.qa.BaseTest.startDevice(BaseTest.java:280)
  279.     at ru.rtlabs.gosuslugi.mobile.qa.BaseTest.androidTest(BaseTest.java:234)
  280.     at ru.rtlabs.gosuslugi.mobile.qa.common.ActionsByEnv.execFuncByPlatform(ActionsByEnv.java:40)
  281.     at ru.rtlabs.gosuslugi.mobile.qa.BaseTest.setUp(BaseTest.java:224)
  282.     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  283.     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
  284.     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  285.     at java.base/java.lang.reflect.Method.invoke(Method.java:564)
  286.     at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
  287.     at org.testng.internal.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:61)
  288.     at org.testng.internal.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:366)
  289.     at org.testng.internal.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:320)
  290.     at org.testng.internal.TestInvoker.runConfigMethods(TestInvoker.java:701)
  291.     at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:527)
  292.     at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174)
  293.     at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
  294.     at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:822)
  295.     at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147)
  296.     at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
  297.     at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
  298.     at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
  299.     at org.testng.TestRunner.privateRun(TestRunner.java:764)
  300.     at org.testng.TestRunner.run(TestRunner.java:585)
  301.     at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
  302.     at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
  303.     at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
  304.     at org.testng.SuiteRunner.run(SuiteRunner.java:286)
  305.     at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
  306.     at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
  307.     at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218)
  308.     at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
  309.     at org.testng.TestNG.runSuites(TestNG.java:1069)
  310.     at org.testng.TestNG.run(TestNG.java:1037)
  311.     at com.intellij.rt.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:65)
  312.     at com.intellij.rt.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:105)
  313.  
  314. java.lang.RuntimeException: Error getting file from https://googlechromelabs.github.io/124.0.6367.207/chromedriver_mac64.zip
  315.  
  316.     at ru.rtlabs.gosuslugi.mobile.qa.helpers.Utils.loadURL(Utils.java:289)
  317.     at ru.rtlabs.gosuslugi.mobile.qa.common.ChromeDriverHelper.getChromeDriverFile(ChromeDriverHelper.java:89)
  318.     at ru.rtlabs.gosuslugi.mobile.qa.common.ChromeDriverHelper.getChromeDriverFileForChromeVersion(ChromeDriverHelper.java:26)
  319.     at ru.rtlabs.gosuslugi.mobile.qa.config.devicesInfo.desiredCapabilities.DesiredCapabilitiesManagerAndroid.getChromeDriverExecutablePath(DesiredCapabilitiesManagerAndroid.java:57)
  320.     at ru.rtlabs.gosuslugi.mobile.qa.config.devicesInfo.desiredCapabilities.DesiredCapabilitiesManagerAndroid.setChromeDriverExecutableCapability(DesiredCapabilitiesManagerAndroid.java:45)
  321.     at ru.rtlabs.gosuslugi.mobile.qa.BaseTest.updateDesiredCapabilitiesAndroid(BaseTest.java:329)
  322.     at ru.rtlabs.gosuslugi.mobile.qa.BaseTest.setUpEmulator(BaseTest.java:296)
  323.     at ru.rtlabs.gosuslugi.mobile.qa.common.ActionsByEnv.execFuncByPlatform(ActionsByEnv.java:40)
  324.     at ru.rtlabs.gosuslugi.mobile.qa.BaseTest.startDevice(BaseTest.java:280)
  325.     at ru.rtlabs.gosuslugi.mobile.qa.BaseTest.androidTest(BaseTest.java:234)
  326.     at ru.rtlabs.gosuslugi.mobile.qa.common.ActionsByEnv.execFuncByPlatform(ActionsByEnv.java:40)
  327.     at ru.rtlabs.gosuslugi.mobile.qa.BaseTest.setUp(BaseTest.java:224)
  328.     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  329.     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
  330.     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  331.     at java.base/java.lang.reflect.Method.invoke(Method.java:564)
  332.     at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
  333.     at org.testng.internal.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:61)
  334.     at org.testng.internal.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:366)
  335.     at org.testng.internal.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:320)
  336.     at org.testng.internal.TestInvoker.runConfigMethods(TestInvoker.java:701)
  337.     at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:527)
  338.     at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174)
  339.     at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
  340.     at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:822)
  341.     at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147)
  342.     at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
  343.     at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
  344.     at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
  345.     at org.testng.TestRunner.privateRun(TestRunner.java:764)
  346.     at org.testng.TestRunner.run(TestRunner.java:585)
  347.     at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
  348.     at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
  349.     at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
  350.     at org.testng.SuiteRunner.run(SuiteRunner.java:286)
  351.     at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
  352.     at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
  353.     at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218)
  354.     at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
  355.     at org.testng.TestNG.runSuites(TestNG.java:1069)
  356.     at org.testng.TestNG.run(TestNG.java:1037)
  357.     at com.intellij.rt.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:65)
  358.     at com.intellij.rt.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:105)
  359. Caused by: java.io.FileNotFoundException: https://googlechromelabs.github.io/124.0.6367.207/chromedriver_mac64.zip
  360.     at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1928)
  361.     at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1528)
  362.     at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224)
  363.     at java.base/java.net.URL.openStream(URL.java:1167)
  364.     at ru.rtlabs.gosuslugi.mobile.qa.helpers.Utils.loadURL(Utils.java:283)
  365.     ... 42 more
  366.  
  367.  
  368. java.lang.NullPointerException: Cannot invoke "io.appium.java_client.AppiumDriver.getContext()" because the return value of "java.lang.ThreadLocal.get()" is null
  369.  
  370.     at ru.rtlabs.gosuslugi.mobile.qa.common.ContextHelper.isNativeContext(ContextHelper.java:155)
  371.     at ru.rtlabs.gosuslugi.mobile.qa.pages.BasePage.isNeedSwapContext(BasePage.java:133)
  372.     at ru.rtlabs.gosuslugi.mobile.qa.pages.BasePage.setContext(BasePage.java:127)
  373.     at ru.rtlabs.gosuslugi.mobile.qa.pages.BasePage.<init>(BasePage.java:122)
  374.     at ru.rtlabs.gosuslugi.mobile.qa.pages.BasePage.<init>(BasePage.java:117)
  375.     at ru.rtlabs.gosuslugi.mobile.qa.pages.main.MainPage.<init>(MainPage.java:20)
  376.     at ru.rtlabs.gosuslugi.mobile.qa.steps.main.MainSteps.<init>(MainSteps.java:44)
  377.     at ru.rtlabs.gosuslugi.mobile.qa.sanityProd.sanity.BaseSanityTests.beforeTest(BaseSanityTests.java:53)
  378.     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  379.     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
  380.     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  381.     at java.base/java.lang.reflect.Method.invoke(Method.java:564)
  382.     at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
  383.     at org.testng.internal.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:61)
  384.     at org.testng.internal.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:366)
  385.     at org.testng.internal.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:320)
  386.     at org.testng.internal.TestInvoker.runConfigMethods(TestInvoker.java:701)
  387.     at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:527)
  388.     at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174)
  389.     at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
  390.     at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:822)
  391.     at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147)
  392.     at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
  393.     at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
  394.     at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
  395.     at org.testng.TestRunner.privateRun(TestRunner.java:764)
  396.     at org.testng.TestRunner.run(TestRunner.java:585)
  397.     at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
  398.     at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
  399.     at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
  400.     at org.testng.SuiteRunner.run(SuiteRunner.java:286)
  401.     at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
  402.     at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
  403.     at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218)
  404.     at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
  405.     at org.testng.TestNG.runSuites(TestNG.java:1069)
  406.     at org.testng.TestNG.run(TestNG.java:1037)
  407.     at com.intellij.rt.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:65)
  408.     at com.intellij.rt.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:105)
  409.  
  410.  
  411. Test ignored.
  412. [INFO] Thread: main; @AfterMethod start.
  413. driver: null
  414. [INFO] Thread: main; TestContext.clear(); start
  415. [INFO] Освободился пользователь после теста(Thread: main):
  416. Пользователь null
  417. [INFO] Список занятых пользователей после освобождения после теста(Thread: main):
  418. SynchroList{list=[]}
  419. [INFO] Thread: main; TestContext.clear(); end
  420. [INFO] Execute the command adb -s emulator-5554 emu kill
  421. [INFO] Command result:
  422. OK: killing emulator, bye bye
  423. OK
  424.  
  425. 2025-02-03 13:39:34:364 - [HTTP] --> GET /wd/hub/status
  426. 2025-02-03 13:39:34:366 - [HTTP] {}
  427. 2025-02-03 13:39:34:373 - [HTTP] <-- GET /wd/hub/status 200 8 ms - 68
  428. 2025-02-03 13:39:34:373 - [HTTP]
  429.  
  430. ===============================================
  431. Default Suite
  432. Total tests run: 1, Passes: 0, Failures: 0, Skips: 1
  433. Configuration Failures: 2, Skips: 0
  434. ===============================================
  435.  
  436.  
  437. Process finished with exit code 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement