Closed Bug 1840623 Opened 2 years ago Closed 2 years ago

Intermittent [tier 2] mozilla/tests/webdriver/cdp/port_file.py | test_connect - assert 0 == 2

Categories

(Remote Protocol :: CDP, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1776807

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Filed by: ctuns [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=420794913&repo=try
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/ISIawEf0TD63KJ1q6dF5mQ/runs/0/artifacts/public/logs/live_backing.log


[task 2023-06-27T13:33:51.006Z] 13:33:51     INFO - TEST-PASS | /_mozilla/webdriver/cdp/port_file.py | test_devtools_active_port_file 
[task 2023-06-27T13:33:51.006Z] 13:33:51     INFO - TEST-UNEXPECTED-FAIL | /_mozilla/webdriver/cdp/port_file.py | test_connect - assert 0 == 2
[task 2023-06-27T13:33:51.006Z] 13:33:51     INFO - browser = <function browser.<locals>._browser at 0x0000023D4E667E50>
[task 2023-06-27T13:33:51.018Z] 13:33:51     INFO - 
[task 2023-06-27T13:33:51.018Z] 13:33:51     INFO -     def test_connect(browser):
[task 2023-06-27T13:33:51.018Z] 13:33:51     INFO - >       current_browser = browser(use_cdp=True)
[task 2023-06-27T13:33:51.018Z] 13:33:51     INFO - 
[task 2023-06-27T13:33:51.018Z] 13:33:51     INFO - browser    = <function browser.<locals>._browser at 0x0000023D4E667E50>
[task 2023-06-27T13:33:51.018Z] 13:33:51     INFO - 
[task 2023-06-27T13:33:51.018Z] 13:33:51     INFO - tests\web-platform\mozilla\tests\webdriver\cdp\port_file.py:20: 
[task 2023-06-27T13:33:51.018Z] 13:33:51     INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2023-06-27T13:33:51.018Z] 13:33:51     INFO - tests\web-platform\mozilla\tests\webdriver\support\fixtures.py:60: in _browser
[task 2023-06-27T13:33:51.018Z] 13:33:51     INFO -     current_browser.start()
[task 2023-06-27T13:33:51.018Z] 13:33:51     INFO -         binary     = 'Z:\\task_168786976339104\\build\\application\\firefox\\firefox.exe'
[task 2023-06-27T13:33:51.018Z] 13:33:51     INFO -         current_browser = <support.fixtures.Browser object at 0x0000023D4E663220>
[task 2023-06-27T13:33:51.018Z] 13:33:51     INFO -         extra_args = None
[task 2023-06-27T13:33:51.018Z] 13:33:51     INFO -         extra_prefs = None
[task 2023-06-27T13:33:51.018Z] 13:33:51     INFO -         firefox_options = {'args': ['--profile',
[task 2023-06-27T13:33:51.018Z] 13:33:51     INFO -           'C:\\Users\\task_168786976339104\\AppData\\Local\\Temp\\tmpysu0yyid.mozrunner']}
[task 2023-06-27T13:33:51.018Z] 13:33:51     INFO -         full_configuration = {'browser': {'args': ['--profile',
[task 2023-06-27T13:33:51.018Z] 13:33:51     INFO -                       'C:\\Users\\task_168786976339104\\AppData\\Local\\Temp\\tmpysu0yyid.mozrunner'],
[task 2023-06-27T13:33:51.018Z] 13:33:51     INFO -              'binary': 'Z:\\task_168786976339104\\build\\application\\firefox\\firefox.exe'},
[task 2023-06-27T13:33:51.018Z] 13:33:51     INFO -  'capabilities': {'moz:firefoxOptions': {'args': ['--profile',
[task 2023-06-27T13:33:51.018Z] 13:33:51     INFO -                                                   'C:\\Users\\task_168786976339104\\AppData\\Local\\Temp\\tmpysu0yyid.mozrunner']}},
[task 2023-06-27T13:33:51.019Z] 13:33:51     INFO -  'host': '127.0.0.1',
[task 2023-06-27T13:33:51.019Z] 13:33:51     INFO -  'port': 57044,
[task 2023-06-27T13:33:51.019Z] 13:33:51     INFO -  'timeout_multiplier': 1,
[task 2023-06-27T13:33:51.019Z] 13:33:51     INFO -  'webdriver': {'args': ['-vv',
[task 2023-06-27T13:33:51.019Z] 13:33:51     INFO -                         '--binary',
[task 2023-06-27T13:33:51.019Z] 13:33:51     INFO -                         'Z:\\task_168786976339104\\build\\application\\firefox\\firefox.exe'],
[task 2023-06-27T13:33:51.019Z] 13:33:51     INFO -                'binary': 'Z:\\task_168786976339104\\fetches\\geckodriver.exe'},
[task 2023-06-27T13:33:51.019Z] 13:33:51     INFO -  'wptserve': {'aliases': [],
[task 2023-06-27T13:33:51.019Z] 13:33:51     INFO -               'all_domains': {'': {'': 'web-platform.test',
[task 2023-06-27T13:33:51.019Z] 13:33:51     INFO -                                    'nonexistent': 'nonexistent.web-platform.test',
[task 2023-06-27T13:33:51.019Z] 13:33:51     INFO -                                    'nonexistent.nonexistent': 'nonexistent.nonexistent.web-platform.test',
[task 2023-06-27T13:33:51.019Z] 13:33:51     INFO -                                    'www': 'www.web-platform.test',
[task 2023-06-27T13:33:51.019Z] 13:33:51     INFO -                                    'www.www': 'www.www.web-platform.test',
[task 2023-06-27T13:33:51.019Z] 13:33:51     INFO -                                    'www.www1': 'www.www1.web-platform.test',
[task 2023-06-27T13:33:51.019Z] 13:33:51     INFO -                                    'www.www2': 'www.www2.web-platform.test',
[task 2023-06-27T13:33:51.019Z] 13:33:51     INFO -                                    'www.lve': 'www.xn--lve-6lad.web-platform.test',
[task 2023-06-27T13:33:51.019Z] 13:33:51     INFO -                                    'www.\u5929\u6c17\u306e\u826f\u3044\u65e5': 'www.xn--n8j6ds53lwwkrqhv28a.web-platform.test',
[task 2023-06-27T13:33:51.019Z] 13:33:51     INFO -                                    'www1': 'www1.web-platform.test',
[task 2023-06-27T13:33:51.019Z] 13:33:51     INFO -                                    'www1.www': 'www1.www.web-platform.test',
[task 2023-06-27T13:33:51.019Z] 13:33:51     INFO -                                    'www1.www1': 'www1.www1.web-platform.test',
[task 2023-06-27T13:33:51.019Z] 13:33:51     INFO -                                    'www1.www2': 'www1.www2.web-platform.test',
[task 2023-06-27T13:33:51.020Z] 13:33:51     INFO -                                    'www1.lve': 'www1.xn--lve-6lad.web-platform.test',
[task 2023-06-27T13:33:51.020Z] 13:33:51     INFO -                                    'www1.\u5929\u6c17\u306e\u826f\u3044\u65e5': 'www1.xn--n8j6ds53lwwkrqhv28a.web-platform.test',
[task 2023-06-27T13:33:51.020Z] 13:33:51     INFO -                                    'www2': 'www2.web-platform.test',
[task 2023-06-27T13:33:51.020Z] 13:33:51     INFO -                                    'www2.www': 'www2.www.web-platform.test',
[task 2023-06-27T13:33:51.020Z] 13:33:51     INFO -                                    'www2.www1': 'www2.www1.web-platform.test',
[task 2023-06-27T13:33:51.020Z] 13:33:51     INFO -                                    'www2.www2': 'www2.www2.web-platform.test',
[task 2023-06-27T13:33:51.020Z] 13:33:51     INFO -                                    'www2.lve': 'www2.xn--lve-6lad.web-platform.test',
[task 2023-06-27T13:33:51.020Z] 13:33:51     INFO -                                    'www2.\u5929\u6c17\u306e\u826f\u3044\u65e5': 'www2.xn--n8j6ds53lwwkrqhv28a.web-platform.test',
[task 2023-06-27T13:33:51.020Z] 13:33:51     INFO -                                    'lve': 'xn--lve-6lad.web-platform.test',
[task 2023-06-27T13:33:51.020Z] 13:33:51     INFO -                                    'lve.www': 'xn--lve-6lad.www.web-platform.test',
[task 2023-06-27T13:33:51.020Z] 13:33:51     INFO -                                    'lve.www1': 'xn--lve-6lad.www1.web-platform.test',
[task 2023-06-27T13:33:51.020Z] 13:33:51     INFO -                                    'lve.www2': 'xn--lve-6lad.www2.web-platform.test',
[task 2023-06-27T13:33:51.020Z] 13:33:51     INFO -                                    'lve.lve': 'xn--lve-6lad.xn--lve-6lad.web-platform.test',
[task 2023-06-27T13:33:51.020Z] 13:33:51     INFO -                                    'lve.\u5929\u6c17\u306e\u826f\u3044\u65e5': 'xn--lve-6lad.xn--n8j6ds53lwwkrqhv28a.web-platform.test',
[task 2023-06-27T13:33:51.020Z] 13:33:51     INFO -                                    '\u5929\u6c17\u306e\u826f\u3044\u65e5': 'xn--n8j6ds53lwwkrqhv28a.web-platform.test',
[task 2023-06-27T13:33:51.020Z] 13:33:51     INFO -                                    '\u5929\u6c17\u306e\u826f\u3044\u65e5.www': 'xn--n8j6ds53lwwkrqhv28a.www.web-platform.test',
[task 2023-06-27T13:33:51.020Z] 13:33:51     INFO -                                    '\u5929\u6c17\u306e\u826f\u3044\u65e5.www1': 'xn--n8j6ds53lwwkrqhv28a.www1.web-platform.test',
[task 2023-06-27T13:33:51.020Z] 13:33:51     INFO -                                    '\u5929\u6c17\u306e\u826f\u3044\u65e5.www2': 'xn--n8j6ds53lwwkrqhv28a.www2.web-platform.test',
[task 2023-06-27T13:33:51.020Z] 13:33:51     INFO -                                    '\u5929\u6c17\u306e\u826f\u3044\u65e5.lve': 'xn--n8j6ds53lwwkrqhv28a.xn--lve-6lad.web-platform.test',
[task 2023-06-27T13:33:51.020Z] 13:33:51     INFO -                                    '\u5929\u6c17\u306e\u826f\u3044\u65e5.\u5929\u6c17\u306e\u826f\u3044\u65e5': 'xn--n8j6ds53lwwkrqhv28a.xn--n8j6ds53lwwkrqhv28a.web-platform.test'},
[task 2023-06-27T13:33:51.021Z] 13:33:51     INFO -                               'alt': {'': 'not-web-platform.test',
[task 2023-06-27T13:33:51.021Z] 13:33:51     INFO -                                       'nonexistent': 'nonexistent.not-web-platform.test',
[task 2023-06-27T13:33:51.021Z] 13:33:51     INFO -                                       'nonexistent.nonexistent': 'nonexistent.nonexistent.not-web-platform.test',
[task 2023-06-27T13:33:51.021Z] 13:33:51     INFO -                                       'www': 'www.not-web-platform.test',
[task 2023-06-27T13:33:51.021Z] 13:33:51     INFO -                                       'www.www': 'www.www.not-web-platform.test',
[task 2023-06-27T13:33:51.021Z] 13:33:51     INFO -                                       'www.www1': 'www.www1.not-web-platform.test',
[task 2023-06-27T13:33:51.021Z] 13:33:51     INFO -                                       'www.www2': 'www.www2.not-web-platform.test',
[task 2023-06-27T13:33:51.021Z] 13:33:51     INFO -                                       'www.lve': 'www.xn--lve-6lad.not-web-platform.test',
[task 2023-06-27T13:33:51.021Z] 13:33:51     INFO -                                       'www.\u5929\u6c17\u306e\u826f\u3044\u65e5': 'www.xn--n8j6ds53lwwkrqhv28a.not-web-platform.test',
[task 2023-06-27T13:33:51.021Z] 13:33:51     INFO -                                       'www1': 'www1.not-web-platform.test',
[task 2023-06-27T13:33:51.021Z] 13:33:51     INFO -                                       'www1.www': 'www1.www.not-web-platform.test',
[task 2023-06-27T13:33:51.021Z] 13:33:51     INFO -                                       'www1.www1': 'www1.www1.not-web-platform.test',
[task 2023-06-27T13:33:51.021Z] 13:33:51     INFO -                                       'www1.www2': 'www1.www2.not-web-platform.test',
[task 2023-06-27T13:33:51.021Z] 13:33:51     INFO -                                       'www1.lve': 'www1.xn--lve-6lad.not-web-platform.test',
[task 2023-06-27T13:33:51.021Z] 13:33:51     INFO -                                       'www1.\u5929\u6c17\u306e\u826f\u3044\u65e5': 'www1.xn--n8j6ds53lwwkrqhv28a.not-web-platform.test',
[task 2023-06-27T13:33:51.021Z] 13:33:51     INFO -                                       'www2': 'www2.not-web-platform.test',
[task 2023-06-27T13:33:51.021Z] 13:33:51     INFO -                                       'www2.www': 'www2.www.not-web-platform.test',
[task 2023-06-27T13:33:51.021Z] 13:33:51     INFO -                                       'www2.www1': 'www2.www1.not-web-platform.test',
[task 2023-06-27T13:33:51.021Z] 13:33:51     INFO -                                       'www2.www2': 'www2.www2.not-web-platform.test',
[task 2023-06-27T13:33:51.021Z] 13:33:51     INFO -                                       'www2.lve': 'www2.xn--lve-6lad.not-web-platform.test',
[task 2023-06-27T13:33:51.022Z] 13:33:51     INFO -                                       'www2.\u5929\u6c17\u306e\u826f\u3044\u65e5': 'www2.xn--n8j6ds53lwwkrqhv28a.not-web-platform.test',
[task 2023-06-27T13:33:51.022Z] 13:33:51     INFO -                                       'lve': 'xn--lve-6lad.not-web-platform.test',
[task 2023-06-27T13:33:51.022Z] 13:33:51     INFO -                                       'lve.www': 'xn--lve-6lad.www.not-web-platform.test',
[task 2023-06-27T13:33:51.022Z] 13:33:51     INFO -                                       'lve.www1': 'xn--lve-6lad.www1.not-web-platform.test',
[task 2023-06-27T13:33:51.022Z] 13:33:51     INFO -                                       'lve.www2': 'xn--lve-6lad.www2.not-web-platform.test',
[task 2023-06-27T13:33:51.022Z] 13:33:51     INFO -                                       'lve.lve': 'xn--lve-6lad.xn--lve-6lad.not-web-platform.test',
<...>
[task 2023-06-27T13:33:51.034Z] 13:33:51     INFO -                              'lve',
[task 2023-06-27T13:33:51.034Z] 13:33:51     INFO -                              'www2',
[task 2023-06-27T13:33:51.034Z] 13:33:51     INFO -                              'www1.www2',
[task 2023-06-27T13:33:51.034Z] 13:33:51     INFO -                              'www.lve',
[task 2023-06-27T13:33:51.034Z] 13:33:51     INFO -                              'www1.\u5929\u6c17\u306e\u826f\u3044\u65e5',
[task 2023-06-27T13:33:51.034Z] 13:33:51     INFO -                              'www1.lve',
[task 2023-06-27T13:33:51.034Z] 13:33:51     INFO -                              'lve.lve',
[task 2023-06-27T13:33:51.034Z] 13:33:51     INFO -                              'lve.www1',
[task 2023-06-27T13:33:51.035Z] 13:33:51     INFO -                              'www.\u5929\u6c17\u306e\u826f\u3044\u65e5',
[task 2023-06-27T13:33:51.035Z] 13:33:51     INFO -                              '\u5929\u6c17\u306e\u826f\u3044\u65e5.www2',
[task 2023-06-27T13:33:51.035Z] 13:33:51     INFO -                              '\u5929\u6c17\u306e\u826f\u3044\u65e5.www',
[task 2023-06-27T13:33:51.035Z] 13:33:51     INFO -                              'www.www1',
[task 2023-06-27T13:33:51.035Z] 13:33:51     INFO -                              'lve.www2'],
[task 2023-06-27T13:33:51.035Z] 13:33:51     INFO -               'ws_doc_root': 'Z:\\task_168786976339104\\build\\tests\\web-platform\\tests\\websockets\\handlers'}}
[task 2023-06-27T13:33:51.035Z] 13:33:51     INFO -         use_bidi   = False
[task 2023-06-27T13:33:51.035Z] 13:33:51     INFO -         use_cdp    = True
[task 2023-06-27T13:33:51.035Z] 13:33:51     INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2023-06-27T13:33:51.035Z] 13:33:51     INFO - 
[task 2023-06-27T13:33:51.035Z] 13:33:51     INFO - self = <support.fixtures.Browser object at 0x0000023D4E663220>
[task 2023-06-27T13:33:51.035Z] 13:33:51     INFO - 
[task 2023-06-27T13:33:51.035Z] 13:33:51     INFO -     def start(self):
[task 2023-06-27T13:33:51.035Z] 13:33:51     INFO -         # Start Firefox.
[task 2023-06-27T13:33:51.035Z] 13:33:51     INFO -         self.runner.start()
[task 2023-06-27T13:33:51.035Z] 13:33:51     INFO -     
[task 2023-06-27T13:33:51.035Z] 13:33:51     INFO -         if self.use_bidi:
[task 2023-06-27T13:33:51.035Z] 13:33:51     INFO -             # Wait until the WebDriverBiDiServer.json file is ready
[task 2023-06-27T13:33:51.035Z] 13:33:51     INFO -             while not os.path.exists(self.webdriver_bidi_file):
[task 2023-06-27T13:33:51.035Z] 13:33:51     INFO -                 time.sleep(0.1)
[task 2023-06-27T13:33:51.035Z] 13:33:51     INFO -     
[task 2023-06-27T13:33:51.035Z] 13:33:51     INFO -             # Read the connection details from file
[task 2023-06-27T13:33:51.035Z] 13:33:51     INFO -             data = json.loads(open(self.webdriver_bidi_file).read())
[task 2023-06-27T13:33:51.035Z] 13:33:51     INFO -             self.remote_agent_host = data["ws_host"]
[task 2023-06-27T13:33:51.036Z] 13:33:51     INFO -             self.remote_agent_port = int(data["ws_port"])
[task 2023-06-27T13:33:51.036Z] 13:33:51     INFO -     
[task 2023-06-27T13:33:51.036Z] 13:33:51     INFO -         if self.use_cdp:
[task 2023-06-27T13:33:51.036Z] 13:33:51     INFO -             # Wait until the DevToolsActivePort file is ready
[task 2023-06-27T13:33:51.036Z] 13:33:51     INFO -             while not os.path.exists(self.cdp_port_file):
[task 2023-06-27T13:33:51.036Z] 13:33:51     INFO -                 time.sleep(0.1)
[task 2023-06-27T13:33:51.036Z] 13:33:51     INFO -     
[task 2023-06-27T13:33:51.036Z] 13:33:51     INFO -             # Read the port if needed and the debugger address from the
[task 2023-06-27T13:33:51.036Z] 13:33:51     INFO -             # DevToolsActivePort file
[task 2023-06-27T13:33:51.036Z] 13:33:51     INFO -             lines = open(self.cdp_port_file).readlines()
[task 2023-06-27T13:33:51.036Z] 13:33:51     INFO - >           assert len(lines) == 2
[task 2023-06-27T13:33:51.036Z] 13:33:51     INFO - E           assert 0 == 2
[task 2023-06-27T13:33:51.036Z] 13:33:51     INFO - E             +0
[task 2023-06-27T13:33:51.036Z] 13:33:51     INFO - E             -2
[task 2023-06-27T13:33:51.036Z] 13:33:51     INFO - 
[task 2023-06-27T13:33:51.036Z] 13:33:51     INFO - lines      = []
[task 2023-06-27T13:33:51.036Z] 13:33:51     INFO - self       = <support.fixtures.Browser object at 0x0000023D4E663220>
[task 2023-06-27T13:33:51.036Z] 13:33:51     INFO - 
[task 2023-06-27T13:33:51.036Z] 13:33:51     INFO - tests\web-platform\mozilla\tests\webdriver\support\fixtures.py:180: AssertionError
[task 2023-06-27T13:33:51.037Z] 13:33:51     INFO - TEST-OK | /_mozilla/webdriver/cdp/port_file.py | took 9112ms
Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1776807
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.