New issue
Advanced search Search tips

Issue 907608 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner: ----
Closed: Nov 26
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: ----



Sign in to add a comment

test_installer and chromedriver_py_tests failing on Win7

Project Member Reported by sheriff-...@appspot.gserviceaccount.com, Nov 21

Issue description

Filed by sheriff-o-matic@appspot.gserviceaccount.com on behalf of gayane@chromium.org

test_installer and chromedriver_py_tests failing on Win7 when creating chrome driver.

Builders failed on: 
- Win 7 Tests x64 (1): 
  https://ci.chromium.org/p/chromium/builders/luci.chromium.ci/Win%207%20Tests%20x64%20%281%29
- Win7 Tests (1): 
  https://ci.chromium.org/p/chromium/builders/luci.chromium.ci/Win7%20Tests%20%281%29

test_installer error:
Traceback (most recent call last):
  File "test_chrome_with_chromedriver.py", line 132, in <module>
    sys.exit(main())
  File "test_chrome_with_chromedriver.py", line 121, in main
    with CreateChromedriver(args) as driver:
  File "e:\b\s\w\ir\cipd_bin_packages\bin\Lib\contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "test_chrome_with_chromedriver.py", line 72, in CreateChromedriver
    chrome_options=chrome_options)
  File "e:\b\s\w\ir\cache\builder\src\chrome\test\mini_installer\..\..\..\third_party\webdriver\pylib\selenium\webdriver\chrome\webdriver.py", line 66, in __init__
    desired_capabilities=desired_capabilities)
  File "e:\b\s\w\ir\cache\builder\src\chrome\test\mini_installer\..\..\..\third_party\webdriver\pylib\selenium\webdriver\remote\webdriver.py", line 64, in __init__
    self.start_session(desired_capabilities, browser_profile)
  File "e:\b\s\w\ir\cache\builder\src\chrome\test\mini_installer\..\..\..\third_party\webdriver\pylib\selenium\webdriver\remote\webdriver.py", line 106, in start_session
    'desiredCapabilities': desired_capabilities,
  File "e:\b\s\w\ir\cache\builder\src\chrome\test\mini_installer\..\..\..\third_party\webdriver\pylib\selenium\webdriver\remote\webdriver.py", line 157, in execute
    self.error_handler.check_response(response)
  File "e:\b\s\w\ir\cache\builder\src\chrome\test\mini_installer\..\..\..\third_party\webdriver\pylib\selenium\webdriver\remote\errorhandler.py", line 149, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: u'session not created\nfrom disconnected: Unable to receive message from renderer\n  (Session info: chrome=72.0.3618.0)\n  (Driver info: chromedriver=2.44.610060 (94679cb3bf72591f0b81ab50c586e6b5acc74bdc),platform=Windows NT 6.1.7601 SP1 x86_64)' 
ERROR

chromedriver_py_tests error:
ERROR: testExistingDevToolsPortFile (__main__.LaunchDesktopTest)
If a DevTools port file already exists before startup, then we should
----------------------------------------------------------------------
Traceback (most recent call last):
  File "../../chrome/test/chromedriver/test/run_py_tests.py", line 2847, in testExistingDevToolsPortFile
    chrome_switches=['user-data-dir=' + user_data_dir])
  File "../../chrome/test/chromedriver/test/run_py_tests.py", line 350, in CreateDriver
    **kwargs)
  File "e:\b\s\w\ir\chrome\test\chromedriver\test\..\client\chromedriver.py", line 131, in __init__
    self._InternalInit(*args, **kwargs)
  File "e:\b\s\w\ir\chrome\test\chromedriver\test\..\client\chromedriver.py", line 265, in _InternalInit
    response = self._ExecuteCommand(Command.NEW_SESSION, params)
  File "e:\b\s\w\ir\chrome\test\chromedriver\test\..\client\chromedriver.py", line 319, in _ExecuteCommand
    raise _ExceptionForLegacyResponse(response)
