t.me/atinfo_chat Telegram группа по автоматизации тестирования

[SEVERE]: Timed out receiving message from renderer: 9.999

selene
java
webdriver
Теги: #<Tag:0x00007f9c4d7dd3b8> #<Tag:0x00007f9c4d7dd160> #<Tag:0x00007f9c4d7dcdf0>

(Яна Телегина) #1

Локально - тесты собираются.
Захожу на удаленную машину - запуская собственноручно там тесты - все тесты проходят.
Собираю через tc - ошибка [17:32:22] [tests:tests] [1555338742.123][SEVERE]: Timed out receiving message from renderer: 9.999

Посмотрела рекомендации из походих тем - не помогает.
Что это за ошибка и из-за чего она появляется.

chromedriverVersion: 2.46.628402
версия браузера Версия 73.0.3683.103 (Официальная сборка), (32 бит)
selenide 5.2.0


(Vasiliy Rakshin) #2

Попробуйте этот драйвер - https://chromedriver.storage.googleapis.com/index.html?path=73.0.3683.68/


(Яна Телегина) #3

теперь сборка просто зависает на этом :
[18:00:30] [Step 1/2] [INFO]

[18:00:30] [Step 1/2] [INFO] -------------------------------------------------------

[18:00:30] [Step 1/2] [INFO] T E S T S

[18:00:30] [Step 1/2] [INFO] -------------------------------------------------------

[18:00:34] [Step 1/2] [INFO] Running TestSuite

[18:00:40] [tests:tests] апр 15, 2019 6:00:40 PM org.mongodb.morphia.logging.MorphiaLoggerFactory chooseLoggerFactory

[18:00:40] [tests:tests] INFO: LoggerImplFactory set to org.mongodb.morphia.logging.jdk.JDKLoggerFactory

[18:00:44] [tests:tests] апр 15, 2019 6:00:44 PM com.codeborne.selenide.drivercommands.LazyDriver getAndCheckWebDriver

[18:00:44] [tests:tests] INFO: No webdriver is bound to current thread: 1 - let’s create a new webdriver

[18:00:44] [tests:tests] Starting ChromeDriver 73.0.3683.68 (47787ec04b6e38e22703e856e101e840b65afe72) on port 17196

[18:00:44] [tests:tests] Only local connections are allowed.

[18:00:44] [tests:tests] Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code.

[18:00:48] [tests:tests] апр 15, 2019 6:00:48 PM org.openqa.selenium.remote.ProtocolHandshake createSession

[18:00:48] [tests:tests] INFO: Detected dialect: OSS


(Vasiliy Rakshin) #4

А теперь на TC надо запустить браузер в хеадлесс-режиме.


(Яна Телегина) #5

тогда так же вернулась к прошлой ошибке
[18:24:18] [Step 1/2] [INFO] -------------------------------------------------------

[18:24:18] [Step 1/2] [INFO] T E S T S

[18:24:18] [Step 1/2] [INFO] -------------------------------------------------------

[18:24:21] [Step 1/2] [INFO] Running TestSuite

[18:24:28] [tests:tests] апр 15, 2019 6:24:28 PM org.mongodb.morphia.logging.MorphiaLoggerFactory chooseLoggerFactory

[18:24:28] [tests:tests] INFO: LoggerImplFactory set to org.mongodb.morphia.logging.jdk.JDKLoggerFactory

[18:24:32] [tests:tests] ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.

[18:24:33] [tests:tests] апр 15, 2019 6:24:32 PM com.codeborne.selenide.drivercommands.LazyDriver getAndCheckWebDriver

[18:24:33] [tests:tests] INFO: No webdriver is bound to current thread: 1 - let’s create a new webdriver

[18:24:33] [tests:tests] Starting ChromeDriver 73.0.3683.68 (47787ec04b6e38e22703e856e101e840b65afe72) on port 42643

[18:24:33] [tests:tests] Only local connections are allowed.

[18:24:33] [tests:tests] Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code.

[18:24:36] [tests:tests] апр 15, 2019 6:24:36 PM org.openqa.selenium.remote.ProtocolHandshake createSession

[18:24:36] [tests:tests] INFO: Detected dialect: OSS

[18:24:38] [tests:tests] апр 15, 2019 6:24:38 PM com.codeborne.selenide.webdriver.WebDriverFactory logBrowserVersion

[18:24:38] [tests:tests] INFO: BrowserName=chrome Version=73.0.3683.103 Platform=XP

[18:24:38] [tests:tests] апр 15, 2019 6:24:38 PM com.codeborne.selenide.webdriver.WebDriverFactory createWebDriver

[18:24:38] [tests:tests] INFO: Selenide v. 5.2.0

