Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test automation for custom handlers #35792

Implementing the set_rph_registration_mode testdriver

4cee442
Select commit
Loading
Failed to load commit list.
Merged

Test automation for custom handlers #35792

Implementing the set_rph_registration_mode testdriver
4cee442
Select commit
Loading
Failed to load commit list.
This check has been archived and is scheduled for deletion. Learn more about checks retention
Community-TC Integration / wpt-firefox-nightly-stability succeeded Nov 14, 2023 in 8m 2s

Community-TC (pull_request)

Verify that all tests affected by a pull request are stable when executed in firefox.

Details

View task in Taskcluster
View logs in Taskcluster

WPT Command: python3 ./wpt run --channel=nightly --verify --verify-no-chaos-mode --verify-repeat-loop=0 --verify-repeat-restart=10 --github-checks-text-file=/home/test/artifacts/checkrun.md --affected base_head --log-mach-level=info --log-mach=- -y --no-pause --no-restart-on-unexpected --install-fonts --no-headless --verify-log-full --binary=/home/test/build/firefox/firefox firefox


  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 878, in run_func
    self.result = True, self.func(self.protocol, self.url, self.timeout)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 1006, in do_testharness
    done, rv = handler(result)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 742, in __call__
    return callback(url, payload)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 763, in process_action
    if getattr(e, "obj") == self.protocol:
AttributeError: 'AttributeError' object has no attribute 'obj'
ERROR /html/webappapis/system-state-and-capabilities/the-navigator-object/protocol-handler-query.https.html - Traceback (most recent call last):
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 759, in process_action
    result = action_handler(payload)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/actions.py", line 290, in __call__
    return self.protocol.rph_registrations.set_rph_registration_mode(mode)
AttributeError: 'MarionetteProtocol' object has no attribute 'rph_registrations'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 878, in run_func
    self.result = True, self.func(self.protocol, self.url, self.timeout)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 1006, in do_testharness
    done, rv = handler(result)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 742, in __call__
    return callback(url, payload)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 763, in process_action
    if getattr(e, "obj") == self.protocol:
AttributeError: 'AttributeError' object has no attribute 'obj'
ERROR /html/webappapis/system-state-and-capabilities/the-navigator-object/protocol-handler-query.https.html - Traceback (most recent call last):
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 759, in process_action
    result = action_handler(payload)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/actions.py", line 290, in __call__
    return self.protocol.rph_registrations.set_rph_registration_mode(mode)
AttributeError: 'MarionetteProtocol' object has no attribute 'rph_registrations'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 878, in run_func
    self.result = True, self.func(self.protocol, self.url, self.timeout)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 1006, in do_testharness
    done, rv = handler(result)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 742, in __call__
    return callback(url, payload)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 763, in process_action
    if getattr(e, "obj") == self.protocol:
AttributeError: 'AttributeError' object has no attribute 'obj'
ERROR /html/webappapis/system-state-and-capabilities/the-navigator-object/protocol-handler-query.https.html - Traceback (most recent call last):
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 759, in process_action
    result = action_handler(payload)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/actions.py", line 290, in __call__
    return self.protocol.rph_registrations.set_rph_registration_mode(mode)
AttributeError: 'MarionetteProtocol' object has no attribute 'rph_registrations'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 878, in run_func
    self.result = True, self.func(self.protocol, self.url, self.timeout)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 1006, in do_testharness
    done, rv = handler(result)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 742, in __call__
    return callback(url, payload)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 763, in process_action
    if getattr(e, "obj") == self.protocol:
AttributeError: 'AttributeError' object has no attribute 'obj'
ERROR /html/webappapis/system-state-and-capabilities/the-navigator-object/protocol-handler-query.https.html - Traceback (most recent call last):
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 759, in process_action
    result = action_handler(payload)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/actions.py", line 290, in __call__
    return self.protocol.rph_registrations.set_rph_registration_mode(mode)