SessionNotCreated: session not created
from disconnected: Unable to receive message from renderer
  (Session info: chrome=72.0.3618.0)
  (Driver info: chromedriver=2.44.610067 (77fd4f6bdd5efe6ae26a37290d71631f5aec0fc3),platform=Windows NT 6.1.7601 SP1 x86_64)


 
Cc: khachatryan@chromium.org
+khachatryan
can recent ChromeDriver 2.44 release be the problem https://chromium-review.googlesource.com/c/1343053 ?
No. After releasing ChromeDriver 2.44 all Java and Python tests were passing on Waterfall on all platforms.
We'll see what is causing this test to fail on Windows platform and if this is a bug then we'll open a new bug and investigate it.

Cc: johnchen@chromium.org
testExistingDevToolsPortFile fails on ChromeDriver builder Waterfall as well, so we created a separate bug https://bugs.chromium.org/p/chromedriver/issues/detail?id=2673 to track and investigate the bug.


Thanks for follow up.
Project Member

Comment 6 by bugdroid1@chromium.org, Nov 21

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/2c449f4d742d4e477cc017cfaef2875005d877e2

commit 2c449f4d742d4e477cc017cfaef2875005d877e2
Author: khachatryan <khachatryan@chromium.org>
Date: Wed Nov 21 23:06:48 2018

[ChromeDriver] Disable failing tests on Waterfall on Windows build bot

Disabling failing tests testDownloadDirectoryOverridesExistingPreferences and
testExistingDevToolsPortFile on Waterfall on Windows build bot

Bug:  907608 :chromedriver:2673
Change-Id: I74adcfa17f6349aa74805e6905fa630661ea4a9b
Reviewed-on: https://chromium-review.googlesource.com/c/1347613
Reviewed-by: John Chen <johnchen@chromium.org>
Commit-Queue: Artur Khachatryan <khachatryan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610254}
[modify] https://crrev.com/2c449f4d742d4e477cc017cfaef2875005d877e2/chrome/test/chromedriver/test/run_py_tests.py

Labels: -Sheriff-Chromium
Chromium Sheriff here.
Let me remove Sheriff-Chromium label. If this still needs Sheriff's attention, please add that.
Project Member

Comment 8 by bugdroid1@chromium.org, Nov 26

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/4403447c755e407e36d8db66c448aa82e74db98d

commit 4403447c755e407e36d8db66c448aa82e74db98d
Author: Artur Khachatryan <khachatryan@chromium.org>
Date: Mon Nov 26 17:54:08 2018

Revert "[ChromeDriver] Disable failing tests on Waterfall on Windows build bot"

This reverts commit 2c449f4d742d4e477cc017cfaef2875005d877e2.

Reason for revert: Because of this was a Chromium bug and it is currently fixed, we are reverting this change.

Original change's description:
> [ChromeDriver] Disable failing tests on Waterfall on Windows build bot
> 
> Disabling failing tests testDownloadDirectoryOverridesExistingPreferences and
> testExistingDevToolsPortFile on Waterfall on Windows build bot
> 
> Bug:  907608 :chromedriver:2673
> Change-Id: I74adcfa17f6349aa74805e6905fa630661ea4a9b
> Reviewed-on: https://chromium-review.googlesource.com/c/1347613
> Reviewed-by: John Chen <johnchen@chromium.org>
> Commit-Queue: Artur Khachatryan <khachatryan@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#610254}

TBR=johnchen@chromium.org,khachatryan@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug:  907608 :chromedriver:2673
Change-Id: I159363b6d2712ef07fbf0d833cce4baeea4b4fd3
Reviewed-on: https://chromium-review.googlesource.com/c/1351290
Reviewed-by: John Chen <johnchen@chromium.org>
Commit-Queue: Artur Khachatryan <khachatryan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610880}
[modify] https://crrev.com/4403447c755e407e36d8db66c448aa82e74db98d/chrome/test/chromedriver/test/run_py_tests.py

Status: Fixed (was: Available)
This issue has gone away. I think it was caused by r610055, and fixed by r610591. 

Sign in to add a comment