[18:24:38] [tests:tests] апр 15, 2019 6:24:38 PM com.codeborne.selenide.webdriver.WebDriverFactory logSeleniumInfo

[18:24:38] [tests:tests] INFO: Selenium WebDriver v. 3.14.0 build time: 2018-08-02T20:19:58.91Z

[18:24:38] [tests:tests] апр 15, 2019 6:24:38 PM com.codeborne.selenide.drivercommands.CreateDriverCommand createDriver

[18:24:38] [tests:tests] INFO: Create webdriver in current thread 1: ChromeDriver -> ChromeDriver: chrome on XP (50e8b7d72d5c61140f24b8ef49ddac14)

[18:25:12] [tests:tests] [1555341912.311][SEVERE]: Timed out receiving message from renderer: 0.280

[18:25:12] [tests:tests] [1555341912.313][WARNING]: screenshot failed, retrying

[18:25:22] [tests:tests] [1555341922.314][SEVERE]: Timed out receiving message from renderer: 1.013

[18:25:32] [tests:tests] [1555341932.324][SEVERE]: Timed out receiving message from renderer: 1.655

[18:25:32] [tests:tests] [1555341932.324][WARNING]: screenshot failed, retrying

[18:25:42] [tests:tests] [1555341942.324][SEVERE]: Timed out receiving message from renderer: 10.000

[18:25:52] [tests:tests] [1555341952.332][SEVERE]: Timed out receiving message from renderer: 10.000

[18:25:52] [tests:tests] [1555341952.332][WARNING]: screenshot failed, retrying

[18:26:02] [tests:tests] [1555341962.332][SEVERE]: Timed out receiving message from renderer: 10.000

[18:26:02] [tests:tests] апр 15, 2019 6:26:02 PM com.codeborne.selenide.impl.ScreenShotLaboratory takeScreenshotImage

[18:26:02] [tests:tests] SEVERE: Failed to take screenshot to 1555341902239.0 because of org.openqa.selenium.TimeoutException: timeout: Timed out receiving message from renderer: 10.000

[18:26:02] [tests:tests] (Session info: headless chrome=73.0.3683.103)

[18:26:02] [tests:tests] (Driver info: chromedriver=73.0.3683.68 (47787ec04b6e38e22703e856e101e840b65afe72),platform=Windows NT 10.0.17763 x86_64) (WARNING: The server did not provide any stacktrace information)

[18:26:02] [tests:tests] Command duration or timeout: 0 milliseconds

[18:26:02] [tests:tests] Build info: version: ‘3.14.0’, revision: ‘aacccce0’, time: ‘2018-08-02T20:19:58.91Z’

[18:26:02] [tests:tests] System info: host: ‘CARGOBAR-AUTOTE’, ip: ‘192.168.130.134’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_72’

[18:26:02] [tests:tests] Driver info: org.openqa.selenium.chrome.ChromeDriver

[18:26:02] [tests:tests] Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 73.0.3683.68 (47787ec04b6e3…, userDataDir: C:\TeamCity\buildAgent\temp…}, cssSelectorsEnabled: true, databaseEnabled: false, goog:chromeOptions: {debuggerAddress: localhost:52808}, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, proxy: Proxy(), rotatable: false, setWindowRect: true, strictFileInteractability: false, takesHeapSnapshot: true, takesScreenshot: true, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unexpectedAlertBehaviour: ignore, unhandledPromptBehavior: ignore, version: 73.0.3683.103, webStorageEnabled: true}

[18:26:02] [tests:tests] Session ID: 50e8b7d72d5c61140f24b8ef49ddac14

[18:26:12] [tests:tests] [1555341972.747][SEVERE]: Timed out receiving message from renderer: 10.000

[18:26:12] [tests:tests] [1555341972.747][WARNING]: screenshot failed, retrying

[18:26:22] [tests:tests] [1555341982.748][SEVERE]: Timed out receiving message from renderer: 10.000


(Яна Телегина) #6

Догадываюсь что, что-то произошло с совместимостью версий.
Но как так получается? я сам браузер нигде не обновляю, автообновление и пр. выключены.
Версию вебдрайвера указываю явно в прекондишинах.
Но часто получается так, что вчера тесты запускались везде, а сегодня при сборке в tc ничего не собирается.
Зайдя по рдп на ту машину агента где исполняются тесты и запустив руками там сборку, все тесты тоже проходят.
Есть ли какой-то рецепт, совместимых версий, чтобы быть увереным в том, что не обновляя версии - все будет работать ?


(Vasiliy Rakshin) #8

Надо обновить ещё Селениум, старая версия.


(Alexandr D.) #9