AttributeError: 'MarionetteProtocol' object has no attribute 'rph_registrations'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 878, in run_func
    self.result = True, self.func(self.protocol, self.url, self.timeout)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 1006, in do_testharness
    done, rv = handler(result)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 742, in __call__
    return callback(url, payload)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 763, in process_action
    if getattr(e, "obj") == self.protocol:
AttributeError: 'AttributeError' object has no attribute 'obj'
ERROR /html/webappapis/system-state-and-capabilities/the-navigator-object/protocol-handler-query.https.html - Traceback (most recent call last):
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 759, in process_action
    result = action_handler(payload)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/actions.py", line 290, in __call__
    return self.protocol.rph_registrations.set_rph_registration_mode(mode)
AttributeError: 'MarionetteProtocol' object has no attribute 'rph_registrations'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 878, in run_func
    self.result = True, self.func(self.protocol, self.url, self.timeout)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 1006, in do_testharness
    done, rv = handler(result)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 742, in __call__
    return callback(url, payload)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 763, in process_action
    if getattr(e, "obj") == self.protocol:
AttributeError: 'AttributeError' object has no attribute 'obj'
ERROR /html/webappapis/system-state-and-capabilities/the-navigator-object/protocol-handler-query.https.html - Traceback (most recent call last):
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 759, in process_action
    result = action_handler(payload)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/actions.py", line 290, in __call__
    return self.protocol.rph_registrations.set_rph_registration_mode(mode)
AttributeError: 'MarionetteProtocol' object has no attribute 'rph_registrations'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 878, in run_func
    self.result = True, self.func(self.protocol, self.url, self.timeout)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 1006, in do_testharness
    done, rv = handler(result)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 742, in __call__
    return callback(url, payload)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 763, in process_action
    if getattr(e, "obj") == self.protocol:
AttributeError: 'AttributeError' object has no attribute 'obj'
ERROR /html/webappapis/system-state-and-capabilities/the-navigator-object/protocol-handler-query.https.html - Traceback (most recent call last):
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 759, in process_action
    result = action_handler(payload)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/actions.py", line 290, in __call__
    return self.protocol.rph_registrations.set_rph_registration_mode(mode)
AttributeError: 'MarionetteProtocol' object has no attribute 'rph_registrations'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 878, in run_func
    self.result = True, self.func(self.protocol, self.url, self.timeout)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 1006, in do_testharness
    done, rv = handler(result)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 742, in __call__
    return callback(url, payload)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 763, in process_action
    if getattr(e, "obj") == self.protocol:
AttributeError: 'AttributeError' object has no attribute 'obj'
ERROR /html/webappapis/system-state-and-capabilities/the-navigator-object/protocol-handler-query.https.html - Traceback (most recent call last):
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 759, in process_action
    result = action_handler(payload)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/actions.py", line 290, in __call__
    return self.protocol.rph_registrations.set_rph_registration_mode(mode)
AttributeError: 'MarionetteProtocol' object has no attribute 'rph_registrations'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 878, in run_func
    self.result = True, self.func(self.protocol, self.url, self.timeout)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 1006, in do_testharness
    done, rv = handler(result)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 742, in __call__
    return callback(url, payload)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 763, in process_action
    if getattr(e, "obj") == self.protocol:
AttributeError: 'AttributeError' object has no attribute 'obj'
ERROR /html/webappapis/system-state-and-capabilities/the-navigator-object/protocol-handler-query.https.html - Traceback (most recent call last):
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 759, in process_action
    result = action_handler(payload)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/actions.py", line 290, in __call__
    return self.protocol.rph_registrations.set_rph_registration_mode(mode)
AttributeError: 'MarionetteProtocol' object has no attribute 'rph_registrations'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 878, in run_func
    self.result = True, self.func(self.protocol, self.url, self.timeout)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 1006, in do_testharness
    done, rv = handler(result)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 742, in __call__
    return callback(url, payload)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 763, in process_action
    if getattr(e, "obj") == self.protocol:
