Closed Bug 1769974 Opened 2 years ago Closed 2 years ago

Perma [tier 2] mozilla/tests/webdriver/new_session/profile_root.py | test_profile_root - assert 0 == 1

Categories

(Remote Protocol :: Marionette, defect, P5)

defect

Tracking

(firefox-esr91 unaffected, firefox100 unaffected, firefox101 unaffected, firefox102 fixed)

RESOLVED FIXED
102 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox100 --- unaffected
firefox101 --- unaffected
firefox102 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: jgraham)

References

(Regression)

Details

(Keywords: intermittent-failure, regression, Whiteboard: [stockwell disable-recommended])

Attachments

(1 file)

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


[task 2022-05-18T14:09:11.477Z] 14:09:11     INFO - STDOUT: PASSED
[task 2022-05-18T14:09:11.478Z] 14:09:11     INFO - STDOUT: =================================== FAILURES ===================================
[task 2022-05-18T14:09:11.478Z] 14:09:11     INFO - STDOUT: ______________________________ test_profile_root _______________________________
[task 2022-05-18T14:09:11.479Z] 14:09:11     INFO - STDOUT: tmp_path = PosixPath('/tmp/wdspec-_gczsiuf/pytest/test_profile_root0')
[task 2022-05-18T14:09:11.480Z] 14:09:11     INFO - STDOUT: configuration = {'capabilities': {'moz:firefoxOptions': {'androidDeviceSerial': 'emulator-5554', 'androidPackage': 'org.mozilla.geckov...}}, 'host': '127.0.0.1', 'port': 36209, 'webdriver': {'args': ['-vv'], 'binary': '/builds/worker/fetches/geckodriver'}}
[task 2022-05-18T14:09:11.481Z] 14:09:11     INFO - STDOUT: geckodriver = <function geckodriver.<locals>._geckodriver at 0x7f03d9504b70>
[task 2022-05-18T14:09:11.483Z] 14:09:11     INFO - STDOUT:     def test_profile_root(tmp_path, configuration, geckodriver):
[task 2022-05-18T14:09:11.484Z] 14:09:11     INFO - STDOUT:         profile_path = os.path.join(tmp_path, "geckodriver-test")
[task 2022-05-18T14:09:11.485Z] 14:09:11     INFO - STDOUT:         os.makedirs(profile_path)
[task 2022-05-18T14:09:11.486Z] 14:09:11     INFO - STDOUT:     
[task 2022-05-18T14:09:11.487Z] 14:09:11     INFO - STDOUT:         config = copy.deepcopy(configuration)
[task 2022-05-18T14:09:11.488Z] 14:09:11     INFO - STDOUT:         # Ensure we don't set a profile in command line arguments
[task 2022-05-18T14:09:11.488Z] 14:09:11     INFO - STDOUT:         del config["capabilities"]["moz:firefoxOptions"]["args"]
[task 2022-05-18T14:09:11.489Z] 14:09:11     INFO - STDOUT:     
[task 2022-05-18T14:09:11.490Z] 14:09:11     INFO - STDOUT:         extra_args = ["--profile-root", profile_path]
[task 2022-05-18T14:09:11.490Z] 14:09:11     INFO - STDOUT:     
[task 2022-05-18T14:09:11.491Z] 14:09:11     INFO - STDOUT:         assert os.listdir(profile_path) == []
[task 2022-05-18T14:09:11.492Z] 14:09:11     INFO - STDOUT:     
[task 2022-05-18T14:09:11.492Z] 14:09:11     INFO - STDOUT:         driver = geckodriver(config=config, extra_args=extra_args)
[task 2022-05-18T14:09:11.493Z] 14:09:11     INFO - STDOUT:         driver.new_session()
[task 2022-05-18T14:09:11.493Z] 14:09:11     INFO - STDOUT: >       assert len(os.listdir(profile_path)) == 1
[task 2022-05-18T14:09:11.494Z] 14:09:11     INFO - STDOUT: E       assert 0 == 1
[task 2022-05-18T14:09:11.495Z] 14:09:11     INFO - STDOUT: E         +0
[task 2022-05-18T14:09:11.495Z] 14:09:11     INFO - STDOUT: E         -1
[task 2022-05-18T14:09:11.496Z] 14:09:11     INFO - STDOUT: config     = {'capabilities': {'moz:firefoxOptions': {'androidDeviceSerial': 'emulator-5554',
[task 2022-05-18T14:09:11.496Z] 14:09:11     INFO -                                          'androidPackage': 'org.mozilla.geckoview.test_runner',
[task 2022-05-18T14:09:11.496Z] 14:09:11     INFO -                                          'env': {'MOZ_CRASHREPORTER': '1',
[task 2022-05-18T14:09:11.496Z] 14:09:11     INFO -                                                  'MOZ_CRASHREPORTER_SHUTDOWN': '1',
[task 2022-05-18T14:09:11.496Z] 14:09:11     INFO -                                                  'RUST_BACKTRACE': '1',
[task 2022-05-18T14:09:11.497Z] 14:09:11     INFO -                                                  'STYLO_THREADS': '1'}}},
[task 2022-05-18T14:09:11.497Z] 14:09:11     INFO -  'host': '127.0.0.1',
[task 2022-05-18T14:09:11.497Z] 14:09:11     INFO -  'port': 36209,
[task 2022-05-18T14:09:11.497Z] 14:09:11     INFO -  'webdriver': {'args': ['-vv'], 'binary': '/builds/worker/fetches/geckodriver'}}
[task 2022-05-18T14:09:11.498Z] 14:09:11     INFO - STDOUT: configuration = {'capabilities': {'moz:firefoxOptions': {'androidDeviceSerial': 'emulator-5554',
[task 2022-05-18T14:09:11.498Z] 14:09:11     INFO -                                          'androidPackage': 'org.mozilla.geckoview.test_runner',
[task 2022-05-18T14:09:11.498Z] 14:09:11     INFO -                                          'args': ['--profile',
[task 2022-05-18T14:09:11.499Z] 14:09:11     INFO -                                                   '/tmp/tmpuhsuw5z7.mozrunner'],
[task 2022-05-18T14:09:11.499Z] 14:09:11     INFO -                                          'env': {'MOZ_CRASHREPORTER': '1',
[task 2022-05-18T14:09:11.499Z] 14:09:11     INFO -                                                  'MOZ_CRASHREPORTER_SHUTDOWN': '1',
[task 2022-05-18T14:09:11.499Z] 14:09:11     INFO -                                                  'RUST_BACKTRACE': '1',
[task 2022-05-18T14:09:11.499Z] 14:09:11     INFO -                                                  'STYLO_THREADS': '1'}}},
[task 2022-05-18T14:09:11.499Z] 14:09:11     INFO -  'host': '127.0.0.1',
[task 2022-05-18T14:09:11.499Z] 14:09:11     INFO -  'port': 36209,
[task 2022-05-18T14:09:11.499Z] 14:09:11     INFO -  'webdriver': {'args': ['-vv'], 'binary': '/builds/worker/fetches/geckodriver'}}
[task 2022-05-18T14:09:11.500Z] 14:09:11     INFO - STDOUT: driver     = <support.fixtures.Geckodriver object at 0x7f03d956ae48>
[task 2022-05-18T14:09:11.501Z] 14:09:11     INFO - STDOUT: extra_args = ['--profile-root',
[task 2022-05-18T14:09:11.501Z] 14:09:11     INFO -  '/tmp/wdspec-_gczsiuf/pytest/test_profile_root0/geckodriver-test']
[task 2022-05-18T14:09:11.502Z] 14:09:11     INFO - STDOUT: geckodriver = <function geckodriver.<locals>._geckodriver at 0x7f03d9504b70>
[task 2022-05-18T14:09:11.503Z] 14:09:11     INFO - STDOUT: profile_path = '/tmp/wdspec-_gczsiuf/pytest/test_profile_root0/geckodriver-test'
[task 2022-05-18T14:09:11.505Z] 14:09:11     INFO - STDOUT: tmp_path   = PosixPath('/tmp/wdspec-_gczsiuf/pytest/test_profile_root0')
[task 2022-05-18T14:09:11.506Z] 14:09:11     INFO - STDOUT: tests/web-platform/mozilla/tests/webdriver/new_session/profile_root.py
[task 2022-05-18T14:09:11.506Z] 14:09:11     INFO - STDOUT: :21: AssertionError
[task 2022-05-18T14:09:11.507Z] 14:09:11     INFO - STDOUT: =========================== short test summary info ============================
[task 2022-05-18T14:09:11.508Z] 14:09:11     INFO - STDOUT: FAILED tests/web-platform/mozilla/tests/webdriver/new_session/profile_root.py::test_profile_root
[task 2022-05-18T14:09:11.509Z] 14:09:11     INFO - STDOUT: ========================= 1 failed, 1 passed in 3.48s ==========================
[task 2022-05-18T14:09:11.515Z] 14:09:11     INFO - 
[task 2022-05-18T14:09:11.515Z] 14:09:11     INFO - TEST-UNEXPECTED-FAIL | /_mozilla/webdriver/new_session/profile_root.py | test_profile_root - assert 0 == 1
[task 2022-05-18T14:09:11.515Z] 14:09:11     INFO - tmp_path = PosixPath('/tmp/wdspec-_gczsiuf/pytest/test_profile_root0')
[task 2022-05-18T14:09:11.515Z] 14:09:11     INFO - configuration = {'capabilities': {'moz:firefoxOptions': {'androidDeviceSerial': 'emulator-5554', 'androidPackage': 'org.mozilla.geckov...}}, 'host': '127.0.0.1', 'port': 36209, 'webdriver': {'args': ['-vv'], 'binary': '/builds/worker/fetches/geckodriver'}}
[task 2022-05-18T14:09:11.515Z] 14:09:11     INFO - geckodriver = <function geckodriver.<locals>._geckodriver at 0x7f03d9504b70>
[task 2022-05-18T14:09:11.515Z] 14:09:11     INFO - 
[task 2022-05-18T14:09:11.515Z] 14:09:11     INFO -     def test_profile_root(tmp_path, configuration, geckodriver):
[task 2022-05-18T14:09:11.515Z] 14:09:11     INFO -         profile_path = os.path.join(tmp_path, "geckodriver-test")
[task 2022-05-18T14:09:11.515Z] 14:09:11     INFO -         os.makedirs(profile_path)
[task 2022-05-18T14:09:11.515Z] 14:09:11     INFO -     
[task 2022-05-18T14:09:11.515Z] 14:09:11     INFO -         config = copy.deepcopy(configuration)
[task 2022-05-18T14:09:11.515Z] 14:09:11     INFO -         # Ensure we don't set a profile in command line arguments
[task 2022-05-18T14:09:11.515Z] 14:09:11     INFO -         del config["capabilities"]["moz:firefoxOptions"]["args"]
[task 2022-05-18T14:09:11.515Z] 14:09:11     INFO -     
[task 2022-05-18T14:09:11.516Z] 14:09:11     INFO -         extra_args = ["--profile-root", profile_path]
[task 2022-05-18T14:09:11.516Z] 14:09:11     INFO -     
[task 2022-05-18T14:09:11.516Z] 14:09:11     INFO -         assert os.listdir(profile_path) == []
[task 2022-05-18T14:09:11.516Z] 14:09:11     INFO -     
[task 2022-05-18T14:09:11.516Z] 14:09:11     INFO -         driver = geckodriver(config=config, extra_args=extra_args)
[task 2022-05-18T14:09:11.516Z] 14:09:11     INFO -         driver.new_session()
[task 2022-05-18T14:09:11.516Z] 14:09:11     INFO - >       assert len(os.listdir(profile_path)) == 1
[task 2022-05-18T14:09:11.516Z] 14:09:11     INFO - E       assert 0 == 1
[task 2022-05-18T14:09:11.516Z] 14:09:11     INFO - E         +0
[task 2022-05-18T14:09:11.516Z] 14:09:11     INFO - E         -1
[task 2022-05-18T14:09:11.516Z] 14:09:11     INFO - 
[task 2022-05-18T14:09:11.516Z] 14:09:11     INFO - config     = {'capabilities': {'moz:firefoxOptions': {'androidDeviceSerial': 'emulator-5554',
[task 2022-05-18T14:09:11.516Z] 14:09:11     INFO -                                          'androidPackage': 'org.mozilla.geckoview.test_runner',
[task 2022-05-18T14:09:11.516Z] 14:09:11     INFO -                                          'env': {'MOZ_CRASHREPORTER': '1',
[task 2022-05-18T14:09:11.517Z] 14:09:11     INFO -                                                  'MOZ_CRASHREPORTER_SHUTDOWN': '1',
[task 2022-05-18T14:09:11.517Z] 14:09:11     INFO -                                                  'RUST_BACKTRACE': '1',
[task 2022-05-18T14:09:11.517Z] 14:09:11     INFO -                                                  'STYLO_THREADS': '1'}}},
[task 2022-05-18T14:09:11.517Z] 14:09:11     INFO -  'host': '127.0.0.1',
[task 2022-05-18T14:09:11.517Z] 14:09:11     INFO -  'port': 36209,
[task 2022-05-18T14:09:11.517Z] 14:09:11     INFO -  'webdriver': {'args': ['-vv'], 'binary': '/builds/worker/fetches/geckodriver'}}
[task 2022-05-18T14:09:11.517Z] 14:09:11     INFO - configuration = {'capabilities': {'moz:firefoxOptions': {'androidDeviceSerial': 'emulator-5554',
[task 2022-05-18T14:09:11.517Z] 14:09:11     INFO -                                          'androidPackage': 'org.mozilla.geckoview.test_runner',
[task 2022-05-18T14:09:11.517Z] 14:09:11     INFO -                                          'args': ['--profile',
[task 2022-05-18T14:09:11.517Z] 14:09:11     INFO -                                                   '/tmp/tmpuhsuw5z7.mozrunner'],
[task 2022-05-18T14:09:11.517Z] 14:09:11     INFO -                                          'env': {'MOZ_CRASHREPORTER': '1',
[task 2022-05-18T14:09:11.517Z] 14:09:11     INFO -                                                  'MOZ_CRASHREPORTER_SHUTDOWN': '1',
[task 2022-05-18T14:09:11.517Z] 14:09:11     INFO -                                                  'RUST_BACKTRACE': '1',
[task 2022-05-18T14:09:11.518Z] 14:09:11     INFO -                                                  'STYLO_THREADS': '1'}}},
[task 2022-05-18T14:09:11.518Z] 14:09:11     INFO -  'host': '127.0.0.1',
[task 2022-05-18T14:09:11.518Z] 14:09:11     INFO -  'port': 36209,
[task 2022-05-18T14:09:11.518Z] 14:09:11     INFO -  'webdriver': {'args': ['-vv'], 'binary': '/builds/worker/fetches/geckodriver'}}
[task 2022-05-18T14:09:11.518Z] 14:09:11     INFO - driver     = <support.fixtures.Geckodriver object at 0x7f03d956ae48>
[task 2022-05-18T14:09:11.518Z] 14:09:11     INFO - extra_args = ['--profile-root',
[task 2022-05-18T14:09:11.518Z] 14:09:11     INFO -  '/tmp/wdspec-_gczsiuf/pytest/test_profile_root0/geckodriver-test']
[task 2022-05-18T14:09:11.518Z] 14:09:11     INFO - geckodriver = <function geckodriver.<locals>._geckodriver at 0x7f03d9504b70>
[task 2022-05-18T14:09:11.518Z] 14:09:11     INFO - profile_path = '/tmp/wdspec-_gczsiuf/pytest/test_profile_root0/geckodriver-test'
[task 2022-05-18T14:09:11.518Z] 14:09:11     INFO - tmp_path   = PosixPath('/tmp/wdspec-_gczsiuf/pytest/test_profile_root0')
[task 2022-05-18T14:09:11.518Z] 14:09:11     INFO - 
[task 2022-05-18T14:09:11.519Z] 14:09:11     INFO - tests/web-platform/mozilla/tests/webdriver/new_session/profile_root.py:21: AssertionError
[task 2022-05-18T14:09:11.520Z] 14:09:11     INFO - .
[task 2022-05-18T14:09:11.520Z] 14:09:11     INFO - TEST-OK | /_mozilla/webdriver/new_session/profile_root.py | took 3572ms

:jgraham, since you are the author of the regressor, bug 1766125, could you take a look?
For more information, please visit auto_nag documentation.

Flags: needinfo?(james)
Assignee: nobody → james
Status: NEW → ASSIGNED

Set release status flags based on info from the regressing bug 1766125

Has Regression Range: --- → yes
Component: General → geckodriver
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/autoland/rev/8f27feac273a
Mark profile test as failing on android, r=webdriver-reviewers,whimboo
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
Flags: needinfo?(james)
Moving bug to Remote Protocol::Marionette component per bug 1815831.
Component: geckodriver → Marionette
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: