Closed Bug 1834340 Opened 2 years ago Closed 2 years ago

Intermittent mozilla/tests/webdriver/bidi/browsing_context/navigate/error.py | test_insecure_certificate - Failed: DID NOT RAISE <class 'webdriver.bidi.error.UnknownErrorException'>

Categories

(Testing :: web-platform-tests, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

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


[task 2023-05-22T14:03:41.594Z] 14:03:41     INFO - STDOUT: configuration = {'capabilities': {'moz:firefoxOptions': {'args': ['--profile', 'C:\\Users\\task_168476043215635\\AppData\\Local\\Temp\...3215635\\build\\application\\firefox\\firefox.exe'}}, 'host': '127.0.0.1', 'port': 62734, 'timeout_multiplier': 1, ...}
[task 2023-05-22T14:03:41.596Z] 14:03:41     INFO - STDOUT: url = <function url.<locals>.url at 0x000001CDFBA48C10>
[task 2023-05-22T14:03:41.596Z] 14:03:41     INFO - STDOUT: custom_profile = <mozprofile.profile.Profile object at 0x000001CDFBA39820>
[task 2023-05-22T14:03:41.597Z] 14:03:41     INFO - STDOUT: geckodriver = <function geckodriver.<locals>._geckodriver at 0x000001CDFBA48DC0>
[task 2023-05-22T14:03:41.598Z] 14:03:41     INFO - STDOUT:     async def test_insecure_certificate(configuration, url, custom_profile, geckodriver):
[task 2023-05-22T14:03:41.599Z] 14:03:41     INFO - STDOUT:         try:
[task 2023-05-22T14:03:41.599Z] 14:03:41     INFO - STDOUT:             # Create a new profile and remove the certificate storage so that
[task 2023-05-22T14:03:41.607Z] 14:03:41     INFO - 
[task 2023-05-22T14:03:41.607Z] 14:03:41     INFO - TEST-UNEXPECTED-FAIL | /_mozilla/webdriver/bidi/browsing_context/navigate/error.py | test_insecure_certificate - Failed: DID NOT RAISE <class 'webdriver.bidi.error.UnknownErrorException'>
[task 2023-05-22T14:03:41.607Z] 14:03:41     INFO - configuration = {'capabilities': {'moz:firefoxOptions': {'args': ['--profile', 'C:\\Users\\task_168476043215635\\AppData\\Local\\Temp\...3215635\\build\\application\\firefox\\firefox.exe'}}, 'host': '127.0.0.1', 'port': 62734, 'timeout_multiplier': 1, ...}
[task 2023-05-22T14:03:41.607Z] 14:03:41     INFO - url = <function url.<locals>.url at 0x000001CDFBA48C10>
[task 2023-05-22T14:03:41.607Z] 14:03:41     INFO - custom_profile = <mozprofile.profile.Profile object at 0x000001CDFBA39820>
[task 2023-05-22T14:03:41.607Z] 14:03:41     INFO - geckodriver = <function geckodriver.<locals>._geckodriver at 0x000001CDFBA48DC0>
[task 2023-05-22T14:03:41.607Z] 14:03:41     INFO - 
[task 2023-05-22T14:03:41.607Z] 14:03:41     INFO -     async def test_insecure_certificate(configuration, url, custom_profile, geckodriver):
[task 2023-05-22T14:03:41.607Z] 14:03:41     INFO -         try:
[task 2023-05-22T14:03:41.607Z] 14:03:41     INFO -             # Create a new profile and remove the certificate storage so that
[task 2023-05-22T14:03:41.607Z] 14:03:41     INFO -             # loading a HTTPS page will cause an insecure certificate error
[task 2023-05-22T14:03:41.607Z] 14:03:41     INFO -             os.remove(os.path.join(custom_profile.profile, "cert9.db"))
[task 2023-05-22T14:03:41.607Z] 14:03:41     INFO -         except Exception:
[task 2023-05-22T14:03:41.607Z] 14:03:41     INFO -             pass
[task 2023-05-22T14:03:41.608Z] 14:03:41     INFO -     
[task 2023-05-22T14:03:41.608Z] 14:03:41     INFO -         config = deepcopy(configuration)
[task 2023-05-22T14:03:41.608Z] 14:03:41     INFO -         config["capabilities"]["moz:firefoxOptions"]["args"] = [
[task 2023-05-22T14:03:41.608Z] 14:03:41     INFO -             "--profile",
[task 2023-05-22T14:03:41.608Z] 14:03:41     INFO -             custom_profile.profile,
[task 2023-05-22T14:03:41.608Z] 14:03:41     INFO -         ]
[task 2023-05-22T14:03:41.608Z] 14:03:41     INFO -         # Capability matching not implemented yet for WebDriver BiDi (bug 1713784)
[task 2023-05-22T14:03:41.608Z] 14:03:41     INFO -         config["capabilities"]["acceptInsecureCerts"] = False
[task 2023-05-22T14:03:41.608Z] 14:03:41     INFO -         config["capabilities"]["webSocketUrl"] = True
[task 2023-05-22T14:03:41.608Z] 14:03:41     INFO -     
[task 2023-05-22T14:03:41.608Z] 14:03:41     INFO -         driver = geckodriver(config=config)
[task 2023-05-22T14:03:41.608Z] 14:03:41     INFO -         driver.new_session()
[task 2023-05-22T14:03:41.608Z] 14:03:41     INFO -     
[task 2023-05-22T14:03:41.608Z] 14:03:41     INFO -         bidi_session = driver.session.bidi_session
[task 2023-05-22T14:03:41.608Z] 14:03:41     INFO -         await bidi_session.start()
[task 2023-05-22T14:03:41.608Z] 14:03:41     INFO -     
[task 2023-05-22T14:03:41.608Z] 14:03:41     INFO -         contexts = await bidi_session.browsing_context.get_tree(max_depth=0)
[task 2023-05-22T14:03:41.608Z] 14:03:41     INFO - >       await navigate_and_assert(
[task 2023-05-22T14:03:41.608Z] 14:03:41     INFO -             bidi_session,
[task 2023-05-22T14:03:41.608Z] 14:03:41     INFO -             contexts[0],
[task 2023-05-22T14:03:41.608Z] 14:03:41     INFO -             url("/common/blank.html", protocol="https"),
[task 2023-05-22T14:03:41.609Z] 14:03:41     INFO -             expected_error=True,
[task 2023-05-22T14:03:41.609Z] 14:03:41     INFO -         )
[task 2023-05-22T14:03:41.609Z] 14:03:41     INFO - 
[task 2023-05-22T14:03:41.609Z] 14:03:41     INFO - bidi_session = <webdriver.bidi.client.BidiSession object at 0x000001CDFBA39850>
[task 2023-05-22T14:03:41.609Z] 14:03:41     INFO - config     = {'capabilities': {'acceptInsecureCerts': False,
[task 2023-05-22T14:03:41.609Z] 14:03:41     INFO -                   'moz:firefoxOptions': {'args': ['--profile',
[task 2023-05-22T14:03:41.609Z] 14:03:41     INFO -                                                   'C:\\Users\\task_168476043215635\\AppData\\Local\\Temp\\tmpsg8hof52'],
[task 2023-05-22T14:03:41.609Z] 14:03:41     INFO -                                          'binary': 'Z:\\task_168476043215635\\build\\application\\firefox\\firefox.exe'},
[task 2023-05-22T14:03:41.609Z] 14:03:41     INFO -                   'webSocketUrl': True},
[task 2023-05-22T14:03:41.609Z] 14:03:41     INFO -  'host': '127.0.0.1',
[task 2023-05-22T14:03:41.609Z] 14:03:41     INFO -  'port': 62734,
[task 2023-05-22T14:03:41.610Z] 14:03:41     INFO -  'timeout_multiplier': 1,
[task 2023-05-22T14:03:41.610Z] 14:03:41     INFO -  'webdriver': {'args': ['-vv'],
[task 2023-05-22T14:03:41.610Z] 14:03:41     INFO -                'binary': 'Z:\\task_168476043215635\\fetches\\geckodriver.exe'}}
[task 2023-05-22T14:03:41.610Z] 14:03:41     INFO - configuration = {'capabilities': {'moz:firefoxOptions': {'args': ['--profile',
[task 2023-05-22T14:03:41.610Z] 14:03:41     INFO -                                                   'C:\\Users\\task_168476043215635\\AppData\\Local\\Temp\\tmpueij677g.mozrunner'],
[task 2023-05-22T14:03:41.610Z] 14:03:41     INFO -                                          'binary': 'Z:\\task_168476043215635\\build\\application\\firefox\\firefox.exe'}},
[task 2023-05-22T14:03:41.610Z] 14:03:41     INFO -  'host': '127.0.0.1',
[task 2023-05-22T14:03:41.610Z] 14:03:41     INFO -  'port': 62734,
[task 2023-05-22T14:03:41.610Z] 14:03:41     INFO -  'timeout_multiplier': 1,
[task 2023-05-22T14:03:41.610Z] 14:03:41     INFO -  'webdriver': {'args': ['-vv'],
[task 2023-05-22T14:03:41.610Z] 14:03:41     INFO -                'binary': 'Z:\\task_168476043215635\\fetches\\geckodriver.exe'}}
[task 2023-05-22T14:03:41.610Z] 14:03:41     INFO - contexts   = [{'children': None,
[task 2023-05-22T14:03:41.610Z] 14:03:41     INFO -   'context': '81786af8-e139-42f7-8111-11ca08cd608a',
[task 2023-05-22T14:03:41.610Z] 14:03:41     INFO -   'parent': None,
[task 2023-05-22T14:03:41.610Z] 14:03:41     INFO -   'url': 'about:blank'}]
[task 2023-05-22T14:03:41.610Z] 14:03:41     INFO - custom_profile = <mozprofile.profile.Profile object at 0x000001CDFBA39820>
[task 2023-05-22T14:03:41.610Z] 14:03:41     INFO - driver     = <support.fixtures.Geckodriver object at 0x000001CDFBA39730>
[task 2023-05-22T14:03:41.610Z] 14:03:41     INFO - geckodriver = <function geckodriver.<locals>._geckodriver at 0x000001CDFBA48DC0>
[task 2023-05-22T14:03:41.610Z] 14:03:41     INFO - url        = <function url.<locals>.url at 0x000001CDFBA48C10>
[task 2023-05-22T14:03:41.610Z] 14:03:41     INFO - 
[task 2023-05-22T14:03:41.610Z] 14:03:41     INFO - tests\web-platform\mozilla\tests\webdriver\bidi\browsing_context\navigate\error.py:34: 
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.