AttributeError: 'AttributeError' object has no attribute 'obj'
ERROR /html/webappapis/system-state-and-capabilities/the-navigator-object/protocol-handler-query.https.html - Traceback (most recent call last):
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 759, in process_action
    result = action_handler(payload)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/actions.py", line 290, in __call__
    return self.protocol.rph_registrations.set_rph_registration_mode(mode)
AttributeError: 'MarionetteProtocol' object has no attribute 'rph_registrations'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 878, in run_func
    self.result = True, self.func(self.protocol, self.url, self.timeout)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 1006, in do_testharness
    done, rv = handler(result)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 742, in __call__
    return callback(url, payload)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/executors/base.py", line 763, in process_action
    if getattr(e, "obj") == self.protocol:
AttributeError: 'AttributeError' object has no attribute 'obj'
 3:31.11 INFO Got 50 unexpected results, with 0 unexpected passes
 3:31.11 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
 3:31.13 wptserve INFO Stopped http server on 127.0.0.1:8003
 3:31.13 wptserve INFO Stopped http server on 127.0.0.1:8001
 3:31.15 wptserve INFO Stopped http server on 127.0.0.1:8445
 3:31.15 wptserve INFO Stopped http server on 127.0.0.1:8002
 3:31.15 wptserve INFO Stopped http server on 127.0.0.1:8444
 3:31.15 wptserve INFO Stopped http server on 127.0.0.1:8446
 3:31.15 wptserve INFO Stopped http server on 127.0.0.1:9000
 3:31.15 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 3:31.16 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 3:31.31 wptserve INFO Stopped http server on 127.0.0.1:8443
 3:31.45 wptserve INFO Stopped http server on 127.0.0.1:8000
 3:31.49 INFO Removed font: Ahem.ttf
 3:31.51 INFO Closing logging queue
 3:31.51 INFO queue closed
 3:31.53 INFO ::: Ran 10 of expected 10 iterations.
 3:31.53 INFO ## All results ##

 3:31.53 INFO ### /html/webappapis/system-state-and-capabilities/the-navigator-object/protocol-handler-fragment-nosw.https.html ###
 3:31.53 INFO | Subtest | Results | Messages |
 3:31.53 INFO |---------|---------|----------|
 3:31.53 INFO |         | ERROR   |          |
 3:31.53 INFO 
 3:31.53 INFO ### /html/webappapis/system-state-and-capabilities/the-navigator-object/protocol-handler-fragment.https.html ###
 3:31.53 INFO | Subtest | Results | Messages |
 3:31.53 INFO |---------|---------|----------|
 3:31.53 INFO |         | ERROR   |          |
 3:31.53 INFO 
 3:31.53 INFO ### /html/webappapis/system-state-and-capabilities/the-navigator-object/protocol-handler-path.https.html ###
 3:31.53 INFO | Subtest | Results | Messages |
 3:31.53 INFO |---------|---------|----------|
 3:31.53 INFO |         | ERROR   |          |
 3:31.53 INFO 
 3:31.53 INFO ### /html/webappapis/system-state-and-capabilities/the-navigator-object/protocol-handler-query-nosw.https.html ###
 3:31.53 INFO | Subtest | Results | Messages |
 3:31.53 INFO |---------|---------|----------|
 3:31.53 INFO |         | ERROR   |          |
 3:31.53 INFO 
 3:31.53 INFO ### /html/webappapis/system-state-and-capabilities/the-navigator-object/protocol-handler-query.https.html ###
 3:31.53 INFO | Subtest | Results | Messages |
 3:31.53 INFO |---------|---------|----------|
 3:31.53 INFO |         | ERROR   |          |
 3:31.53 INFO 
 3:31.53 INFO ::: Running tests in a loop with restarts 10 times : PASS
 3:31.53 INFO :::
 3:31.53 INFO ::: Test verification PASS
 3:31.53 INFO :::
[taskcluster 2023-11-14 16:31:31.753Z] === Task Finished ===
[taskcluster 2023-11-14 16:31:32.110Z] Successful task run with exit code: 0 completed in 350.163 seconds