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

[grid] Expose register status via Node status response #15448

Merged
merged 11 commits into from
Apr 2, 2025

Conversation

VietND96
Copy link
Member

@VietND96 VietND96 commented Mar 18, 2025

User description

Thanks for contributing to Selenium!
A PR well described will help maintainers to quickly review and merge it

Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, help reviewers by making them as simple and short as possible.

Motivation and Context

Fixes SeleniumHQ/docker-selenium#2705
Currently, Node status response looks like

{
  "value": {
    "ready": true,
    "message": "Ready",
    "node": {
      "availability": "UP",

"ready": true is returned by hasCapability() - this status reflects Node is ready (connected to Bus, has slots available).
However, this does not include registration status.
To have reliable data for adding Node health checks (Docker) or Node startup/readiness probes (K8s), via /status response, we expose one more attribute registered (true/false) for registration status with Hub.

Now, response when Node just up, not registered to Hub yet

{
  "value": {
    "ready": true,
    "message": "Ready",
    "registered": false,
    "node": {
      "availability": "UP",

Once it is able to register to Hub

{
  "value": {
    "ready": true,
    "message": "Ready",
    "registered": true,
    "node": {
      "availability": "UP",

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • I have read the contributing document.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

PR Type

Enhancement


Description

  • Added registered attribute to Node status response for registration status.

  • Updated hasCapacity and hasCapability methods to check Node availability.

  • Introduced isRegistered and register methods in Node class.

  • Enhanced readiness check to include Node registration status.


Changes walkthrough 📝

Relevant files
Enhancement
NodeStatus.java
Update capacity checks with Node availability                       

java/src/org/openqa/selenium/grid/data/NodeStatus.java

  • Updated hasCapability and hasCapacity methods to check Node
    availability.
  • Ensured Node's availability is considered in capacity checks.
  • +6/-3     
    Node.java
    Add registration status tracking to Node                                 

    java/src/org/openqa/selenium/grid/node/Node.java

  • Added registered attribute to track Node registration status.
  • Introduced isRegistered and register methods for registration
    handling.
  • +9/-0     
    StatusHandler.java
    Include registration status in Node status response           

    java/src/org/openqa/selenium/grid/node/StatusHandler.java

  • Added registered attribute to Node status response.
  • Modified response to include registration status.
  • +2/-0     
    NodeServer.java
    Improve readiness check with registration status                 

    java/src/org/openqa/selenium/grid/node/httpd/NodeServer.java

  • Enhanced readiness check to include Node registration status.
  • Updated Node registration event to set registered attribute.
  • +2/-1     

    Need help?
  • Type /help how to ... in the comments thread for any questions about Qodo Merge usage.
  • Check out the documentation for more information.
  • Copy link
    Contributor

    PR Reviewer Guide 🔍

    Here are some key observations to aid the review process:

    ⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
    🧪 No relevant tests
    🔒 No security concerns identified
    ⚡ Recommended focus areas for review

    Incomplete Condition

    The readiness check now checks for both node.isReady() and node.getStatus().hasCapacity(), but the error response doesn't indicate which condition failed. This could make debugging harder.

    if (node.isReady() && node.getStatus().hasCapacity()) {
      return new HttpResponse()
          .setStatus(HTTP_OK)
          .setHeader("Content-Type", MediaType.PLAIN_TEXT_UTF_8.toString())
          .setContent(Contents.utf8String("Node has capacity available"));
    }
    
    return new HttpResponse()
        .setStatus(HTTP_UNAVAILABLE)
        .setHeader("Content-Type", MediaType.PLAIN_TEXT_UTF_8.toString())
        .setContent(Contents.utf8String("Node has no capacity available"));
    Initialization Issue

    The new 'registered' field is added but not initialized. It should be explicitly initialized to false in the constructor to ensure proper state tracking.

    protected boolean registered;

    @VietND96 VietND96 requested a review from pujagani March 18, 2025 11:12
    Copy link
    Contributor

    qodo-merge-pro bot commented Mar 18, 2025

    PR Code Suggestions ✨

    Explore these optional code suggestions:

    CategorySuggestion                                                                                                                                    Impact
    General
    Include registration in readiness check

    The readiness check should also verify that the node is registered. The
    isReady() check might not fully capture the registration state, and the code
    should be consistent with the new registration status tracking.

    java/src/org/openqa/selenium/grid/node/httpd/NodeServer.java [131-137]

     HttpHandler readinessCheck =
         req -> {
    -      if (node.isReady() && node.getStatus().hasCapacity()) {
    +      if (node.isReady() && node.isRegistered() && node.getStatus().hasCapacity()) {
             return new HttpResponse()
                 .setStatus(HTTP_OK)
                 .setHeader("Content-Type", MediaType.PLAIN_TEXT_UTF_8.toString())
                 .setContent(Contents.utf8String("Node has capacity available"));
    • Apply this suggestion
    Suggestion importance[1-10]: 8

    __

    Why: This suggestion correctly identifies that the readiness check should include the new registration status. Since the PR adds registration tracking functionality, ensuring the node is registered before reporting it as ready is important for system consistency and correctness.

    Medium
    Initialize registration state field
    Suggestion Impact:The commit addressed the suggestion by changing the implementation approach. Instead of initializing the boolean field in the constructor, they changed the field to an AtomicBoolean with initialization at declaration, which accomplishes the same goal of ensuring the field has a proper default value (false).

    code diff:

    -  protected boolean registered;
    +  protected final AtomicBoolean draining = new AtomicBoolean(false);
    +  protected final AtomicBoolean registered = new AtomicBoolean(false);

    Initialize the registered field to false in the constructor to ensure it has a
    proper default value. Currently, it's declared but not initialized, which could
    lead to unexpected behavior.

    java/src/org/openqa/selenium/grid/node/Node.java [134-138]

     protected boolean registered;
     
     protected Node(
         Tracer tracer, NodeId id, URI uri, Secret registrationSecret, Duration sessionTimeout) {
       this.tracer = Require.nonNull("Tracer", tracer);
    +  this.registered = false;

    [Suggestion has been applied]

    Suggestion importance[1-10]: 7

    __

    Why: The suggestion addresses a potential issue where the new 'registered' field is declared but not initialized in the constructor. Explicitly initializing it to false ensures consistent behavior across all Node instances and prevents potential bugs from uninitialized state.

    Medium
    • Update

    @VietND96 VietND96 added the B-grid Everything grid and server related label Mar 18, 2025
    Copy link
    Contributor

    qodo-merge-pro bot commented Mar 31, 2025

    CI Feedback 🧐

    (Feedback updated until commit f6f1589)

    A test triggered by this PR failed. Here is an AI-generated analysis of the failure:

    Action: Test / All RBE tests

    Failed stage: Run Bazel [❌]

    Failed test name: Selenium::WebDriver::Firefox::Driver can get and set context

    Failure summary:

    The action failed due to multiple test failures across different components:

    1. Firefox driver test failure:
    - Test Selenium::WebDriver::Firefox::Driver can get and set
    context failed with error: "System access is required to switch to chrome scope. Start Firefox with
    '-remote-allow-system-access' to enable it."

    2. FedCM Chrome tests failures:
    - Multiple tests failed with timeout errors when waiting for
    FedCM dialog

    3. Java BiDi tests failures:
    - DefaultKeyboardTest-chrome failed with error:
    "testSelectionSelectByWord is marked as not yet implemented with CHROME but already works!"
    -
    Several other BiDi and DevTools tests failed with connection issues

    The primary issue appears to be related to Firefox driver configuration missing the required system
    access flag.

    Relevant error logs:
    1:  ##[group]Operating System
    2:  Ubuntu
    ...
    
    945:  Package 'php-sql-formatter' is not installed, so not removed
    946:  Package 'php8.3-ssh2' is not installed, so not removed
    947:  Package 'php-ssh2-all-dev' is not installed, so not removed
    948:  Package 'php8.3-stomp' is not installed, so not removed
    949:  Package 'php-stomp-all-dev' is not installed, so not removed
    950:  Package 'php-swiftmailer' is not installed, so not removed
    951:  Package 'php-symfony' is not installed, so not removed
    952:  Package 'php-symfony-asset' is not installed, so not removed
    953:  Package 'php-symfony-asset-mapper' is not installed, so not removed
    954:  Package 'php-symfony-browser-kit' is not installed, so not removed
    955:  Package 'php-symfony-clock' is not installed, so not removed
    956:  Package 'php-symfony-debug-bundle' is not installed, so not removed
    957:  Package 'php-symfony-doctrine-bridge' is not installed, so not removed
    958:  Package 'php-symfony-dom-crawler' is not installed, so not removed
    959:  Package 'php-symfony-dotenv' is not installed, so not removed
    960:  Package 'php-symfony-error-handler' is not installed, so not removed
    961:  Package 'php-symfony-event-dispatcher' is not installed, so not removed
    ...
    
    1139:  Package 'php-twig-html-extra' is not installed, so not removed
    1140:  Package 'php-twig-i18n-extension' is not installed, so not removed
    1141:  Package 'php-twig-inky-extra' is not installed, so not removed
    1142:  Package 'php-twig-intl-extra' is not installed, so not removed
    1143:  Package 'php-twig-markdown-extra' is not installed, so not removed
    1144:  Package 'php-twig-string-extra' is not installed, so not removed
    1145:  Package 'php8.3-uopz' is not installed, so not removed
    1146:  Package 'php-uopz-all-dev' is not installed, so not removed
    1147:  Package 'php8.3-uploadprogress' is not installed, so not removed
    1148:  Package 'php-uploadprogress-all-dev' is not installed, so not removed
    1149:  Package 'php8.3-uuid' is not installed, so not removed
    1150:  Package 'php-uuid-all-dev' is not installed, so not removed
    1151:  Package 'php-validate' is not installed, so not removed
    1152:  Package 'php-vlucas-phpdotenv' is not installed, so not removed
    1153:  Package 'php-voku-portable-ascii' is not installed, so not removed
    1154:  Package 'php-wmerrors' is not installed, so not removed
    1155:  Package 'php-xdebug-all-dev' is not installed, so not removed
    ...
    
    1823:  65 |   for (int i = 0; i < current_segments.size(); ++i) {
    1824:  |                   ~~^~~~~~~~~~~~~~~~~~~~~~~~~
    1825:  (13:35:18) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/action_test.html -> javascript/atoms/test/action_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    1826:  (13:35:18) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/attribute_test.html -> javascript/atoms/test/attribute_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    1827:  (13:35:18) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/child_locator_test.html -> javascript/atoms/test/child_locator_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    1828:  (13:35:18) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/click_link_test.html -> javascript/atoms/test/click_link_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    1829:  (13:35:18) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/click_submit_test.html -> javascript/atoms/test/click_submit_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    1830:  (13:35:18) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/click_test.html -> javascript/atoms/test/click_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    1831:  (13:35:18) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/clientrect_test.html -> javascript/atoms/test/clientrect_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    1832:  (13:35:18) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/color_test.html -> javascript/atoms/test/color_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    1833:  (13:35:18) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/deps.js -> javascript/atoms/test/deps.js obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    1834:  (13:35:18) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/dom_test.html -> javascript/atoms/test/dom_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    1835:  (13:35:18) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/drag_test.html -> javascript/atoms/test/drag_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    1836:  (13:35:18) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/enabled_test.html -> javascript/atoms/test/enabled_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    1837:  (13:35:18) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/enter_submit_test.html -> javascript/atoms/test/enter_submit_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    1838:  (13:35:18) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/error_test.html -> javascript/atoms/test/error_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    1839:  (13:35:18) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/events_test.html -> javascript/atoms/test/events_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    ...
    
    1950:  (13:35:20) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/webdriver/BUILD.bazel:66:19: runfiles symlink javascript/webdriver/test/atoms/inject/nested_iframes.html -> javascript/webdriver/test/atoms/inject/nested_iframes.html obscured by javascript/webdriver/test -> bazel-out/k8-fastbuild/bin/javascript/webdriver/test
    1951:  (13:35:20) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/webdriver/BUILD.bazel:66:19: runfiles symlink javascript/webdriver/test/atoms/inject/single_iframe.html -> javascript/webdriver/test/atoms/inject/single_iframe.html obscured by javascript/webdriver/test -> bazel-out/k8-fastbuild/bin/javascript/webdriver/test
    1952:  (13:35:20) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/webdriver/BUILD.bazel:66:19: runfiles symlink javascript/webdriver/test/atoms/inject/sql_database_test.html -> javascript/webdriver/test/atoms/inject/sql_database_test.html obscured by javascript/webdriver/test -> bazel-out/k8-fastbuild/bin/javascript/webdriver/test
    1953:  (13:35:20) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/webdriver/BUILD.bazel:66:19: runfiles symlink javascript/webdriver/test/atoms/kitten.jpg -> javascript/webdriver/test/atoms/kitten.jpg obscured by javascript/webdriver/test -> bazel-out/k8-fastbuild/bin/javascript/webdriver/test
    1954:  (13:35:20) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/webdriver/BUILD.bazel:66:19: runfiles symlink javascript/webdriver/test/atoms/storage/local_storage_test.html -> javascript/webdriver/test/atoms/storage/local_storage_test.html obscured by javascript/webdriver/test -> bazel-out/k8-fastbuild/bin/javascript/webdriver/test
    1955:  (13:35:20) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/webdriver/BUILD.bazel:66:19: runfiles symlink javascript/webdriver/test/atoms/storage/session_storage_test.html -> javascript/webdriver/test/atoms/storage/session_storage_test.html obscured by javascript/webdriver/test -> bazel-out/k8-fastbuild/bin/javascript/webdriver/test
    1956:  (13:35:20) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/webdriver/BUILD.bazel:66:19: runfiles symlink javascript/webdriver/test/http/corsclient_test.js -> javascript/webdriver/test/http/corsclient_test.js obscured by javascript/webdriver/test -> bazel-out/k8-fastbuild/bin/javascript/webdriver/test
    1957:  (13:35:20) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/webdriver/BUILD.bazel:66:19: runfiles symlink javascript/webdriver/test/http/http_test.js -> javascript/webdriver/test/http/http_test.js obscured by javascript/webdriver/test -> bazel-out/k8-fastbuild/bin/javascript/webdriver/test
    1958:  (13:35:20) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/webdriver/BUILD.bazel:66:19: runfiles symlink javascript/webdriver/test/http/xhrclient_test.js -> javascript/webdriver/test/http/xhrclient_test.js obscured by javascript/webdriver/test -> bazel-out/k8-fastbuild/bin/javascript/webdriver/test
    1959:  (13:35:20) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/webdriver/BUILD.bazel:66:19: runfiles symlink javascript/webdriver/test/logging_test.js -> javascript/webdriver/test/logging_test.js obscured by javascript/webdriver/test -> bazel-out/k8-fastbuild/bin/javascript/webdriver/test
    1960:  (13:35:20) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/webdriver/BUILD.bazel:66:19: runfiles symlink javascript/webdriver/test/stacktrace_test.js -> javascript/webdriver/test/stacktrace_test.js obscured by javascript/webdriver/test -> bazel-out/k8-fastbuild/bin/javascript/webdriver/test
    1961:  (13:35:20) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/webdriver/BUILD.bazel:66:19: runfiles symlink javascript/webdriver/test/test_bootstrap.js -> javascript/webdriver/test/test_bootstrap.js obscured by javascript/webdriver/test -> bazel-out/k8-fastbuild/bin/javascript/webdriver/test
    1962:  (13:35:20) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/webdriver/BUILD.bazel:66:19: runfiles symlink javascript/webdriver/test/testutil.js -> javascript/webdriver/test/testutil.js obscured by javascript/webdriver/test -> bazel-out/k8-fastbuild/bin/javascript/webdriver/test
    1963:  (13:35:20) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/webdriver/BUILD.bazel:66:19: runfiles symlink javascript/webdriver/test/testutil_test.js -> javascript/webdriver/test/testutil_test.js obscured by javascript/webdriver/test -> bazel-out/k8-fastbuild/bin/javascript/webdriver/test
    1964:  (13:35:21) �[32mINFO: �[0mFrom Building java/src/org/openqa/selenium/remote/libapi-class.jar (70 source files):
    1965:  java/src/org/openqa/selenium/remote/ErrorHandler.java:46: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1966:  private final ErrorCodes errorCodes;
    1967:  ^
    1968:  java/src/org/openqa/selenium/remote/ErrorHandler.java:60: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1969:  this.errorCodes = new ErrorCodes();
    1970:  ^
    1971:  java/src/org/openqa/selenium/remote/ErrorHandler.java:68: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1972:  public ErrorHandler(ErrorCodes codes, boolean includeServerErrors) {
    1973:  ^
    1974:  java/src/org/openqa/selenium/remote/Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1975:  ErrorCodes errorCodes = new ErrorCodes();
    1976:  ^
    1977:  java/src/org/openqa/selenium/remote/Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1978:  ErrorCodes errorCodes = new ErrorCodes();
    1979:  ^
    1980:  java/src/org/openqa/selenium/remote/ProtocolHandshake.java:181: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1981:  response.setStatus(ErrorCodes.SUCCESS);
    1982:  ^
    1983:  java/src/org/openqa/selenium/remote/ProtocolHandshake.java:182: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1984:  response.setState(ErrorCodes.SUCCESS_STRING);
    1985:  ^
    1986:  java/src/org/openqa/selenium/remote/W3CHandshakeResponse.java:53: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1987:  new ErrorCodes().toStatus((String) rawError, Optional.of(tuple.getStatusCode())));
    1988:  ^
    1989:  java/src/org/openqa/selenium/remote/W3CHandshakeResponse.java:56: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1990:  new ErrorCodes().getExceptionType((String) rawError);
    1991:  ^
    1992:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:44: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1993:  private final ErrorCodes errorCodes = new ErrorCodes();
    1994:  ^
    1995:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:44: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1996:  private final ErrorCodes errorCodes = new ErrorCodes();
    1997:  ^
    1998:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:55: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    1999:  int status = response.getStatus() == ErrorCodes.SUCCESS ? HTTP_OK : HTTP_INTERNAL_ERROR;
    2000:  ^
    2001:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:101: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2002:  response.setStatus(ErrorCodes.UNKNOWN_COMMAND);
    2003:  ^
    2004:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:103: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2005:  response.setStatus(ErrorCodes.UNHANDLED_ERROR);
    2006:  ^
    2007:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:117: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2008:  response.setStatus(ErrorCodes.SUCCESS);
    2009:  ^
    2010:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:118: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2011:  response.setState(errorCodes.toState(ErrorCodes.SUCCESS));
    2012:  ^
    2013:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:124: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2014:  response.setState(errorCodes.toState(ErrorCodes.SUCCESS));
    2015:  ^
    2016:  java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:70: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2017:  private final ErrorCodes errorCodes = new ErrorCodes();
    2018:  ^
    2019:  java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:70: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2020:  private final ErrorCodes errorCodes = new ErrorCodes();
    2021:  ^
    2022:  java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:93: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2023:  response.setStatus(ErrorCodes.UNKNOWN_COMMAND);
    2024:  ^
    2025:  java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:98: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2026:  response.setStatus(ErrorCodes.UNHANDLED_ERROR);
    2027:  ^
    2028:  java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:145: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2029:  response.setStatus(ErrorCodes.SUCCESS);
    2030:  ^
    ...
    
    2156:  (13:35:34) �[32mAnalyzing:�[0m 2192 targets (1652 packages loaded, 59871 targets configured)
    2157:  �[32m[9,732 / 10,617]�[0m 124 / 1571 tests;�[0m [Prepa] Testing //rb/spec/unit/selenium/webdriver/common/interactions:key_actions ... (24 actions, 0 running)
    2158:  (13:35:39) �[32mAnalyzing:�[0m 2192 targets (1654 packages loaded, 60133 targets configured)
    2159:  �[32m[9,740 / 10,675]�[0m 132 / 1571 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver/firefox:profile-firefox-beta; 5s ... (50 actions, 0 running)
    2160:  (13:35:44) �[32mAnalyzing:�[0m 2192 targets (1654 packages loaded, 60307 targets configured)
    2161:  �[32m[9,777 / 10,761]�[0m 148 / 1571 tests;�[0m Testing //rb/spec/integration/selenium/webdriver/firefox:driver-firefox-beta; 8s remote, remote-cache ... (50 actions, 0 running)
    2162:  (13:35:50) �[32mAnalyzing:�[0m 2192 targets (1654 packages loaded, 60526 targets configured)
    2163:  �[32m[9,793 / 11,333]�[0m 154 / 1791 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:target_locator-firefox-bidi; 9s remote, remote-cache ... (50 actions, 1 running)
    2164:  (13:35:55) �[32mAnalyzing:�[0m 2192 targets (1654 packages loaded, 63336 targets configured)
    2165:  �[32m[9,834 / 11,614]�[0m 183 / 1902 tests;�[0m Testing //rb/spec/integration/selenium/webdriver/firefox:driver-firefox-beta; 9s remote, remote-cache ... (50 actions, 1 running)
    2166:  (13:36:00) �[32mAnalyzing:�[0m 2192 targets (1654 packages loaded, 63709 targets configured)
    2167:  �[32m[10,014 / 11,730]�[0m 255 / 1937 tests;�[0m Testing //rb/spec/integration/selenium/webdriver/firefox:driver-firefox-beta; 14s remote, remote-cache ... (49 actions, 2 running)
    2168:  (13:36:05) �[32mAnalyzing:�[0m 2192 targets (1654 packages loaded, 63746 targets configured)
    2169:  �[32m[10,657 / 12,145]�[0m 347 / 1974 tests;�[0m Testing //rb/spec/integration/selenium/webdriver/firefox:driver-firefox-beta; 19s remote, remote-cache ... (48 actions, 3 running)
    2170:  (13:36:08) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/libsmall-tests-test-lib.jar (5 source files) and running annotation processors (AutoServiceProcessor):
    2171:  java/test/org/openqa/selenium/remote/WebDriverFixture.java:170: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2172:  response.setStatus(new ErrorCodes().toStatus(state, Optional.of(400)));
    2173:  ^
    2174:  (13:36:10) �[32mAnalyzing:�[0m 2192 targets (1654 packages loaded, 63780 targets configured)
    2175:  �[32m[11,386 / 12,602]�[0m 463 / 2009 tests;�[0m Testing //rb/spec/integration/selenium/webdriver/firefox:driver-firefox-beta; 24s remote, remote-cache ... (50 actions, 3 running)
    2176:  (13:36:10) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.jar (1 source file):
    2177:  java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.java:26: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2178:  import static org.openqa.selenium.remote.ErrorCodes.METHOD_NOT_ALLOWED;
    2179:  ^
    2180:  java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.java:55: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2181:  assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.SUCCESS);
    2182:  ^
    2183:  java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.java:81: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2184:  assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.UNHANDLED_ERROR);
    2185:  ^
    2186:  java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.java:107: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2187:  assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.UNHANDLED_ERROR);
    2188:  ^
    2189:  (13:36:10) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/ErrorHandlerTest.jar (1 source file) and running annotation processors (AutoServiceProcessor):
    2190:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:79: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2191:  handler.throwIfResponseFailed(createResponse(ErrorCodes.SUCCESS), 100);
    2192:  ^
    2193:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:85: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2194:  assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_WINDOW, NoSuchWindowException.class);
    2195:  ^
    2196:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:86: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2197:  assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_FRAME, NoSuchFrameException.class);
    2198:  ^
    2199:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:87: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2200:  assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_ELEMENT, NoSuchElementException.class);
    2201:  ^
    2202:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:88: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2203:  assertThrowsCorrectExceptionType(ErrorCodes.UNKNOWN_COMMAND, UnsupportedCommandException.class);
    2204:  ^
    2205:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:90: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2206:  ErrorCodes.METHOD_NOT_ALLOWED, UnsupportedCommandException.class);
    2207:  ^
    2208:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:92: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2209:  ErrorCodes.STALE_ELEMENT_REFERENCE, StaleElementReferenceException.class);
    2210:  ^
    2211:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:94: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2212:  ErrorCodes.INVALID_ELEMENT_STATE, InvalidElementStateException.class);
    2213:  ^
    2214:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:95: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2215:  assertThrowsCorrectExceptionType(ErrorCodes.XPATH_LOOKUP_ERROR, InvalidSelectorException.class);
    2216:  ^
    2217:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:107: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2218:  Response response = createResponse(ErrorCodes.UNHANDLED_ERROR);
    2219:  ^
    2220:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:120: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2221:  createResponse(ErrorCodes.UNHANDLED_ERROR, "boom"), 123))
    2222:  ^
    2223:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:133: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2224:  createResponse(ErrorCodes.UNHANDLED_ERROR, ImmutableMap.of("message", "boom")),
    2225:  ^
    2226:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:147: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2227:  ErrorCodes.UNHANDLED_ERROR,
    2228:  ^
    2229:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:167: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2230:  ErrorCodes.UNHANDLED_ERROR,
    2231:  ^
    2232:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:193: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2233:  createResponse(ErrorCodes.UNHANDLED_ERROR, toMap(serverError)), 123))
    2234:  ^
    2235:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:214: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2236:  createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))
    2237:  ^
    2238:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:248: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2239:  createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))
    2240:  ^
    2241:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:280: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2242:  createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))
    2243:  ^
    2244:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:308: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2245:  createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))
    2246:  ^
    2247:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:327: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2248:  createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))
    2249:  ^
    2250:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:355: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2251:  createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))
    2252:  ^
    2253:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:394: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2254:  createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))
    2255:  ^
    2256:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:426: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2257:  createResponse(ErrorCodes.UNHANDLED_ERROR, toMap(serverError)), 123))
    2258:  ^
    2259:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:435: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2260:  exceptions.put(ErrorCodes.NO_SUCH_SESSION, NoSuchSessionException.class);
    2261:  ^
    2262:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:436: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2263:  exceptions.put(ErrorCodes.NO_SUCH_ELEMENT, NoSuchElementException.class);
    2264:  ^
    2265:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:437: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2266:  exceptions.put(ErrorCodes.NO_SUCH_FRAME, NoSuchFrameException.class);
    2267:  ^
    2268:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:438: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2269:  exceptions.put(ErrorCodes.UNKNOWN_COMMAND, UnsupportedCommandException.class);
    2270:  ^
    2271:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:439: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2272:  exceptions.put(ErrorCodes.STALE_ELEMENT_REFERENCE, StaleElementReferenceException.class);
    2273:  ^
    2274:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:440: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2275:  exceptions.put(ErrorCodes.INVALID_ELEMENT_STATE, InvalidElementStateException.class);
    2276:  ^
    2277:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:441: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2278:  exceptions.put(ErrorCodes.UNHANDLED_ERROR, WebDriverException.class);
    2279:  ^
    2280:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:442: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2281:  exceptions.put(ErrorCodes.JAVASCRIPT_ERROR, JavascriptException.class);
    2282:  ^
    2283:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:443: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2284:  exceptions.put(ErrorCodes.XPATH_LOOKUP_ERROR, InvalidSelectorException.class);
    2285:  ^
    2286:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:444: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2287:  exceptions.put(ErrorCodes.TIMEOUT, TimeoutException.class);
    2288:  ^
    2289:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:445: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2290:  exceptions.put(ErrorCodes.NO_SUCH_WINDOW, NoSuchWindowException.class);
    2291:  ^
    2292:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:446: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2293:  exceptions.put(ErrorCodes.INVALID_COOKIE_DOMAIN, InvalidCookieDomainException.class);
    2294:  ^
    2295:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:447: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2296:  exceptions.put(ErrorCodes.UNABLE_TO_SET_COOKIE, UnableToSetCookieException.class);
    2297:  ^
    2298:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:448: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2299:  exceptions.put(ErrorCodes.UNEXPECTED_ALERT_PRESENT, UnhandledAlertException.class);
    2300:  ^
    2301:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:449: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2302:  exceptions.put(ErrorCodes.NO_ALERT_PRESENT, NoAlertPresentException.class);
    2303:  ^
    2304:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:450: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2305:  exceptions.put(ErrorCodes.ASYNC_SCRIPT_TIMEOUT, ScriptTimeoutException.class);
    2306:  ^
    2307:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:451: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2308:  exceptions.put(ErrorCodes.INVALID_SELECTOR_ERROR, InvalidSelectorException.class);
    2309:  ^
    2310:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:452: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2311:  exceptions.put(ErrorCodes.SESSION_NOT_CREATED, SessionNotCreatedException.class);
    2312:  ^
    2313:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:453: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2314:  exceptions.put(ErrorCodes.MOVE_TARGET_OUT_OF_BOUNDS, MoveTargetOutOfBoundsException.class);
    2315:  ^
    2316:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:454: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2317:  exceptions.put(ErrorCodes.INVALID_XPATH_SELECTOR, InvalidSelectorException.class);
    2318:  ^
    2319:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:455: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2320:  exceptions.put(ErrorCodes.INVALID_XPATH_SELECTOR_RETURN_TYPER, InvalidSelectorException.class);
    2321:  ^
    2322:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:469: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2323:  ? ErrorCodes.INVALID_SELECTOR_ERROR
    2324:  ^
    2325:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:471: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2326:  assertThat(new ErrorCodes().toStatusCode(e)).isEqualTo(expected);
    2327:  ^
    2328:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:483: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2329:  response.setState(new ErrorCodes().toState(status));
    2330:  ^
    2331:  (13:36:14) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/json/JsonTest.jar (1 source file):
    2332:  java/test/org/openqa/selenium/json/JsonTest.java:430: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2333:  assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(0));
    2334:  ^
    2335:  java/test/org/openqa/selenium/json/JsonTest.java:441: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2336:  assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(0));
    2337:  ^
    2338:  java/test/org/openqa/selenium/json/JsonTest.java:454: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2339:  assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(32));
    2340:  ^
    2341:  (13:36:14) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/RemotableByTest.jar (1 source file) and running annotation processors (AutoServiceProcessor):
    2342:  java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2343:  import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;
    2344:  ^
    2345:  java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2346:  import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;
    2347:  ^
    2348:  java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2349:  import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;
    2350:  ^
    2351:  java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2352:  private final ErrorCodes errorCodes = new ErrorCodes();
    2353:  ^
    2354:  java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2355:  private final ErrorCodes errorCodes = new ErrorCodes();
    2356:  ^
    2357:  java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2358:  private final ErrorCodes errorCodes = new ErrorCodes();
    2359:  ^
    2360:  java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2361:  private final ErrorCodes errorCodes = new ErrorCodes();
    2362:  ^
    ...
    
    2430:  (13:37:12) �[32m[15,163 / 15,684]�[0m 1597 / 2192 tests;�[0m Testing //rb/spec/integration/selenium/webdriver/firefox:driver-firefox-beta; 86s remote, remote-cache ... (50 actions, 4 running)
    2431:  (13:37:18) �[32m[15,163 / 15,684]�[0m 1597 / 2192 tests;�[0m Testing //rb/spec/integration/selenium/webdriver/firefox:driver-firefox-beta; 93s remote, remote-cache ... (50 actions, 4 running)
    2432:  (13:37:24) �[32m[15,165 / 15,707]�[0m 1598 / 2192 tests;�[0m Testing //rb/spec/integration/selenium/webdriver/firefox:driver-firefox-beta; 98s remote, remote-cache ... (49 actions, 6 running)
    2433:  (13:37:32) �[32m[15,167 / 15,764]�[0m 1599 / 2192 tests;�[0m Testing //rb/spec/integration/selenium/webdriver/firefox:driver-firefox-beta; 106s remote, remote-cache ... (50 actions, 6 running)
    2434:  (13:37:38) �[32m[15,167 / 15,764]�[0m 1599 / 2192 tests;�[0m Testing //rb/spec/integration/selenium/webdriver/firefox:driver-firefox-beta; 113s remote, remote-cache ... (50 actions, 6 running)
    2435:  (13:37:50) �[32m[15,167 / 15,764]�[0m 1599 / 2192 tests;�[0m Testing //rb/spec/integration/selenium/webdriver/firefox:driver-firefox-beta; 124s remote, remote-cache ... (50 actions, 7 running)
    2436:  (13:37:57) �[32m[15,167 / 15,764]�[0m 1599 / 2192 tests;�[0m Testing //rb/spec/integration/selenium/webdriver/firefox:driver-firefox-beta; 131s remote, remote-cache ... (50 actions, 8 running)
    2437:  (13:38:04) �[32m[15,167 / 15,764]�[0m 1599 / 2192 tests;�[0m Testing //rb/spec/integration/selenium/webdriver/firefox:driver-firefox-beta; 138s remote, remote-cache ... (50 actions, 9 running)
    2438:  (13:38:09) �[32m[15,174 / 15,764]�[0m 1606 / 2192 tests;�[0m Testing //rb/spec/integration/selenium/webdriver/firefox:driver-firefox-beta; 143s remote, remote-cache ... (50 actions, 8 running)
    2439:  (13:38:14) �[32m[15,177 / 15,764]�[0m 1609 / 2192 tests;�[0m Testing //rb/spec/integration/selenium/webdriver/firefox:driver-firefox-beta; 148s remote, remote-cache ... (50 actions, 8 running)
    2440:  (13:38:21) �[32m[15,180 / 15,764]�[0m 1612 / 2192 tests;�[0m Testing //rb/spec/integration/selenium/webdriver/firefox:driver-firefox-beta; 155s remote, remote-cache ... (50 actions, 9 running)
    2441:  (13:38:27) �[32m[15,182 / 15,764]�[0m 1614 / 2192 tests;�[0m Testing //rb/spec/integration/selenium/webdriver/firefox:driver-firefox-beta; 161s remote, remote-cache ... (50 actions, 10 running)
    2442:  (13:38:32) �[32m[15,182 / 15,764]�[0m 1614 / 2192 tests;�[0m Testing //rb/spec/integration/selenium/webdriver/firefox:driver-firefox-beta; 166s remote, remote-cache ... (50 actions, 12 running)
    2443:  (13:38:38) �[32m[15,182 / 15,764]�[0m 1614 / 2192 tests;�[0m Testing //rb/spec/integration/selenium/webdriver/firefox:driver-firefox-beta; 173s remote, remote-cache ... (50 actions, 14 running)
    2444:  (13:38:39) �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver/firefox:driver-firefox-beta (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/firefox/driver-firefox-beta/test.log)
    2445:  �[31m�[1mFAILED: �[0m//rb/spec/integration/selenium/webdriver/firefox:driver-firefox-beta (Summary)
    2446:  /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/firefox/driver-firefox-beta/test.log
    2447:  /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/firefox/driver-firefox-beta/test_attempts/attempt_1.log
    2448:  (13:38:39) �[32mINFO: �[0mFrom Testing //rb/spec/integration/selenium/webdriver/firefox:driver-firefox-beta:
    2449:  ==================== Test output for //rb/spec/integration/selenium/webdriver/firefox:driver-firefox-beta:
    2450:  Running Ruby specs:
    2451:  browser: firefox
    2452:  driver: firefox
    2453:  version: 138.0
    2454:  platform: linux
    2455:  ci: github
    2456:  rbe: true
    2457:  ruby: jruby 9.4.12.0 (3.1.4) 2025-02-11 f4ab75096a OpenJDK 64-Bit Server VM 17.0.11+9-LTS on 17.0.11+9-LTS [x86_64-linux]
    2458:  Selenium::WebDriver::Firefox::Driver
    2459:  can get and set context (FAILED - 1)
    2460:  #print_options
    2461:  returns base64 for print command
    2462:  prints with orientation
    2463:  prints with valid params
    2464:  prints full page
    2465:  #install_addon
    2466:  install and uninstall xpi file
    2467:  install and uninstall signed zip file
    2468:  install and uninstall unsigned zip file
    2469:  install and uninstall signed directory
    2470:  install and uninstall unsigned directory
    2471:  Failures:
    2472:  1) Selenium::WebDriver::Firefox::Driver can get and set context
    2473:  Failure/Error: driver.context = 'chrome'
    2474:  Selenium::WebDriver::Error::UnsupportedOperationError:
    2475:  System access is required to switch to chrome scope. Start Firefox with "-remote-allow-system-access" to enable it.
    2476:  # ./rb/lib/selenium/webdriver/remote/response.rb:63:in `add_cause'
    2477:  # ./rb/lib/selenium/webdriver/remote/response.rb:41:in `error'
    2478:  # ./rb/lib/selenium/webdriver/remote/response.rb:52:in `assert_ok'
    2479:  # ./rb/lib/selenium/webdriver/remote/response.rb:34:in `initialize'
    2480:  # ./rb/lib/selenium/webdriver/remote/http/common.rb:103:in `create_response'
    2481:  # ./rb/lib/selenium/webdriver/remote/http/default.rb:103:in `request'
    2482:  # ./rb/lib/selenium/webdriver/remote/http/common.rb:68:in `call'
    2483:  # ./rb/lib/selenium/webdriver/remote/bridge.rb:625:in `execute'
    2484:  # ./rb/lib/selenium/webdriver/firefox/features.rb:61:in `context='
    2485:  # ./rb/lib/selenium/webdriver/common/driver_extensions/has_context.rb:33:in `context='
    2486:  # ./rb/spec/integration/selenium/webdriver/firefox/driver_spec.rb:149:in `block in Firefox'
    2487:  # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:178:in `create_driver!'
    2488:  # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:61:in `driver_instance'
    2489:  # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:70:in `reset_driver!'
    2490:  # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in `reset_driver!'
    2491:  # ./rb/spec/integration/selenium/webdriver/firefox/driver_spec.rb:146:in `block in Firefox'
    2492:  # ------------------
    2493:  # --- Caused by: ---
    2494:  # Selenium::WebDriver::Error::WebDriverError:
    2495:  #   RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8
    2496:  WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:199:5
    2497:  UnsupportedOperationError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:927:5
    2498:  set@chrome://remote/content/marionette/driver.sys.mjs:338:13
    2499:  GeckoDriver.prototype.setContext@chrome://remote/content/marionette/driver.sys.mjs:811:3
    2500:  despatch@chrome://remote/content/marionette/server.sys.mjs:318:40
    2501:  execute@chrome://remote/content/marionette/server.sys.mjs:289:16
    2502:  onPacket/<@chrome://remote/content/marionette/server.sys.mjs:262:20
    2503:  onPacket@chrome://remote/content/marionette/server.sys.mjs:263:9
    2504:  _onJSONObjectReady/<@chrome://remote/content/marionette/transport.sys.mjs:494:20
    2505:  Finished in 34.72 seconds (files took 2.45 seconds to load)
    2506:  10 examples, 1 failure
    2507:  Failed examples:
    2508:  rspec ./rb/spec/integration/selenium/webdriver/firefox/driver_spec.rb:145 # Selenium::WebDriver::Firefox::Driver can get and set context
    2509:  Execution result: https://gypsum.cluster.engflow.com/actions/executions/ChBeSmU5iHFV9rPEE0Bmqxu1EgdkZWZhdWx0GiUKIAgUnyEPuhCJrZhKbbi3u24y5OvNy4zWNFKc0E3oG9JJELwD
    2510:  ================================================================================
    2511:  ==================== Test output for //rb/spec/integration/selenium/webdriver/firefox:driver-firefox-beta:
    2512:  Running Ruby specs:
    2513:  browser: firefox
    2514:  driver: firefox
    2515:  version: 138.0
    2516:  platform: linux
    2517:  ci: github
    2518:  rbe: true
    2519:  ruby: jruby 9.4.12.0 (3.1.4) 2025-02-11 f4ab75096a OpenJDK 64-Bit Server VM 17.0.11+9-LTS on 17.0.11+9-LTS [x86_64-linux]
    2520:  Selenium::WebDriver::Firefox::Driver
    2521:  can get and set context (FAILED - 1)
    2522:  #print_options
    2523:  returns base64 for print command
    2524:  prints with orientation
    2525:  prints with valid params
    2526:  prints full page
    2527:  #install_addon
    2528:  install and uninstall xpi file
    2529:  install and uninstall signed zip file
    2530:  install and uninstall unsigned zip file
    2531:  install and uninstall signed directory
    2532:  install and uninstall unsigned directory
    2533:  Failures:
    2534:  1) Selenium::WebDriver::Firefox::Driver can get and set context
    2535:  Failure/Error: driver.context = 'chrome'
    2536:  Selenium::WebDriver::Error::UnsupportedOperationError:
    2537:  System access is required to switch to chrome scope. Start Firefox with "-remote-allow-system-access" to enable it.
    2538:  # ./rb/lib/selenium/webdriver/remote/response.rb:63:in `add_cause'
    2539:  # ./rb/lib/selenium/webdriver/remote/response.rb:41:in `error'
    2540:  # ./rb/lib/selenium/webdriver/remote/response.rb:52:in `assert_ok'
    2541:  # ./rb/lib/selenium/webdriver/remote/response.rb:34:in `initialize'
    2542:  # ./rb/lib/selenium/webdriver/remote/http/common.rb:103:in `create_response'
    2543:  # ./rb/lib/selenium/webdriver/remote/http/default.rb:103:in `request'
    2544:  # ./rb/lib/selenium/webdriver/remote/http/common.rb:68:in `call'
    2545:  # ./rb/lib/selenium/webdriver/remote/bridge.rb:625:in `execute'
    2546:  # ./rb/lib/selenium/webdriver/firefox/features.rb:61:in `context='
    2547:  # ./rb/lib/selenium/webdriver/common/driver_extensions/has_context.rb:33:in `context='
    2548:  # ./rb/spec/integration/selenium/webdriver/firefox/driver_spec.rb:149:in `block in Firefox'
    2549:  # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:178:in `create_driver!'
    2550:  # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:61:in `driver_instance'
    2551:  # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:70:in `reset_driver!'
    2552:  # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in `reset_driver!'
    2553:  # ./rb/spec/integration/selenium/webdriver/firefox/driver_spec.rb:146:in `block in Firefox'
    2554:  # ------------------
    2555:  # --- Caused by: ---
    2556:  # Selenium::WebDriver::Error::WebDriverError:
    2557:  #   RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8
    2558:  WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:199:5
    2559:  UnsupportedOperationError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:927:5
    2560:  set@chrome://remote/content/marionette/driver.sys.mjs:338:13
    2561:  GeckoDriver.prototype.setContext@chrome://remote/content/marionette/driver.sys.mjs:811:3
    2562:  despatch@chrome://remote/content/marionette/server.sys.mjs:318:40
    2563:  execute@chrome://remote/content/marionette/server.sys.mjs:289:16
    2564:  onPacket/<@chrome://remote/content/marionette/server.sys.mjs:262:20
    2565:  onPacket@chrome://remote/content/marionette/server.sys.mjs:263:9
    2566:  _onJSONObjectReady/<@chrome://remote/content/marionette/transport.sys.mjs:494:20
    2567:  Finished in 33.72 seconds (files took 2.68 seconds to load)
    2568:  10 examples, 1 failure
    2569:  Failed examples:
    2570:  rspec ./rb/spec/integration/selenium/webdriver/firefox/driver_spec.rb:145 # Selenium::WebDriver::Firefox::Driver can get and set context
    2571:  Execution result: https://gypsum.cluster.engflow.com/actions/executions/ChBeSmU5iHFV9rPEE0Bmqxu1EgdkZWZhdWx0GiUKIAgUnyEPuhCJrZhKbbi3u24y5OvNy4zWNFKc0E3oG9JJELwD
    2572:  ================================================================================
    2573:  (13:38:44) �[32m[15,190 / 15,764]�[0m 1621 / 2192 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:fedcm-chrome; 164s remote, remote-cache ... (50 actions, 20 running)
    2574:  (13:38:51) �[32m[15,190 / 15,764]�[0m 1621 / 2192 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:fedcm-chrome; 171s remote, remote-cache ... (50 actions, 21 running)
    2575:  (13:38:56) �[32m[15,190 / 15,764]�[0m 1621 / 2192 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:fedcm-chrome; 176s remote, remote-cache ... (50 actions, 26 running)
    2576:  (13:39:02) �[32m[15,190 / 15,764]�[0m 1621 / 2192 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:fedcm-chrome; 182s remote, remote-cache ... (50 actions, 29 running)
    2577:  (13:39:07) �[32m[15,194 / 15,764]�[0m 1625 / 2192 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:fedcm-chrome; 188s remote, remote-cache ... (50 actions, 31 running)
    2578:  (13:39:15) �[32m[15,194 / 15,764]�[0m 1625 / 2192 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:fedcm-chrome; 196s remote, remote-cache ... (50 actions, 34 running)
    2579:  (13:39:22) �[32m[15,194 / 15,764]�[0m 1625 / 2192 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:fedcm-chrome; 203s remote, remote-cache ... (50 actions, 37 running)
    2580:  (13:39:29) �[32m[15,194 / 15,764]�[0m 1625 / 2192 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:fedcm-chrome; 209s remote, remote-cache ... (50 actions, 38 running)
    2581:  (13:39:34) �[32m[15,207 / 15,764]�[0m 1638 / 2192 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:fedcm-chrome; 214s remote, remote-cache ... (50 actions, 37 running)
    2582:  (13:39:39) �[32m[15,220 / 15,764]�[0m 1651 / 2192 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:fedcm-chrome; 219s remote, remote-cache ... (50 actions, 37 running)
    2583:  (13:39:44) �[32m[15,231 / 15,764]�[0m 1662 / 2192 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:fedcm-chrome; 224s remote, remote-cache ... (50 actions, 37 running)
    2584:  (13:39:48) �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:fedcm-chrome (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/fedcm-chrome/test.log)
    2585:  ==================== Test output for //rb/spec/integration/selenium/webdriver:fedcm-chrome:
    2586:  �[31m�[1mFAILED: �[0m//rb/spec/integration/selenium/webdriver:fedcm-chrome (Summary)
    2587:  /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/fedcm-chrome/test.log
    2588:  /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/fedcm-chrome/test_attempts/attempt_1.log
    2589:  (13:39:48) �[32mINFO: �[0mFrom Testing //rb/spec/integration/selenium/webdriver:fedcm-chrome:
    2590:  Running Ruby specs:
    2591:  browser: chrome
    2592:  driver: chrome
    2593:  version: 135.0.7049.42
    2594:  platform: linux
    2595:  ci: github
    2596:  rbe: true
    2597:  ruby: jruby 9.4.12.0 (3.1.4) 2025-02-11 f4ab75096a OpenJDK 64-Bit Server VM 17.0.11+9-LTS on 17.0.11+9-LTS [x86_64-linux]
    2598:  Selenium::WebDriver::FedCM
    2599:  without dialog present
    2600:  throws an error
    2601:  with dialog present
    2602:  returns the title
    2603:  returns the subtitle (PENDING: Investigate flakiness only on pipeline)
    2604:  returns the type (FAILED - 1)
    2605:  returns the accounts
    2606:  selects an account (FAILED - 2)
    2607:  clicks the dialog (PENDING: Investigate IDP config issue)
    2608:  cancels the dialog
    2609:  sets the delay
    2610:  resets the cooldown (FAILED - 3)
    2611:  Pending: (Failures listed here are expected and do not affect your suite's status)
    2612:  1) Selenium::WebDriver::FedCM with dialog present returns the subtitle
    2613:  # Investigate flakiness only on pipeline
    2614:  # ./rb/spec/integration/selenium/webdriver/fedcm_spec.rb:53
    2615:  2) Selenium::WebDriver::FedCM with dialog present clicks the dialog
    2616:  # Investigate IDP config issue
    2617:  # ./rb/spec/integration/selenium/webdriver/fedcm_spec.rb:70
    2618:  Failures:
    2619:  1) Selenium::WebDriver::FedCM with dialog present returns the type
    2620:  Failure/Error: driver.wait_for_fedcm_dialog
    2621:  Selenium::WebDriver::Error::TimeoutError:
    2622:  timed out after 5 seconds
    2623:  # ./rb/lib/selenium/webdriver/common/wait.rb:73:in `until'
    2624:  # ./rb/lib/selenium/webdriver/common/driver_extensions/has_fedcm_dialog.rb:46:in `wait_for_fedcm_dialog'
    2625:  # ./rb/spec/integration/selenium/webdriver/fedcm_spec.rb:46:in `block in FedCM'
    2626:  2) Selenium::WebDriver::FedCM with dialog present selects an account
    2627:  Failure/Error: driver.wait_for_fedcm_dialog
    2628:  Selenium::WebDriver::Error::TimeoutError:
    2629:  timed out after 5 seconds
    2630:  # ./rb/lib/selenium/webdriver/common/wait.rb:73:in `until'
    2631:  # ./rb/lib/selenium/webdriver/common/driver_extensions/has_fedcm_dialog.rb:46:in `wait_for_fedcm_dialog'
    2632:  # ./rb/spec/integration/selenium/webdriver/fedcm_spec.rb:46:in `block in FedCM'
    2633:  3) Selenium::WebDriver::FedCM with dialog present resets the cooldown
    2634:  Failure/Error: driver.wait_for_fedcm_dialog
    2635:  Selenium::WebDriver::Error::TimeoutError:
    2636:  timed out after 5 seconds
    2637:  # ./rb/lib/selenium/webdriver/common/wait.rb:73:in `until'
    2638:  # ./rb/lib/selenium/webdriver/common/driver_extensions/has_fedcm_dialog.rb:46:in `wait_for_fedcm_dialog'
    2639:  # ./rb/spec/integration/selenium/webdriver/fedcm_spec.rb:46:in `block in FedCM'
    2640:  Finished in 25.56 seconds (files took 2.3 seconds to load)
    2641:  10 examples, 3 failures, 2 pending
    2642:  Failed examples:
    2643:  rspec ./rb/spec/integration/selenium/webdriver/fedcm_spec.rb:57 # Selenium::WebDriver::FedCM with dialog present returns the type
    2644:  rspec ./rb/spec/integration/selenium/webdriver/fedcm_spec.rb:66 # Selenium::WebDriver::FedCM with dialog present selects an account
    2645:  rspec ./rb/spec/integration/selenium/webdriver/fedcm_spec.rb:83 # Selenium::WebDriver::FedCM with dialog present resets the cooldown
    2646:  Execution result: https://gypsum.cluster.engflow.com/actions/executions/ChDJbX7rpK9YOJEIVW9Lr-38EgdkZWZhdWx0GiUKIJLsMJRs1NNPe4VcVorVG4RFqGbcJKQMNmUKjcQdPq59ELwD
    2647:  ================================================================================
    2648:  ==================== Test output for //rb/spec/integration/selenium/webdriver:fedcm-chrome:
    2649:  Running Ruby specs:
    2650:  browser: chrome
    2651:  driver: chrome
    2652:  version: 135.0.7049.42
    2653:  platform: linux
    2654:  ci: github
    2655:  rbe: true
    2656:  ruby: jruby 9.4.12.0 (3.1.4) 2025-02-11 f4ab75096a OpenJDK 64-Bit Server VM 17.0.11+9-LTS on 17.0.11+9-LTS [x86_64-linux]
    2657:  Selenium::WebDriver::FedCM
    2658:  without dialog present
    2659:  throws an error
    2660:  with dialog present
    2661:  returns the title
    2662:  returns the subtitle (PENDING: Investigate flakiness only on pipeline)
    2663:  returns the type (FAILED - 1)
    2664:  returns the accounts
    2665:  selects an account (FAILED - 2)
    2666:  clicks the dialog (PENDING: Investigate IDP config issue)
    2667:  cancels the dialog
    2668:  sets the delay
    2669:  resets the cooldown (FAILED - 3)
    2670:  Pending: (Failures listed here are expected and do not affect your suite's status)
    2671:  1) Selenium::WebDriver::FedCM with dialog present returns the subtitle
    2672:  # Investigate flakiness only on pipeline
    2673:  # ./rb/spec/integration/selenium/webdriver/fedcm_spec.rb:53
    2674:  2) Selenium::WebDriver::FedCM with dialog present clicks the dialog
    2675:  # Investigate IDP config issue
    2676:  # ./rb/spec/integration/selenium/webdriver/fedcm_spec.rb:70
    2677:  Failures:
    2678:  1) Selenium::WebDriver::FedCM with dialog present returns the type
    2679:  Failure/Error: driver.wait_for_fedcm_dialog
    2680:  Selenium::WebDriver::Error::TimeoutError:
    2681:  timed out after 5 seconds
    2682:  # ./rb/lib/selenium/webdriver/common/wait.rb:73:in `until'
    2683:  # ./rb/lib/selenium/webdriver/common/driver_extensions/has_fedcm_dialog.rb:46:in `wait_for_fedcm_dialog'
    2684:  # ./rb/spec/integration/selenium/webdriver/fedcm_spec.rb:46:in `block in FedCM'
    2685:  2) Selenium::WebDriver::FedCM with dialog present selects an account
    2686:  Failure/Error: driver.wait_for_fedcm_dialog
    2687:  Selenium::WebDriver::Error::TimeoutError:
    2688:  timed out after 5 seconds
    2689:  # ./rb/lib/selenium/webdriver/common/wait.rb:73:in `until'
    2690:  # ./rb/lib/selenium/webdriver/common/driver_extensions/has_fedcm_dialog.rb:46:in `wait_for_fedcm_dialog'
    2691:  # ./rb/spec/integration/selenium/webdriver/fedcm_spec.rb:46:in `block in FedCM'
    2692:  3) Selenium::WebDriver::FedCM with dialog present resets the cooldown
    2693:  Failure/Error: driver.wait_for_fedcm_dialog
    2694:  Selenium::WebDriver::Error::TimeoutError:
    2695:  timed out after 5 seconds
    2696:  # ./rb/lib/selenium/webdriver/common/wait.rb:73:in `until'
    2697:  # ./rb/lib/selenium/webdriver/common/driver_extensions/has_fedcm_dialog.rb:46:in `wait_for_fedcm_dialog'
    2698:  # ./rb/spec/integration/selenium/webdriver/fedcm_spec.rb:46:in `block in FedCM'
    2699:  Finished in 24.23 seconds (files took 2.33 seconds to load)
    2700:  10 examples, 3 failures, 2 pending
    2701:  Failed examples:
    2702:  rspec ./rb/spec/integration/selenium/webdriver/fedcm_spec.rb:57 # Selenium::WebDriver::FedCM with dialog present returns the type
    2703:  rspec ./rb/spec/integration/selenium/webdriver/fedcm_spec.rb:66 # Selenium::WebDriver::FedCM with dialog present selects an account
    2704:  rspec ./rb/spec/integration/selenium/webdriver/fedcm_spec.rb:83 # Selenium::WebDriver::FedCM with dialog present resets the cooldown
    2705:  Execution result: https://gypsum.cluster.engflow.com/actions/executions/ChDJbX7rpK9YOJEIVW9Lr-38EgdkZWZhdWx0GiUKIJLsMJRs1NNPe4VcVorVG4RFqGbcJKQMNmUKjcQdPq59ELwD
    2706:  ================================================================================
    2707:  (13:39:49) �[32m[15,246 / 15,764]�[0m 1677 / 2192 tests, �[31m�[1m2 failed�[0m;�[0m [Sched] Testing //java/test/org/openqa/selenium/bidi/input:DefaultMouseTest-remote; 141s ... (50 actions, 36 running)
    2708:  (13:39:54) �[32m[15,262 / 15,764]�[0m 1692 / 2192 tests, �[31m�[1m2 failed�[0m;�[0m [Sched] Testing //java/test/org/openqa/selenium/grid/router:DistributedTest; 145s ... (50 actions, 36 running)
    2709:  (13:40:02) �[32m[15,267 / 15,764]�[0m 1697 / 2192 tests, �[31m�[1m2 failed�[0m;�[0m Testing //java/test/org/openqa/selenium/bidi/script:EvaluateParametersTest-chrome-remote; 131s remote, remote-cache ... (50 actions, 36 running)
    2710:  (13:40:07) �[32m[15,267 / 15,764]�[0m 1697 / 2192 tests, �[31m�[1m2 failed�[0m;�[0m Testing //java/test/org/openqa/selenium/bidi/script:EvaluateParametersTest-chrome-remote; 137s remote, remote-cache ... (50 actions, 36 running)
    2711:  (13:40:25) �[32m[15,267 / 15,764]�[0m 1697 / 2192 tests, �[31m�[1m2 failed�[0m;�[0m Testing //java/test/org/openqa/selenium/bidi/script:EvaluateParametersTest-chrome-remote; 155s remote, remote-cache ... (50 actions, 37 running)
    2712:  (13:40:27) �[31m�[1mFAIL: �[0m//java/test/org/openqa/selenium/bidi/script:EvaluateParametersTest-chrome-remote (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/java/test/org/openqa/selenium/bidi/script/EvaluateParametersTest-chrome-remote/test_attempts/attempt_1.log)
    2713:  (13:40:30) �[32m[15,272 / 15,764]�[0m 1702 / 2192 tests, �[31m�[1m2 failed�[0m;�[0m Testing //java/test/org/openqa/selenium/bidi/script:EvaluateParametersTest-chrome-remote; 160s remote, remote-cache ... (50 actions, 38 running)
    2714:  (13:40:34) �[31m�[1mFAIL: �[0m//java/test/org/openqa/selenium/bidi/browser:BrowserCommandsTest-remote (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/java/test/org/openqa/selenium/bidi/browser/BrowserCommandsTest-remote/test_attempts/attempt_1.log)
    2715:  (13:40:37) �[32m[15,276 / 15,764]�[0m 1706 / 2192 tests, �[31m�[1m2 failed�[0m;�[0m Testing //java/test/org/openqa/selenium/bidi/script:EvaluateParametersTest-chrome-remote; 166s remote, remote-cache ... (50 actions, 42 running)
    2716:  (13:40:42) �[32m[15,281 / 15,766]�[0m 1708 / 2192 tests, �[31m�[1m2 failed�[0m;�[0m Testing //java/test/org/openqa/selenium/bidi/script:EvaluateParametersTest-chrome-remote; 171s remote, remote-cache ... (50 actions, 46 running)
    2717:  (13:40:47) �[32m[15,288 / 15,766]�[0m 1715 / 2192 tests, �[31m�[1m2 failed�[0m;�[0m Testing //java/test/org/openqa/selenium/bidi/script:EvaluateParametersTest-chrome-remote; 177s remote, remote-cache ... (50 actions, 47 running)
    2718:  (13:40:47) �[31m�[1mFAIL: �[0m//java/test/org/openqa/selenium/bidi/input:DefaultKeyboardTest-chrome (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/java/test/org/openqa/selenium/bidi/input/DefaultKeyboardTest-chrome/test_attempts/attempt_1.log)
    2719:  (13:40:52) �[32m[15,311 / 15,768]�[0m 1735 / 2192 tests, �[31m�[1m2 failed�[0m;�[0m Testing //java/test/org/openqa/selenium/bidi/script:EvaluateParametersTest-chrome-remote; 182s remote, remote-cache ... (50 actions, 46 running)
    2720:  (13:40:57) �[32m[15,319 / 15,768]�[0m 1744 / 2192 tests, �[31m�[1m2 failed�[0m;�[0m Testing //java/test/org/openqa/selenium/bidi/script:EvaluateParametersTest-chrome-remote; 187s remote, remote-cache ... (50 actions, 48 running)
    2721:  (13:41:05) �[32m[15,322 / 15,768]�[0m 1747 / 2192 tests, �[31m�[1m2 failed�[0m;�[0m Testing //java/test/org/openqa/selenium/bidi/script:EvaluateParametersTest-chrome-remote; 194s remote, remote-cache ... (50 actions running)
    2722:  (13:41:09) �[31m�[1mFAIL: �[0m//java/test/org/openqa/selenium/bidi/input:DefaultKeyboardTest-chrome (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/java/test/org/openqa/selenium/bidi/input/DefaultKeyboardTest-chrome/test.log)
    2723:  �[31m�[1mFAILED: �[0m//java/test/org/openqa/selenium/bidi/input:DefaultKeyboardTest-chrome (Summary)
    2724:  /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/java/test/org/openqa/selenium/bidi/input/DefaultKeyboardTest-chrome/test.log
    ...
    
    2730:  java.lang.Exception: org.openqa.selenium.bidi.input.DefaultKeyboardTest.testSelectionSelectByWord is marked as not yet implemented with CHROME but already works!
    2731:  at org.openqa.selenium.testing.SeleniumExtension.afterEach(SeleniumExtension.java:145)
    2732:  at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
    2733:  at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
    2734:  Execution result: https://gypsum.cluster.engflow.com/actions/executions/ChD3RGHOnMZV2KtMin_CW4XhEgdkZWZhdWx0GiUKIFE9fKB998gBP4jJ5wq5ODgIP_KjTnHD-u0VIMes6BDmELwD
    2735:  ================================================================================
    2736:  ==================== Test output for //java/test/org/openqa/selenium/bidi/input:DefaultKeyboardTest-chrome:
    2737:  Failures: 1
    2738:  1) testSelectionSelectByWord() (org.openqa.selenium.bidi.input.DefaultKeyboardTest)
    2739:  java.lang.Exception: org.openqa.selenium.bidi.input.DefaultKeyboardTest.testSelectionSelectByWord is marked as not yet implemented with CHROME but already works!
    2740:  at org.openqa.selenium.testing.SeleniumExtension.afterEach(SeleniumExtension.java:145)
    2741:  at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
    2...

    Signed-off-by: Viet Nguyen Duc <[email protected]>
    @VietND96 VietND96 requested a review from joerg1985 April 1, 2025 17:56
    @diemol diemol dismissed joerg1985’s stale review April 2, 2025 13:32

    Changes have been implemented.

    @VietND96 VietND96 merged commit 9f6c0fe into trunk Apr 2, 2025
    30 of 33 checks passed
    @VietND96 VietND96 deleted the node-register-status branch April 2, 2025 15:57
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    B-grid Everything grid and server related Review effort 2/5
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    [🐛 Bug]: Using Healthchecks to monitor nodes causes "Binding additional locator mechanisms: relative"
    3 participants