[build] remove more ruby test targets that do not apply and support r… - #16484

Closed
titusfortner wants to merge 1 commit into
trunkfrom
rb_bidi_remote
Closed

[build] remove more ruby test targets that do not apply and support r…#16484
titusfortner wants to merge 1 commit into
trunkfrom
rb_bidi_remote

Conversation

@titusfortner

@titusfortnertitusfortner commented Oct 21, 2025

Copy link
Copy Markdown
Member

User description

  • Adds -bidi-remote option for each test target
  • Limits tests in bidi directory to just bidi supported browsers
  • Document these things in the README

I did not figure out how to prevent the bidi specific targets in the main webdriver directory from being added to non-supported browsers, but Ruby blocks that from running right now, so it is more housekeeping than performance speedup.
As in, these targets don't matter but will still be generated:

//rb/spec/integration/selenium/webdriver:network-ie
//rb/spec/integration/selenium/webdriver:network-ie-remote
//rb/spec/integration/selenium/webdriver:network-safari
//rb/spec/integration/selenium/webdriver:network-safari-preview

PR Type

Enhancement, Tests


Description

  • Adds remote-bidi test targets for BiDi-supported browsers

  • Restricts bidi tests to explicitly supported browsers via BIDI_BROWSERS

  • Expands bidi test coverage with remote execution capability

  • Updates documentation with bidi testing guidance and examples


Diagram Walkthrough

flowchart LR
A["BIDI_BROWSERS<br/>defined"] -->|filters| B["bidi test<br/>generation"]
B -->|creates| C["local-bidi<br/>targets"]
B -->|creates| D["remote-bidi<br/>targets"]
E["rb_integration_test<br/>function"] -->|checks| A
E -->|generates| C
E -->|generates| D
Loading

File Walkthrough

Relevant files
Enhancement
tests.bzl
Add bidi browser filtering and remote-bidi test targets

rb/spec/tests.bzl

  • Defines BIDI_BROWSERS constant listing supported browsers for bidi
    testing
  • Adds condition to restrict bidi test generation to browsers in
    BIDI_BROWSERS
  • Generates new remote-bidi test targets alongside existing bidi targets
  • Configures remote-bidi targets with proper environment variables and
    dependencies
+35/-1
BUILD.bazel
Restrict bidi tests to supported browsers

rb/spec/integration/selenium/webdriver/bidi/BUILD.bazel

  • Imports BIDI_BROWSERS constant from tests.bzl
  • Restricts bidi integration tests to only supported browsers via
    browsers parameter
+2/-1
Documentation
README.md
Document bidi testing and remote-bidi test targets

README.md

  • Adds documentation for running bidi-specific tests with
    --test_tag_filters bidi
  • Explains dynamic test target generation and BiDi protocol importance
  • Updates test target examples to include bidi and remote-bidi variants
  • Documents WEBDRIVER_BIDI environment variable for enabling web socket
    URLs
  • Adds chrome-beta to supported browsers list
+18/-11

@selenium-ciselenium-ci added C-rb Ruby Bindings B-build Includes scripting, bazel and CI integrations B-devtools Includes everything BiDi or Chrome DevTools related labels Oct 21, 2025
@qodo-code-review

Copy link
Copy Markdown
Contributor

PR Compliance Guide 🔍

Below is a summary of compliance checks for this PR:

Security Compliance
🟢
No security concerns identified No security vulnerabilities detected by AI analysis. Human verification advised for critical code.
Ticket Compliance
🎫 No ticket provided
- [ ] Create ticket/issue <!-- /create_ticket --create_ticket=true -->
</details></td></tr>
Codebase Duplication Compliance
Codebase context is not defined

Follow the guide to enable codebase context checks.

Custom Compliance
No custom compliance provided

Follow the guide to enable custom compliance check.

Compliance status legend 🟢 - Fully Compliant
🟡 - Partial Compliant
🔴 - Not Compliant
⚪ - Requires Further Human Verification
🏷️ - Compliance label

@qodo-code-review

Copy link
Copy Markdown
Contributor

PR Code Suggestions ✨

Explore these optional code suggestions:

CategorySuggestion Impact
Possible issue
Add missing remote browser environment variable

Add the missing WD_REMOTE_BROWSER environment variable to the remote-bidi test
target to specify the browser for remote execution.

rb/spec/tests.bzl [244-269]

 + rb_test(
+ name = "{}-{}-remote-bidi".format(name, browser),
+ size = "large",
+ srcs = srcs,
+ args = ["rb/spec/"],
+ data = BROWSERS[browser]["data"] + data + [
+ "//common/src/web",
+ "//java/src/org/openqa/selenium/grid:selenium_server_deploy.jar",
+ "//rb/spec:java-location",
+ "@bazel_tools//tools/jdk:current_java_runtime",
+ ],
+ env = BROWSERS[browser]["env"] | {
+ "WD_BAZEL_JAVA_LOCATION": "$(rootpath //rb/spec:java-location)",
+ "WD_SPEC_DRIVER": "remote",
++ "WD_REMOTE_BROWSER": browser,
+ "WEBDRIVER_BIDI": "true",
+ },
+ main = "@bundle//bin:rspec",
+ tags = COMMON_TAGS + BROWSERS[browser]["tags"] + tags + ["{}-remote-bidi".format(browser)],
+ deps = depset(
+ ["//rb/spec/integration/selenium/webdriver:spec_helper", "//rb/lib/selenium/webdriver:bidi"] +
+ BROWSERS[browser]["deps"] +
+ deps,
+ ),
+ visibility = ["//rb:__subpackages__"],
+ target_compatible_with = BROWSERS[browser]["target_compatible_with"],
+ )

[To ensure code accuracy, apply this suggestion manually]

Suggestion importance[1-10]: 9

__

Why: The suggestion correctly identifies that the WD_REMOTE_BROWSER environment variable is missing for the new remote-bidi test target, which would cause these tests to fail.

High
High-level
Refactor build logic to reduce duplication

To reduce code duplication in rb/spec/tests.bzl, refactor the build logic by
creating a helper function. This function would generate remote test targets and
accept parameters for BiDi-specific configurations, consolidating the similar
logic for 'remote' and 'remote-bidi' targets.

Examples:

rb/spec/tests.bzl [226-269]
if"bidi"intagsandbrowserinBIDI_BROWSERS:
rb_test(
name="{}-{}-bidi".format(name, browser),
size="large",
srcs=srcs,
args= ["rb/spec/"],
data=BROWSERS[browser]["data"] +data+ ["//common/src/web"],
env=BROWSERS[browser]["env"] | {"WEBDRIVER_BIDI": "true"},
main="@bundle//bin:rspec",
tags=COMMON_TAGS+BROWSERS[browser]["tags"] +tags+ ["{}-bidi".format(browser)],
... (clipped34lines)

Solution Walkthrough:

Before:

# in rb/spec/tests.bzl within rb_integration_testif"bidi"intagsandbrowserinBIDI_BROWSERS:
# local bidi testrb_test(
name="{}-{}-bidi".format(name, browser),
env= {"WEBDRIVER_BIDI": "true"},
tags=tags+ ["{}-bidi".format(browser)],
deps=deps+ ["//rb/lib/selenium/webdriver:bidi"],
...
)
# remote bidi test (newly added, very similar to existing remote tests)rb_test(
name="{}-{}-remote-bidi".format(name, browser),
data=data+ ["//.../selenium_server_deploy.jar", ...],
env= {"WD_SPEC_DRIVER": "remote", "WEBDRIVER_BIDI": "true", ...},
tags=tags+ ["{}-remote-bidi".format(browser)],
deps=deps+ ["//rb/lib/selenium/webdriver:bidi"],
...
)

After:

# in rb/spec/tests.bzldef_create_bidi_test(name, browser, srcs, tags, deps, data, is_remote=False):
remote_suffix="-remote"ifis_remoteelse""env= {"WEBDRIVER_BIDI": "true"}
ifis_remote:
env["WD_SPEC_DRIVER"] ="remote"# ... other remote env varsdata+= ["//.../selenium_server_deploy.jar", ...]
rb_test(
name="{}-{}-bidi{}".format(name, browser, remote_suffix),
env=env,
data=data,
...
)
# in rb/spec/tests.bzl within rb_integration_testif"bidi"intagsandbrowserinBIDI_BROWSERS:
_create_bidi_test(..., is_remote=False)
_create_bidi_test(..., is_remote=True)
Suggestion importance[1-10]: 7

__

Why: The suggestion correctly identifies significant code duplication in the Bazel build file rb/spec/tests.bzl and proposes a valid refactoring that would improve long-term maintainability.

Medium
Learned
best practice
Validate BIDI browser list

Guard against unsupported browsers by asserting that every entry in
BIDI_BROWSERS exists in BROWSERS to prevent misconfiguration and hard-to-debug
build failures.

rb/spec/tests.bzl [12-269]

 BIDI_BROWSERS = [
"chrome",
"chrome-beta",
"edge",
"firefox",
"firefox-beta",
]
++# Validate bidi browser list against known browsers+for _b in BIDI_BROWSERS:+ if _b not in BROWSERS:+ fail("Unknown browser in BIDI_BROWSERS: {}".format(_b))+
...
- if "bidi" in tags and browser in BIDI_BROWSERS:- rb_test(- name = "{}-{}-bidi".format(name, browser),- ...- target_compatible_with = BROWSERS[browser]["target_compatible_with"],- )- rb_test(- name = "{}-{}-remote-bidi".format(name, browser),- ...- target_compatible_with = BROWSERS[browser]["target_compatible_with"],- )+if "bidi" in tags and browser in BIDI_BROWSERS:+ rb_test(+ name = "{}-{}-bidi".format(name, browser),+ ...+ target_compatible_with = BROWSERS[browser]["target_compatible_with"],+ )+ rb_test(+ name = "{}-{}-remote-bidi".format(name, browser),+ ...+ target_compatible_with = BROWSERS[browser]["target_compatible_with"],+ )

[To ensure code accuracy, apply this suggestion manually]

Suggestion importance[1-10]: 6

__

Why:
Relevant best practice - Validate inputs and states early to avoid generating invalid configurations or targets.

Low
  • More

@qodo-code-review

Copy link
Copy Markdown
Contributor

CI Feedback 🧐

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: //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi

Failure summary:

The action failed because the test target
//rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi consistently failed (2
attempts).
- Primary error: IOError: stream closed in another thread raised from
./rb/lib/selenium/webdriver/common/websocket_connection.rb:48 and :102 during BiDi WebSocket
operations, often while closing or attaching the socket listener.
- This caused multiple RSpec
examples in rb/spec/integration/selenium/webdriver/network_spec.rb to fail (20 failures on the
stable Firefox remote BiDi run), e.g.:
- adds an auth handler (network_spec.rb:30)
- adds an
auth handler with a filter (network_spec.rb:40)
- adds a request handler with attributes
(network_spec.rb:145)
- and others listed between lines 3122–3141 of the log.
- Additional
timeouts seen in related BiDi tests (e.g., TimeoutError on navigate) indicate unstable BiDi
communication, but the hard failure was the repeated IOError in the Firefox remote BiDi network
suite.
- Bazel summary: 2437 tests passed, 1 failed remotely; build completed with 1 test FAILED and
process exited with code 3.

Relevant error logs:
1: ##[group]Runner Image Provisioner2: Hosted Compute Agent
...
925: Package 'php-sql-formatter' is not installed, so not removed926: Package 'php8.3-ssh2' is not installed, so not removed927: Package 'php-ssh2-all-dev' is not installed, so not removed928: Package 'php8.3-stomp' is not installed, so not removed929: Package 'php-stomp-all-dev' is not installed, so not removed930: Package 'php-swiftmailer' is not installed, so not removed931: Package 'php-symfony' is not installed, so not removed932: Package 'php-symfony-asset' is not installed, so not removed933: Package 'php-symfony-asset-mapper' is not installed, so not removed934: Package 'php-symfony-browser-kit' is not installed, so not removed935: Package 'php-symfony-clock' is not installed, so not removed936: Package 'php-symfony-debug-bundle' is not installed, so not removed937: Package 'php-symfony-doctrine-bridge' is not installed, so not removed938: Package 'php-symfony-dom-crawler' is not installed, so not removed939: Package 'php-symfony-dotenv' is not installed, so not removed940: Package 'php-symfony-error-handler' is not installed, so not removed941: Package 'php-symfony-event-dispatcher' is not installed, so not removed
...
1119: Package 'php-twig-html-extra' is not installed, so not removed1120: Package 'php-twig-i18n-extension' is not installed, so not removed1121: Package 'php-twig-inky-extra' is not installed, so not removed1122: Package 'php-twig-intl-extra' is not installed, so not removed1123: Package 'php-twig-markdown-extra' is not installed, so not removed1124: Package 'php-twig-string-extra' is not installed, so not removed1125: Package 'php8.3-uopz' is not installed, so not removed1126: Package 'php-uopz-all-dev' is not installed, so not removed1127: Package 'php8.3-uploadprogress' is not installed, so not removed1128: Package 'php-uploadprogress-all-dev' is not installed, so not removed1129: Package 'php8.3-uuid' is not installed, so not removed1130: Package 'php-uuid-all-dev' is not installed, so not removed1131: Package 'php-validate' is not installed, so not removed1132: Package 'php-vlucas-phpdotenv' is not installed, so not removed1133: Package 'php-voku-portable-ascii' is not installed, so not removed1134: Package 'php-wmerrors' is not installed, so not removed1135: Package 'php-xdebug-all-dev' is not installed, so not removed
...
1761: (20:14:53) �[32mLoading:�[0m 2 packages loaded1762: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image distributor-image: https://github.com/bazel-contrib/rules_oci/issues/2201763: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image event-bus-image: https://github.com/bazel-contrib/rules_oci/issues/2201764: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image router-image: https://github.com/bazel-contrib/rules_oci/issues/2201765: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image session-map-image: https://github.com/bazel-contrib/rules_oci/issues/2201766: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image session-queue-image: https://github.com/bazel-contrib/rules_oci/issues/2201767: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image chrome-node: https://github.com/bazel-contrib/rules_oci/issues/2201768: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image firefox-node: https://github.com/bazel-contrib/rules_oci/issues/2201769: (20:14:58) �[32mLoading:�[0m 243 packages loaded1770: currently loading: javascript/atoms ... (11 packages)1771: (20:15:02) �[32mAnalyzing:�[0m 2438 targets (254 packages loaded, 0 targets configured)1772: (20:15:02) �[32mAnalyzing:�[0m 2438 targets (254 packages loaded, 0 targets configured)1773: (20:15:08) �[32mAnalyzing:�[0m 2438 targets (420 packages loaded, 61 targets configured)1774: (20:15:10) �[33mDEBUG: �[0m/home/runner/.bazel/external/rules_jvm_external+/private/extensions/maven.bzl:295:14: WARNING: The following maven modules appear in multiple sub-modules with potentially different versions. Consider adding one of these to your root module to ensure consistent versions:1775: com.google.code.findbugs:jsr3051776: com.google.errorprone:error_prone_annotations1777: com.google.guava:guava (versions: 30.1.1-jre, 31.0.1-android)
...
1804: (20:16:09) �[32mAnalyzing:�[0m 2438 targets (1650 packages loaded, 49706 targets configured)1805: �[32m[740 / 841]�[0m 29 / 74 tests;�[0m checking cached actions1806: (20:16:14) �[32mAnalyzing:�[0m 2438 targets (1656 packages loaded, 49798 targets configured)1807: �[32m[740 / 841]�[0m 29 / 74 tests;�[0m checking cached actions1808: (20:16:15) �[32mINFO: �[0mFrom Building external/contrib_rules_jvm+/java/src/com/github/bazel_contrib/contrib_rules_jvm/junit5/libjunit5-compile-class.jar (19 source files):1809: warning: [options] source value 8 is obsolete and will be removed in a future release1810: warning: [options] target value 8 is obsolete and will be removed in a future release1811: warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.1812: (20:16:17) �[35mWARNING: �[0m/home/runner/.bazel/external/io_bazel_rules_closure/java/com/google/javascript/jscomp/BUILD:19:13: in java_library rule @@io_bazel_rules_closure//java/com/google/javascript/jscomp:jscomp: target '@@io_bazel_rules_closure//java/com/google/javascript/jscomp:jscomp' depends on deprecated target '@@io_bazel_rules_closure//java/io/bazel/rules/closure:build_info_java_proto': Use java_proto_library from com_google_protobuf1813: (20:16:17) �[33mDEBUG: �[0m/home/runner/.bazel/external/io_bazel_rules_closure/closure/compiler/closure_js_deps.bzl:38:10: closure_js_deps() and deps.js files are deprecated. Please remove your closure_js_deps rules and, if needed, use the google-closure-deps npm module with bazelbuild/rules_nodejs to generate deps.js files.1814: (20:16:18) �[33mDEBUG: �[0m/home/runner/.bazel/external/io_bazel_rules_closure/closure/compiler/closure_js_deps.bzl:38:10: closure_js_deps() and deps.js files are deprecated. Please remove your closure_js_deps rules and, if needed, use the google-closure-deps npm module with bazelbuild/rules_nodejs to generate deps.js files.1815: (20:16:18) �[33mDEBUG: �[0m/home/runner/.bazel/external/io_bazel_rules_closure/closure/compiler/closure_js_deps.bzl:38:10: closure_js_deps() and deps.js files are deprecated. Please remove your closure_js_deps rules and, if needed, use the google-closure-deps npm module with bazelbuild/rules_nodejs to generate deps.js files.1816: (20:16:19) �[32mAnalyzing:�[0m 2438 targets (1706 packages loaded, 56785 targets configured)1817: �[32m[1,791 / 2,508]�[0m 81 / 91 tests;�[0m Creating source manifest for //rb/spec/integration/selenium/webdriver/bidi:script-firefox-beta-bidi; 0s local ... (6 actions, 4 running)1818: (20:16:20) �[32mINFO: �[0mFrom Building java/src/org/openqa/selenium/remote/libapi-class.jar (63 source files):1819: java/src/org/openqa/selenium/remote/ErrorHandler.java:46: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1820: private final ErrorCodes errorCodes;1821: ^1822: java/src/org/openqa/selenium/remote/ErrorHandler.java:60: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1823: this.errorCodes = new ErrorCodes();1824: ^1825: java/src/org/openqa/selenium/remote/ErrorHandler.java:68: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1826: public ErrorHandler(ErrorCodes codes, boolean includeServerErrors) {1827: ^1828: java/src/org/openqa/selenium/remote/Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1829: ErrorCodes errorCodes = new ErrorCodes();1830: ^1831: java/src/org/openqa/selenium/remote/Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1832: ErrorCodes errorCodes = new ErrorCodes();1833: ^1834: java/src/org/openqa/selenium/remote/ProtocolHandshake.java:181: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1835: response.setStatus(ErrorCodes.SUCCESS);1836: ^1837: java/src/org/openqa/selenium/remote/ProtocolHandshake.java:182: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1838: response.setState(ErrorCodes.SUCCESS_STRING);1839: ^1840: java/src/org/openqa/selenium/remote/W3CHandshakeResponse.java:53: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1841: new ErrorCodes().toStatus((String) rawError, Optional.of(tuple.getStatusCode())));1842: ^1843: java/src/org/openqa/selenium/remote/W3CHandshakeResponse.java:56: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1844: new ErrorCodes().getExceptionType((String) rawError);1845: ^1846: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:44: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1847: private final ErrorCodes errorCodes = new ErrorCodes();1848: ^1849: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:44: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1850: private final ErrorCodes errorCodes = new ErrorCodes();1851: ^1852: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:55: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1853: int status = response.getStatus() == ErrorCodes.SUCCESS ? HTTP_OK : HTTP_INTERNAL_ERROR;1854: ^1855: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:101: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1856: response.setStatus(ErrorCodes.UNKNOWN_COMMAND);1857: ^1858: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:103: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1859: response.setStatus(ErrorCodes.UNHANDLED_ERROR);1860: ^1861: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:117: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1862: response.setStatus(ErrorCodes.SUCCESS);1863: ^1864: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:118: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1865: response.setState(errorCodes.toState(ErrorCodes.SUCCESS));1866: ^1867: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:124: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1868: response.setState(errorCodes.toState(ErrorCodes.SUCCESS));1869: ^1870: 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 removal1871: private final ErrorCodes errorCodes = new ErrorCodes();1872: ^1873: 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 removal1874: private final ErrorCodes errorCodes = new ErrorCodes();1875: ^1876: 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 removal1877: response.setStatus(ErrorCodes.UNKNOWN_COMMAND);1878: ^1879: 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 removal1880: response.setStatus(ErrorCodes.UNHANDLED_ERROR);1881: ^1882: 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 removal1883: response.setStatus(ErrorCodes.SUCCESS);1884: ^
...
1889: (20:16:24) �[32mAnalyzing:�[0m 2438 targets (1709 packages loaded, 61320 targets configured)1890: �[32m[3,408 / 4,512]�[0m 81 / 379 tests;�[0m Creating source manifest for //java/test/org/openqa/selenium/bidi/webextension:WebExtensionTest; 0s local ... (36 actions, 22 running)1891: (20:16:28) �[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/test1892: (20:16:28) �[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/test1893: (20:16:28) �[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/test1894: (20:16:28) �[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/test1895: (20:16:28) �[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/test1896: (20:16:28) �[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/test1897: (20:16:28) �[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/test1898: (20:16:28) �[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/test1899: (20:16:28) �[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/test1900: (20:16:28) �[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/test1901: (20:16:28) �[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/test1902: (20:16:28) �[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/test1903: (20:16:28) �[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/test1904: (20:16:28) �[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/test1905: (20:16:28) �[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
...
2158: �[32m[9,793 / 12,228]�[0m 151 / 1994 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver:action_builder-firefox; 4s ... (50 actions, 0 running)2159: (20:17:15) �[32mAnalyzing:�[0m 2438 targets (1747 packages loaded, 69239 targets configured)2160: �[32m[10,196 / 12,733]�[0m 218 / 2153 tests;�[0m [Prepa] Testing //javascript/selenium-webdriver:test-logging-test.js-chrome ... (50 actions, 13 running)2161: (20:17:20) �[32mAnalyzing:�[0m 2438 targets (1747 packages loaded, 69352 targets configured)2162: �[32m[11,183 / 13,296]�[0m 289 / 2266 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver/firefox:profile-firefox ... (49 actions, 3 running)2163: (20:17:25) �[32mAnalyzing:�[0m 2438 targets (1747 packages loaded, 69468 targets configured)2164: �[32m[11,730 / 13,892]�[0m 353 / 2382 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver:navigation-edge-bidi ... (48 actions, 2 running)2165: (20:17:27) �[32mINFO: �[0mAnalyzed 2438 targets (1748 packages loaded, 69586 targets configured).2166: (20:17:30) �[32m[12,790 / 14,806]�[0m 428 / 2438 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver/remote:element-chrome-beta ... (45 actions, 12 running)2167: (20:17:31) �[32mINFO: �[0mFrom Compiling Rust bin cargo_toml_variable_extractor (1 files) [for tool]:2168: �[0m�[1m�[33mwarning�[0m�[0m�[1m: the gold linker is deprecated and has known bugs with Rust�[0m2169: �[0m �[0m�[0m�[1m�[38;5;12m|�[0m2170: �[0m �[0m�[0m�[1m�[38;5;12m= �[0m�[0m�[1mhelp�[0m�[0m: consider using LLD or ld from GNU binutils instead�[0m2171: �[0m�[1m�[33mwarning�[0m�[0m�[1m: 1 warning emitted�[0m2172: (20:17:31) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/libsmall-tests-test-lib.jar (5 source files) and running annotation processors (AutoServiceProcessor):2173: java/test/org/openqa/selenium/remote/WebDriverFixture.java:170: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2174: response.setStatus(new ErrorCodes().toStatus(state, Optional.of(400)));2175: ^2176: (20:17:32) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/RemotableByTest.jar (1 source file) and running annotation processors (AutoServiceProcessor):2177: java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2178: import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;2179: ^2180: java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2181: import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;2182: ^2183: java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2184: import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;2185: ^2186: java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2187: private final ErrorCodes errorCodes = new ErrorCodes();2188: ^2189: java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2190: private final ErrorCodes errorCodes = new ErrorCodes();2191: ^2192: java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2193: private final ErrorCodes errorCodes = new ErrorCodes();2194: ^2195: java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2196: private final ErrorCodes errorCodes = new ErrorCodes();2197: ^2198: (20:17:32) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/ErrorHandlerTest.jar (1 source file) and running annotation processors (AutoServiceProcessor):2199: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:79: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2200: handler.throwIfResponseFailed(createResponse(ErrorCodes.SUCCESS), 100);2201: ^2202: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:85: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2203: assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_WINDOW, NoSuchWindowException.class);2204: ^2205: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:86: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2206: assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_FRAME, NoSuchFrameException.class);2207: ^2208: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:87: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2209: assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_ELEMENT, NoSuchElementException.class);2210: ^2211: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:88: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2212: assertThrowsCorrectExceptionType(ErrorCodes.UNKNOWN_COMMAND, UnsupportedCommandException.class);2213: ^2214: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:90: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2215: ErrorCodes.METHOD_NOT_ALLOWED, UnsupportedCommandException.class);2216: ^2217: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:92: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2218: ErrorCodes.STALE_ELEMENT_REFERENCE, StaleElementReferenceException.class);2219: ^2220: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:94: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2221: ErrorCodes.INVALID_ELEMENT_STATE, InvalidElementStateException.class);2222: ^2223: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:95: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2224: assertThrowsCorrectExceptionType(ErrorCodes.XPATH_LOOKUP_ERROR, InvalidSelectorException.class);2225: ^2226: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:107: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2227: Response response = createResponse(ErrorCodes.UNHANDLED_ERROR);2228: ^2229: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:120: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2230: createResponse(ErrorCodes.UNHANDLED_ERROR, "boom"), 123))2231: ^2232: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:133: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2233: createResponse(ErrorCodes.UNHANDLED_ERROR, ImmutableMap.of("message", "boom")),2234: ^2235: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:147: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2236: ErrorCodes.UNHANDLED_ERROR,2237: ^2238: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:167: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2239: ErrorCodes.UNHANDLED_ERROR,2240: ^2241: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:193: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2242: createResponse(ErrorCodes.UNHANDLED_ERROR, toMap(serverError)), 123))2243: ^2244: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:214: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2245: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2246: ^2247: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:248: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2248: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2249: ^2250: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:280: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2251: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2252: ^2253: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:308: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2254: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2255: ^2256: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:327: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2257: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2258: ^2259: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:355: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2260: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2261: ^2262: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:394: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2263: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2264: ^2265: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:426: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2266: createResponse(ErrorCodes.UNHANDLED_ERROR, toMap(serverError)), 123))2267: ^2268: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:435: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2269: exceptions.put(ErrorCodes.NO_SUCH_SESSION, NoSuchSessionException.class);2270: ^2271: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:436: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2272: exceptions.put(ErrorCodes.NO_SUCH_ELEMENT, NoSuchElementException.class);2273: ^2274: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:437: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2275: exceptions.put(ErrorCodes.NO_SUCH_FRAME, NoSuchFrameException.class);2276: ^2277: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:438: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2278: exceptions.put(ErrorCodes.UNKNOWN_COMMAND, UnsupportedCommandException.class);2279: ^2280: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:439: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2281: exceptions.put(ErrorCodes.STALE_ELEMENT_REFERENCE, StaleElementReferenceException.class);2282: ^2283: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:440: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2284: exceptions.put(ErrorCodes.INVALID_ELEMENT_STATE, InvalidElementStateException.class);2285: ^2286: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:441: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2287: exceptions.put(ErrorCodes.UNHANDLED_ERROR, WebDriverException.class);2288: ^2289: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:442: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2290: exceptions.put(ErrorCodes.JAVASCRIPT_ERROR, JavascriptException.class);2291: ^2292: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:443: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2293: exceptions.put(ErrorCodes.XPATH_LOOKUP_ERROR, InvalidSelectorException.class);2294: ^2295: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:444: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2296: exceptions.put(ErrorCodes.TIMEOUT, TimeoutException.class);2297: ^2298: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:445: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2299: exceptions.put(ErrorCodes.NO_SUCH_WINDOW, NoSuchWindowException.class);2300: ^2301: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:446: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2302: exceptions.put(ErrorCodes.INVALID_COOKIE_DOMAIN, InvalidCookieDomainException.class);2303: ^2304: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:447: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2305: exceptions.put(ErrorCodes.UNABLE_TO_SET_COOKIE, UnableToSetCookieException.class);2306: ^2307: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:448: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2308: exceptions.put(ErrorCodes.UNEXPECTED_ALERT_PRESENT, UnhandledAlertException.class);2309: ^2310: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:449: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2311: exceptions.put(ErrorCodes.NO_ALERT_PRESENT, NoAlertPresentException.class);2312: ^2313: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:450: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2314: exceptions.put(ErrorCodes.ASYNC_SCRIPT_TIMEOUT, ScriptTimeoutException.class);2315: ^2316: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:451: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2317: exceptions.put(ErrorCodes.INVALID_SELECTOR_ERROR, InvalidSelectorException.class);2318: ^2319: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:452: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2320: exceptions.put(ErrorCodes.SESSION_NOT_CREATED, SessionNotCreatedException.class);2321: ^2322: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:453: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2323: exceptions.put(ErrorCodes.MOVE_TARGET_OUT_OF_BOUNDS, MoveTargetOutOfBoundsException.class);2324: ^2325: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:454: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2326: exceptions.put(ErrorCodes.INVALID_XPATH_SELECTOR, InvalidSelectorException.class);2327: ^2328: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:455: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2329: exceptions.put(ErrorCodes.INVALID_XPATH_SELECTOR_RETURN_TYPER, InvalidSelectorException.class);2330: ^2331: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:469: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2332: ? ErrorCodes.INVALID_SELECTOR_ERROR2333: ^2334: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:471: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2335: assertThat(new ErrorCodes().toStatusCode(e)).isEqualTo(expected);2336: ^2337: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:483: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2338: response.setState(new ErrorCodes().toState(status));2339: ^2340: (20:17:33) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.jar (1 source file):2341: 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 removal2342: import static org.openqa.selenium.remote.ErrorCodes.METHOD_NOT_ALLOWED;2343: ^2344: 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 removal2345: assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.SUCCESS);2346: ^2347: 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 removal2348: assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.UNHANDLED_ERROR);2349: ^2350: 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 removal2351: assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.UNHANDLED_ERROR);2352: ^2353: (20:17:33) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/json/JsonTest.jar (1 source file):2354: java/test/org/openqa/selenium/json/JsonTest.java:430: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2355: assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(0));2356: ^2357: java/test/org/openqa/selenium/json/JsonTest.java:441: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2358: assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(0));2359: ^2360: java/test/org/openqa/selenium/json/JsonTest.java:454: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2361: assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(32));2362: ^
...
2553: (20:22:04) �[32m[17,347 / 17,349]�[0m 2346 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 215s remote, remote-cache ... (2 actions running)2554: (20:22:11) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 223s remote, remote-cache2555: (20:22:17) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 229s remote, remote-cache2556: (20:22:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 259s remote, remote-cache2557: (20:23:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 319s remote, remote-cache2558: (20:24:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 379s remote, remote-cache2559: (20:25:01) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 393s remote, remote-cache2560: (20:25:02) �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi/test_attempts/attempt_1.log)2561: (20:25:06) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 398s remote, remote-cache2562: (20:25:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 439s remote, remote-cache2563: (20:26:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 499s remote, remote-cache2564: (20:27:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 559s remote, remote-cache2565: (20:28:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 619s remote, remote-cache2566: (20:29:24) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 655s remote, remote-cache2567: (20:29:24) �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi/test.log)2568: �[31m�[1mFAILED: �[0m//rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi (Summary)2569: /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi/test.log
...
2576: driver: remote2577: version: stable2578: platform: linux2579: ci: github2580: rbe: true2581: ruby: jruby 10.0.0.0 (3.4.2) 2025-04-13 6ed59bc847 OpenJDK 64-Bit Server VM 21.0.4+7-LTS on 21.0.4+7-LTS [x86_64-linux]2582: Selenium::WebDriver::Network2583: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/handshake/base.rb:40: warning: previous definition of to_s was here2584: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/handshake/base.rb:53: warning: previous definition of valid? was here2585: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/handshake/client.rb:57: warning: previous definition of initialize was here2586: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/handshake/client.rb:90: warning: previous definition of << was here2587: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/frame/base.rb:19: warning: previous definition of initialize was here2588: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/frame/outgoing.rb:28: warning: previous definition of to_s was here2589: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/frame/incoming.rb:40: warning: previous definition of next was here2590: adds an auth handler2591: adds an auth handler with a filter (FAILED - 1)2592: adds an auth handler with multiple filters2593: adds an auth handler with a pattern type2594: removes an auth handler (FAILED - 2)2595: clears all auth handlers2596: continues without auth2597: cancels auth2598: adds a request handler2599: adds a request handler with a filter2600: adds a request handler with multiple filters2601: adds a request handler with a pattern type2602: adds a request handler with attributes (FAILED - 3)2603: fails a request2604: removes a request handler2605: clears all request handlers2606: adds a response handler2607: adds a response handler with a filter2608: adds a response handler with multiple filters2609: adds a response handler with a pattern type2610: adds a response handler with attributes2611: adds an auth handler (FAILED - 4)2612: adds an auth handler with a filter (FAILED - 5)2613: adds an auth handler with multiple filters (FAILED - 6)2614: adds an auth handler with a pattern type (FAILED - 7)2615: removes an auth handler (FAILED - 8)2616: clears all auth handlers (FAILED - 9)2617: continues without auth (FAILED - 10)2618: cancels auth (FAILED - 11)2619: adds a request handler (FAILED - 12)2620: adds a request handler with a filter (FAILED - 13)2621: adds a request handler with multiple filters (FAILED - 14)2622: adds a request handler with a pattern type (FAILED - 15)2623: adds a request handler with attributes (FAILED - 16)2624: fails a request (FAILED - 17)2625: removes a request handler (FAILED - 18)2626: clears all request handlers (FAILED - 19)2627: adds a response handler (FAILED - 20)2628: Failures:2629: 1) Selenium::WebDriver::Network adds an auth handler with a filter2630: Got 0 failures and 2 other errors:2631: 1.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2632: IOError:2633: stream closed in another thread2634: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2635: 1.2) Failure/Error:2636: reset_driver!(web_socket_url: true) do |driver|2637: network = described_class.new(driver)2638: network.add_response_handler do |response|2639: response.status = 2002640: response.headers['foo'] = 'bar'2641: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2642: response.provide_response2643: end2644: driver.navigate.to url_for('formPage.html')2645: source = driver.page_source2646: IOError:2647: stream closed in another thread2648: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2649: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2650: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2651: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2652: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2653: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2654: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2655: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2656: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2657: 2) Selenium::WebDriver::Network removes an auth handler2658: Got 0 failures and 2 other errors:2659: 2.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2660: IOError:2661: stream closed in another thread2662: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2663: 2.2) Failure/Error:2664: reset_driver!(web_socket_url: true) do |driver|2665: network = described_class.new(driver)2666: network.add_response_handler do |response|2667: response.status = 2002668: response.headers['foo'] = 'bar'2669: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2670: response.provide_response2671: end2672: driver.navigate.to url_for('formPage.html')2673: source = driver.page_source2674: IOError:2675: stream closed in another thread2676: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2677: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2678: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2679: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2680: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2681: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2682: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2683: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2684: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2685: 3) Selenium::WebDriver::Network adds a request handler with attributes2686: Got 0 failures and 2 other errors:2687: 3.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2688: IOError:2689: stream closed in another thread2690: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2691: 3.2) Failure/Error:2692: reset_driver!(web_socket_url: true) do |driver|2693: network = described_class.new(driver)2694: network.add_response_handler do |response|2695: response.status = 2002696: response.headers['foo'] = 'bar'2697: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2698: response.provide_response2699: end2700: driver.navigate.to url_for('formPage.html')2701: source = driver.page_source2702: IOError:2703: stream closed in another thread2704: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2705: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2706: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2707: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2708: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2709: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2710: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2711: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2712: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2713: 4) Selenium::WebDriver::Network adds an auth handler2714: Failure/Error:2715: reset_driver!(web_socket_url: true) do |driver|2716: network = described_class.new(driver)2717: network.add_response_handler do |response|2718: response.status = 2002719: response.headers['foo'] = 'bar'2720: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2721: response.provide_response2722: end2723: driver.navigate.to url_for('formPage.html')2724: source = driver.page_source2725: IOError:2726: stream closed in another thread2727: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2728: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2729: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2730: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2731: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2732: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2733: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2734: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2735: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2736: 5) Selenium::WebDriver::Network adds an auth handler with a filter2737: Got 0 failures and 2 other errors:2738: 5.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2739: IOError:2740: stream closed in another thread2741: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2742: 5.2) Failure/Error:2743: reset_driver!(web_socket_url: true) do |driver|2744: network = described_class.new(driver)2745: network.add_response_handler do |response|2746: response.status = 2002747: response.headers['foo'] = 'bar'2748: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2749: response.provide_response2750: end2751: driver.navigate.to url_for('formPage.html')2752: source = driver.page_source2753: IOError:2754: stream closed in another thread2755: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2756: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2757: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2758: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2759: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2760: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2761: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2762: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2763: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2764: 6) Selenium::WebDriver::Network adds an auth handler with multiple filters2765: Failure/Error:2766: reset_driver!(web_socket_url: true) do |driver|2767: network = described_class.new(driver)2768: network.add_response_handler do |response|2769: response.status = 2002770: response.headers['foo'] = 'bar'2771: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2772: response.provide_response2773: end2774: driver.navigate.to url_for('formPage.html')2775: source = driver.page_source2776: IOError:2777: stream closed in another thread2778: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2779: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2780: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2781: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2782: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2783: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2784: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2785: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2786: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2787: 7) Selenium::WebDriver::Network adds an auth handler with a pattern type2788: Failure/Error:2789: reset_driver!(web_socket_url: true) do |driver|2790: network = described_class.new(driver)2791: network.add_response_handler do |response|2792: response.status = 2002793: response.headers['foo'] = 'bar'2794: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2795: response.provide_response2796: end2797: driver.navigate.to url_for('formPage.html')2798: source = driver.page_source2799: IOError:2800: stream closed in another thread2801: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2802: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2803: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2804: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2805: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2806: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2807: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2808: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2809: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2810: 8) Selenium::WebDriver::Network removes an auth handler2811: Got 0 failures and 2 other errors:2812: 8.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2813: IOError:2814: stream closed in another thread2815: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2816: 8.2) Failure/Error:2817: reset_driver!(web_socket_url: true) do |driver|2818: network = described_class.new(driver)2819: network.add_response_handler do |response|2820: response.status = 2002821: response.headers['foo'] = 'bar'2822: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2823: response.provide_response2824: end2825: driver.navigate.to url_for('formPage.html')2826: source = driver.page_source2827: IOError:2828: stream closed in another thread2829: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2830: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2831: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2832: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2833: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2834: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2835: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2836: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2837: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2838: 9) Selenium::WebDriver::Network clears all auth handlers2839: Failure/Error:2840: reset_driver!(web_socket_url: true) do |driver|2841: network = described_class.new(driver)2842: network.add_response_handler do |response|2843: response.status = 2002844: response.headers['foo'] = 'bar'2845: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2846: response.provide_response2847: end2848: driver.navigate.to url_for('formPage.html')2849: source = driver.page_source2850: IOError:2851: stream closed in another thread2852: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2853: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2854: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2855: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2856: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2857: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2858: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2859: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2860: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2861: 10) Selenium::WebDriver::Network continues without auth2862: Failure/Error:2863: reset_driver!(web_socket_url: true) do |driver|2864: network = described_class.new(driver)2865: network.add_response_handler do |response|2866: response.status = 2002867: response.headers['foo'] = 'bar'2868: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2869: response.provide_response2870: end2871: driver.navigate.to url_for('formPage.html')2872: source = driver.page_source2873: IOError:2874: stream closed in another thread2875: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2876: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2877: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2878: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2879: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2880: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2881: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2882: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2883: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2884: 11) Selenium::WebDriver::Network cancels auth2885: Failure/Error:2886: reset_driver!(web_socket_url: true) do |driver|2887: network = described_class.new(driver)2888: network.add_response_handler do |response|2889: response.status = 2002890: response.headers['foo'] = 'bar'2891: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2892: response.provide_response2893: end2894: driver.navigate.to url_for('formPage.html')2895: source = driver.page_source2896: IOError:2897: stream closed in another thread2898: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2899: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2900: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2901: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2902: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2903: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2904: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2905: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2906: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2907: 12) Selenium::WebDriver::Network adds a request handler2908: Failure/Error:2909: reset_driver!(web_socket_url: true) do |driver|2910: network = described_class.new(driver)2911: network.add_response_handler do |response|2912: response.status = 2002913: response.headers['foo'] = 'bar'2914: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2915: response.provide_response2916: end2917: driver.navigate.to url_for('formPage.html')2918: source = driver.page_source2919: IOError:2920: stream closed in another thread2921: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2922: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2923: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2924: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2925: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2926: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2927: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2928: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2929: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2930: 13) Selenium::WebDriver::Network adds a request handler with a filter2931: Failure/Error:2932: reset_driver!(web_socket_url: true) do |driver|2933: network = described_class.new(driver)2934: network.add_response_handler do |response|2935: response.status = 2002936: response.headers['foo'] = 'bar'2937: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2938: response.provide_response2939: end2940: driver.navigate.to url_for('formPage.html')2941: source = driver.page_source2942: IOError:2943: stream closed in another thread2944: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2945: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2946: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2947: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2948: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2949: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2950: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2951: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2952: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2953: 14) Selenium::WebDriver::Network adds a request handler with multiple filters2954: Failure/Error:2955: reset_driver!(web_socket_url: true) do |driver|2956: network = described_class.new(driver)2957: network.add_response_handler do |response|2958: response.status = 2002959: response.headers['foo'] = 'bar'2960: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2961: respo...

@titusfortner

Copy link
Copy Markdown
MemberAuthor

I think these new remote-bidi failures are flaky and will be fixed by #16487
Rerun tests after that is merged.

@titusfortner
titusfortner marked this pull request as draft October 24, 2025 14:58
@titusfortner

Copy link
Copy Markdown
MemberAuthor

Moving to draft, still needs optimizing

@github-actionsgithub-actionsBot added the J-stale Applied to issues that become stale, and eventually closed. label Apr 22, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

B-buildIncludes scripting, bazel and CI integrationsB-devtoolsIncludes everything BiDi or Chrome DevTools relatedC-rbRuby BindingsJ-staleApplied to issues that become stale, and eventually closed.Review effort 2/5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@titusfortner@p0deje@selenium-ci
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Add copy buttons to all
 blocks\n(function() {\n function addCopyButtons() {\n document.querySelectorAll('pre code').forEach(function(codeBlock) {\n if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;\n codeBlock.parentElement.setAttribute('data-copy-added', 'true');\n \n var btn = document.createElement('button');\n btn.textContent = 'Copy';\n btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';\n btn.onmouseover = function() { this.style.opacity = '1'; };\n btn.onmouseout = function() { this.style.opacity = '0.7'; };\n btn.onclick = function() {\n navigator.clipboard.writeText(codeBlock.textContent).then(function() {\n btn.textContent = 'Copied!';\n setTimeout(function() { btn.textContent = 'Copy'; }, 1500);\n });\n };\n codeBlock.parentElement.style.position = 'relative';\n codeBlock.parentElement.appendChild(btn);\n });\n }\n \n addCopyButtons();\n \n // Re-run on dynamic content\n var observer = new MutationObserver(addCopyButtons);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Add Copy Buttons to Code Blocks");
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
Skip to content

[build] remove more ruby test targets that do not apply and support r… - #16484

Closed
titusfortner wants to merge 1 commit into
trunkfrom
rb_bidi_remote
Closed

[build] remove more ruby test targets that do not apply and support r…#16484
titusfortner wants to merge 1 commit into
trunkfrom
rb_bidi_remote

Conversation

@titusfortner

@titusfortnertitusfortner commented Oct 21, 2025

Copy link
Copy Markdown
Member

User description

  • Adds -bidi-remote option for each test target
  • Limits tests in bidi directory to just bidi supported browsers
  • Document these things in the README

I did not figure out how to prevent the bidi specific targets in the main webdriver directory from being added to non-supported browsers, but Ruby blocks that from running right now, so it is more housekeeping than performance speedup.
As in, these targets don't matter but will still be generated:

//rb/spec/integration/selenium/webdriver:network-ie
//rb/spec/integration/selenium/webdriver:network-ie-remote
//rb/spec/integration/selenium/webdriver:network-safari
//rb/spec/integration/selenium/webdriver:network-safari-preview

PR Type

Enhancement, Tests


Description

  • Adds remote-bidi test targets for BiDi-supported browsers

  • Restricts bidi tests to explicitly supported browsers via BIDI_BROWSERS

  • Expands bidi test coverage with remote execution capability

  • Updates documentation with bidi testing guidance and examples


Diagram Walkthrough

flowchart LR
A["BIDI_BROWSERS<br/>defined"] -->|filters| B["bidi test<br/>generation"]
B -->|creates| C["local-bidi<br/>targets"]
B -->|creates| D["remote-bidi<br/>targets"]
E["rb_integration_test<br/>function"] -->|checks| A
E -->|generates| C
E -->|generates| D
Loading

File Walkthrough

Relevant files
Enhancement
tests.bzl
Add bidi browser filtering and remote-bidi test targets

rb/spec/tests.bzl

  • Defines BIDI_BROWSERS constant listing supported browsers for bidi
    testing
  • Adds condition to restrict bidi test generation to browsers in
    BIDI_BROWSERS
  • Generates new remote-bidi test targets alongside existing bidi targets
  • Configures remote-bidi targets with proper environment variables and
    dependencies
+35/-1
BUILD.bazel
Restrict bidi tests to supported browsers

rb/spec/integration/selenium/webdriver/bidi/BUILD.bazel

  • Imports BIDI_BROWSERS constant from tests.bzl
  • Restricts bidi integration tests to only supported browsers via
    browsers parameter
+2/-1
Documentation
README.md
Document bidi testing and remote-bidi test targets

README.md

  • Adds documentation for running bidi-specific tests with
    --test_tag_filters bidi
  • Explains dynamic test target generation and BiDi protocol importance
  • Updates test target examples to include bidi and remote-bidi variants
  • Documents WEBDRIVER_BIDI environment variable for enabling web socket
    URLs
  • Adds chrome-beta to supported browsers list
+18/-11

@selenium-ciselenium-ci added C-rb Ruby Bindings B-build Includes scripting, bazel and CI integrations B-devtools Includes everything BiDi or Chrome DevTools related labels Oct 21, 2025
@qodo-code-review

Copy link
Copy Markdown
Contributor

PR Compliance Guide 🔍

Below is a summary of compliance checks for this PR:

Security Compliance
🟢
No security concerns identified No security vulnerabilities detected by AI analysis. Human verification advised for critical code.
Ticket Compliance
🎫 No ticket provided
- [ ] Create ticket/issue <!-- /create_ticket --create_ticket=true -->
</details></td></tr>
Codebase Duplication Compliance
Codebase context is not defined

Follow the guide to enable codebase context checks.

Custom Compliance
No custom compliance provided

Follow the guide to enable custom compliance check.

Compliance status legend 🟢 - Fully Compliant
🟡 - Partial Compliant
🔴 - Not Compliant
⚪ - Requires Further Human Verification
🏷️ - Compliance label

@qodo-code-review

Copy link
Copy Markdown
Contributor

PR Code Suggestions ✨

Explore these optional code suggestions:

CategorySuggestion Impact
Possible issue
Add missing remote browser environment variable

Add the missing WD_REMOTE_BROWSER environment variable to the remote-bidi test
target to specify the browser for remote execution.

rb/spec/tests.bzl [244-269]

 + rb_test(
+ name = "{}-{}-remote-bidi".format(name, browser),
+ size = "large",
+ srcs = srcs,
+ args = ["rb/spec/"],
+ data = BROWSERS[browser]["data"] + data + [
+ "//common/src/web",
+ "//java/src/org/openqa/selenium/grid:selenium_server_deploy.jar",
+ "//rb/spec:java-location",
+ "@bazel_tools//tools/jdk:current_java_runtime",
+ ],
+ env = BROWSERS[browser]["env"] | {
+ "WD_BAZEL_JAVA_LOCATION": "$(rootpath //rb/spec:java-location)",
+ "WD_SPEC_DRIVER": "remote",
++ "WD_REMOTE_BROWSER": browser,
+ "WEBDRIVER_BIDI": "true",
+ },
+ main = "@bundle//bin:rspec",
+ tags = COMMON_TAGS + BROWSERS[browser]["tags"] + tags + ["{}-remote-bidi".format(browser)],
+ deps = depset(
+ ["//rb/spec/integration/selenium/webdriver:spec_helper", "//rb/lib/selenium/webdriver:bidi"] +
+ BROWSERS[browser]["deps"] +
+ deps,
+ ),
+ visibility = ["//rb:__subpackages__"],
+ target_compatible_with = BROWSERS[browser]["target_compatible_with"],
+ )

[To ensure code accuracy, apply this suggestion manually]

Suggestion importance[1-10]: 9

__

Why: The suggestion correctly identifies that the WD_REMOTE_BROWSER environment variable is missing for the new remote-bidi test target, which would cause these tests to fail.

High
High-level
Refactor build logic to reduce duplication

To reduce code duplication in rb/spec/tests.bzl, refactor the build logic by
creating a helper function. This function would generate remote test targets and
accept parameters for BiDi-specific configurations, consolidating the similar
logic for 'remote' and 'remote-bidi' targets.

Examples:

rb/spec/tests.bzl [226-269]
if"bidi"intagsandbrowserinBIDI_BROWSERS:
rb_test(
name="{}-{}-bidi".format(name, browser),
size="large",
srcs=srcs,
args= ["rb/spec/"],
data=BROWSERS[browser]["data"] +data+ ["//common/src/web"],
env=BROWSERS[browser]["env"] | {"WEBDRIVER_BIDI": "true"},
main="@bundle//bin:rspec",
tags=COMMON_TAGS+BROWSERS[browser]["tags"] +tags+ ["{}-bidi".format(browser)],
... (clipped34lines)

Solution Walkthrough:

Before:

# in rb/spec/tests.bzl within rb_integration_testif"bidi"intagsandbrowserinBIDI_BROWSERS:
# local bidi testrb_test(
name="{}-{}-bidi".format(name, browser),
env= {"WEBDRIVER_BIDI": "true"},
tags=tags+ ["{}-bidi".format(browser)],
deps=deps+ ["//rb/lib/selenium/webdriver:bidi"],
...
)
# remote bidi test (newly added, very similar to existing remote tests)rb_test(
name="{}-{}-remote-bidi".format(name, browser),
data=data+ ["//.../selenium_server_deploy.jar", ...],
env= {"WD_SPEC_DRIVER": "remote", "WEBDRIVER_BIDI": "true", ...},
tags=tags+ ["{}-remote-bidi".format(browser)],
deps=deps+ ["//rb/lib/selenium/webdriver:bidi"],
...
)

After:

# in rb/spec/tests.bzldef_create_bidi_test(name, browser, srcs, tags, deps, data, is_remote=False):
remote_suffix="-remote"ifis_remoteelse""env= {"WEBDRIVER_BIDI": "true"}
ifis_remote:
env["WD_SPEC_DRIVER"] ="remote"# ... other remote env varsdata+= ["//.../selenium_server_deploy.jar", ...]
rb_test(
name="{}-{}-bidi{}".format(name, browser, remote_suffix),
env=env,
data=data,
...
)
# in rb/spec/tests.bzl within rb_integration_testif"bidi"intagsandbrowserinBIDI_BROWSERS:
_create_bidi_test(..., is_remote=False)
_create_bidi_test(..., is_remote=True)
Suggestion importance[1-10]: 7

__

Why: The suggestion correctly identifies significant code duplication in the Bazel build file rb/spec/tests.bzl and proposes a valid refactoring that would improve long-term maintainability.

Medium
Learned
best practice
Validate BIDI browser list

Guard against unsupported browsers by asserting that every entry in
BIDI_BROWSERS exists in BROWSERS to prevent misconfiguration and hard-to-debug
build failures.

rb/spec/tests.bzl [12-269]

 BIDI_BROWSERS = [
"chrome",
"chrome-beta",
"edge",
"firefox",
"firefox-beta",
]
++# Validate bidi browser list against known browsers+for _b in BIDI_BROWSERS:+ if _b not in BROWSERS:+ fail("Unknown browser in BIDI_BROWSERS: {}".format(_b))+
...
- if "bidi" in tags and browser in BIDI_BROWSERS:- rb_test(- name = "{}-{}-bidi".format(name, browser),- ...- target_compatible_with = BROWSERS[browser]["target_compatible_with"],- )- rb_test(- name = "{}-{}-remote-bidi".format(name, browser),- ...- target_compatible_with = BROWSERS[browser]["target_compatible_with"],- )+if "bidi" in tags and browser in BIDI_BROWSERS:+ rb_test(+ name = "{}-{}-bidi".format(name, browser),+ ...+ target_compatible_with = BROWSERS[browser]["target_compatible_with"],+ )+ rb_test(+ name = "{}-{}-remote-bidi".format(name, browser),+ ...+ target_compatible_with = BROWSERS[browser]["target_compatible_with"],+ )

[To ensure code accuracy, apply this suggestion manually]

Suggestion importance[1-10]: 6

__

Why:
Relevant best practice - Validate inputs and states early to avoid generating invalid configurations or targets.

Low
  • More

@qodo-code-review

Copy link
Copy Markdown
Contributor

CI Feedback 🧐

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: //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi

Failure summary:

The action failed because the test target
//rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi consistently failed (2
attempts).
- Primary error: IOError: stream closed in another thread raised from
./rb/lib/selenium/webdriver/common/websocket_connection.rb:48 and :102 during BiDi WebSocket
operations, often while closing or attaching the socket listener.
- This caused multiple RSpec
examples in rb/spec/integration/selenium/webdriver/network_spec.rb to fail (20 failures on the
stable Firefox remote BiDi run), e.g.:
- adds an auth handler (network_spec.rb:30)
- adds an
auth handler with a filter (network_spec.rb:40)
- adds a request handler with attributes
(network_spec.rb:145)
- and others listed between lines 3122–3141 of the log.
- Additional
timeouts seen in related BiDi tests (e.g., TimeoutError on navigate) indicate unstable BiDi
communication, but the hard failure was the repeated IOError in the Firefox remote BiDi network
suite.
- Bazel summary: 2437 tests passed, 1 failed remotely; build completed with 1 test FAILED and
process exited with code 3.

Relevant error logs:
1: ##[group]Runner Image Provisioner2: Hosted Compute Agent
...
925: Package 'php-sql-formatter' is not installed, so not removed926: Package 'php8.3-ssh2' is not installed, so not removed927: Package 'php-ssh2-all-dev' is not installed, so not removed928: Package 'php8.3-stomp' is not installed, so not removed929: Package 'php-stomp-all-dev' is not installed, so not removed930: Package 'php-swiftmailer' is not installed, so not removed931: Package 'php-symfony' is not installed, so not removed932: Package 'php-symfony-asset' is not installed, so not removed933: Package 'php-symfony-asset-mapper' is not installed, so not removed934: Package 'php-symfony-browser-kit' is not installed, so not removed935: Package 'php-symfony-clock' is not installed, so not removed936: Package 'php-symfony-debug-bundle' is not installed, so not removed937: Package 'php-symfony-doctrine-bridge' is not installed, so not removed938: Package 'php-symfony-dom-crawler' is not installed, so not removed939: Package 'php-symfony-dotenv' is not installed, so not removed940: Package 'php-symfony-error-handler' is not installed, so not removed941: Package 'php-symfony-event-dispatcher' is not installed, so not removed
...
1119: Package 'php-twig-html-extra' is not installed, so not removed1120: Package 'php-twig-i18n-extension' is not installed, so not removed1121: Package 'php-twig-inky-extra' is not installed, so not removed1122: Package 'php-twig-intl-extra' is not installed, so not removed1123: Package 'php-twig-markdown-extra' is not installed, so not removed1124: Package 'php-twig-string-extra' is not installed, so not removed1125: Package 'php8.3-uopz' is not installed, so not removed1126: Package 'php-uopz-all-dev' is not installed, so not removed1127: Package 'php8.3-uploadprogress' is not installed, so not removed1128: Package 'php-uploadprogress-all-dev' is not installed, so not removed1129: Package 'php8.3-uuid' is not installed, so not removed1130: Package 'php-uuid-all-dev' is not installed, so not removed1131: Package 'php-validate' is not installed, so not removed1132: Package 'php-vlucas-phpdotenv' is not installed, so not removed1133: Package 'php-voku-portable-ascii' is not installed, so not removed1134: Package 'php-wmerrors' is not installed, so not removed1135: Package 'php-xdebug-all-dev' is not installed, so not removed
...
1761: (20:14:53) �[32mLoading:�[0m 2 packages loaded1762: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image distributor-image: https://github.com/bazel-contrib/rules_oci/issues/2201763: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image event-bus-image: https://github.com/bazel-contrib/rules_oci/issues/2201764: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image router-image: https://github.com/bazel-contrib/rules_oci/issues/2201765: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image session-map-image: https://github.com/bazel-contrib/rules_oci/issues/2201766: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image session-queue-image: https://github.com/bazel-contrib/rules_oci/issues/2201767: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image chrome-node: https://github.com/bazel-contrib/rules_oci/issues/2201768: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image firefox-node: https://github.com/bazel-contrib/rules_oci/issues/2201769: (20:14:58) �[32mLoading:�[0m 243 packages loaded1770: currently loading: javascript/atoms ... (11 packages)1771: (20:15:02) �[32mAnalyzing:�[0m 2438 targets (254 packages loaded, 0 targets configured)1772: (20:15:02) �[32mAnalyzing:�[0m 2438 targets (254 packages loaded, 0 targets configured)1773: (20:15:08) �[32mAnalyzing:�[0m 2438 targets (420 packages loaded, 61 targets configured)1774: (20:15:10) �[33mDEBUG: �[0m/home/runner/.bazel/external/rules_jvm_external+/private/extensions/maven.bzl:295:14: WARNING: The following maven modules appear in multiple sub-modules with potentially different versions. Consider adding one of these to your root module to ensure consistent versions:1775: com.google.code.findbugs:jsr3051776: com.google.errorprone:error_prone_annotations1777: com.google.guava:guava (versions: 30.1.1-jre, 31.0.1-android)
...
1804: (20:16:09) �[32mAnalyzing:�[0m 2438 targets (1650 packages loaded, 49706 targets configured)1805: �[32m[740 / 841]�[0m 29 / 74 tests;�[0m checking cached actions1806: (20:16:14) �[32mAnalyzing:�[0m 2438 targets (1656 packages loaded, 49798 targets configured)1807: �[32m[740 / 841]�[0m 29 / 74 tests;�[0m checking cached actions1808: (20:16:15) �[32mINFO: �[0mFrom Building external/contrib_rules_jvm+/java/src/com/github/bazel_contrib/contrib_rules_jvm/junit5/libjunit5-compile-class.jar (19 source files):1809: warning: [options] source value 8 is obsolete and will be removed in a future release1810: warning: [options] target value 8 is obsolete and will be removed in a future release1811: warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.1812: (20:16:17) �[35mWARNING: �[0m/home/runner/.bazel/external/io_bazel_rules_closure/java/com/google/javascript/jscomp/BUILD:19:13: in java_library rule @@io_bazel_rules_closure//java/com/google/javascript/jscomp:jscomp: target '@@io_bazel_rules_closure//java/com/google/javascript/jscomp:jscomp' depends on deprecated target '@@io_bazel_rules_closure//java/io/bazel/rules/closure:build_info_java_proto': Use java_proto_library from com_google_protobuf1813: (20:16:17) �[33mDEBUG: �[0m/home/runner/.bazel/external/io_bazel_rules_closure/closure/compiler/closure_js_deps.bzl:38:10: closure_js_deps() and deps.js files are deprecated. Please remove your closure_js_deps rules and, if needed, use the google-closure-deps npm module with bazelbuild/rules_nodejs to generate deps.js files.1814: (20:16:18) �[33mDEBUG: �[0m/home/runner/.bazel/external/io_bazel_rules_closure/closure/compiler/closure_js_deps.bzl:38:10: closure_js_deps() and deps.js files are deprecated. Please remove your closure_js_deps rules and, if needed, use the google-closure-deps npm module with bazelbuild/rules_nodejs to generate deps.js files.1815: (20:16:18) �[33mDEBUG: �[0m/home/runner/.bazel/external/io_bazel_rules_closure/closure/compiler/closure_js_deps.bzl:38:10: closure_js_deps() and deps.js files are deprecated. Please remove your closure_js_deps rules and, if needed, use the google-closure-deps npm module with bazelbuild/rules_nodejs to generate deps.js files.1816: (20:16:19) �[32mAnalyzing:�[0m 2438 targets (1706 packages loaded, 56785 targets configured)1817: �[32m[1,791 / 2,508]�[0m 81 / 91 tests;�[0m Creating source manifest for //rb/spec/integration/selenium/webdriver/bidi:script-firefox-beta-bidi; 0s local ... (6 actions, 4 running)1818: (20:16:20) �[32mINFO: �[0mFrom Building java/src/org/openqa/selenium/remote/libapi-class.jar (63 source files):1819: java/src/org/openqa/selenium/remote/ErrorHandler.java:46: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1820: private final ErrorCodes errorCodes;1821: ^1822: java/src/org/openqa/selenium/remote/ErrorHandler.java:60: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1823: this.errorCodes = new ErrorCodes();1824: ^1825: java/src/org/openqa/selenium/remote/ErrorHandler.java:68: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1826: public ErrorHandler(ErrorCodes codes, boolean includeServerErrors) {1827: ^1828: java/src/org/openqa/selenium/remote/Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1829: ErrorCodes errorCodes = new ErrorCodes();1830: ^1831: java/src/org/openqa/selenium/remote/Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1832: ErrorCodes errorCodes = new ErrorCodes();1833: ^1834: java/src/org/openqa/selenium/remote/ProtocolHandshake.java:181: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1835: response.setStatus(ErrorCodes.SUCCESS);1836: ^1837: java/src/org/openqa/selenium/remote/ProtocolHandshake.java:182: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1838: response.setState(ErrorCodes.SUCCESS_STRING);1839: ^1840: java/src/org/openqa/selenium/remote/W3CHandshakeResponse.java:53: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1841: new ErrorCodes().toStatus((String) rawError, Optional.of(tuple.getStatusCode())));1842: ^1843: java/src/org/openqa/selenium/remote/W3CHandshakeResponse.java:56: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1844: new ErrorCodes().getExceptionType((String) rawError);1845: ^1846: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:44: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1847: private final ErrorCodes errorCodes = new ErrorCodes();1848: ^1849: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:44: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1850: private final ErrorCodes errorCodes = new ErrorCodes();1851: ^1852: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:55: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1853: int status = response.getStatus() == ErrorCodes.SUCCESS ? HTTP_OK : HTTP_INTERNAL_ERROR;1854: ^1855: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:101: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1856: response.setStatus(ErrorCodes.UNKNOWN_COMMAND);1857: ^1858: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:103: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1859: response.setStatus(ErrorCodes.UNHANDLED_ERROR);1860: ^1861: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:117: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1862: response.setStatus(ErrorCodes.SUCCESS);1863: ^1864: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:118: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1865: response.setState(errorCodes.toState(ErrorCodes.SUCCESS));1866: ^1867: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:124: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1868: response.setState(errorCodes.toState(ErrorCodes.SUCCESS));1869: ^1870: 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 removal1871: private final ErrorCodes errorCodes = new ErrorCodes();1872: ^1873: 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 removal1874: private final ErrorCodes errorCodes = new ErrorCodes();1875: ^1876: 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 removal1877: response.setStatus(ErrorCodes.UNKNOWN_COMMAND);1878: ^1879: 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 removal1880: response.setStatus(ErrorCodes.UNHANDLED_ERROR);1881: ^1882: 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 removal1883: response.setStatus(ErrorCodes.SUCCESS);1884: ^
...
1889: (20:16:24) �[32mAnalyzing:�[0m 2438 targets (1709 packages loaded, 61320 targets configured)1890: �[32m[3,408 / 4,512]�[0m 81 / 379 tests;�[0m Creating source manifest for //java/test/org/openqa/selenium/bidi/webextension:WebExtensionTest; 0s local ... (36 actions, 22 running)1891: (20:16:28) �[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/test1892: (20:16:28) �[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/test1893: (20:16:28) �[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/test1894: (20:16:28) �[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/test1895: (20:16:28) �[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/test1896: (20:16:28) �[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/test1897: (20:16:28) �[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/test1898: (20:16:28) �[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/test1899: (20:16:28) �[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/test1900: (20:16:28) �[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/test1901: (20:16:28) �[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/test1902: (20:16:28) �[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/test1903: (20:16:28) �[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/test1904: (20:16:28) �[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/test1905: (20:16:28) �[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
...
2158: �[32m[9,793 / 12,228]�[0m 151 / 1994 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver:action_builder-firefox; 4s ... (50 actions, 0 running)2159: (20:17:15) �[32mAnalyzing:�[0m 2438 targets (1747 packages loaded, 69239 targets configured)2160: �[32m[10,196 / 12,733]�[0m 218 / 2153 tests;�[0m [Prepa] Testing //javascript/selenium-webdriver:test-logging-test.js-chrome ... (50 actions, 13 running)2161: (20:17:20) �[32mAnalyzing:�[0m 2438 targets (1747 packages loaded, 69352 targets configured)2162: �[32m[11,183 / 13,296]�[0m 289 / 2266 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver/firefox:profile-firefox ... (49 actions, 3 running)2163: (20:17:25) �[32mAnalyzing:�[0m 2438 targets (1747 packages loaded, 69468 targets configured)2164: �[32m[11,730 / 13,892]�[0m 353 / 2382 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver:navigation-edge-bidi ... (48 actions, 2 running)2165: (20:17:27) �[32mINFO: �[0mAnalyzed 2438 targets (1748 packages loaded, 69586 targets configured).2166: (20:17:30) �[32m[12,790 / 14,806]�[0m 428 / 2438 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver/remote:element-chrome-beta ... (45 actions, 12 running)2167: (20:17:31) �[32mINFO: �[0mFrom Compiling Rust bin cargo_toml_variable_extractor (1 files) [for tool]:2168: �[0m�[1m�[33mwarning�[0m�[0m�[1m: the gold linker is deprecated and has known bugs with Rust�[0m2169: �[0m �[0m�[0m�[1m�[38;5;12m|�[0m2170: �[0m �[0m�[0m�[1m�[38;5;12m= �[0m�[0m�[1mhelp�[0m�[0m: consider using LLD or ld from GNU binutils instead�[0m2171: �[0m�[1m�[33mwarning�[0m�[0m�[1m: 1 warning emitted�[0m2172: (20:17:31) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/libsmall-tests-test-lib.jar (5 source files) and running annotation processors (AutoServiceProcessor):2173: java/test/org/openqa/selenium/remote/WebDriverFixture.java:170: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2174: response.setStatus(new ErrorCodes().toStatus(state, Optional.of(400)));2175: ^2176: (20:17:32) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/RemotableByTest.jar (1 source file) and running annotation processors (AutoServiceProcessor):2177: java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2178: import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;2179: ^2180: java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2181: import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;2182: ^2183: java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2184: import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;2185: ^2186: java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2187: private final ErrorCodes errorCodes = new ErrorCodes();2188: ^2189: java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2190: private final ErrorCodes errorCodes = new ErrorCodes();2191: ^2192: java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2193: private final ErrorCodes errorCodes = new ErrorCodes();2194: ^2195: java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2196: private final ErrorCodes errorCodes = new ErrorCodes();2197: ^2198: (20:17:32) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/ErrorHandlerTest.jar (1 source file) and running annotation processors (AutoServiceProcessor):2199: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:79: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2200: handler.throwIfResponseFailed(createResponse(ErrorCodes.SUCCESS), 100);2201: ^2202: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:85: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2203: assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_WINDOW, NoSuchWindowException.class);2204: ^2205: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:86: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2206: assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_FRAME, NoSuchFrameException.class);2207: ^2208: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:87: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2209: assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_ELEMENT, NoSuchElementException.class);2210: ^2211: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:88: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2212: assertThrowsCorrectExceptionType(ErrorCodes.UNKNOWN_COMMAND, UnsupportedCommandException.class);2213: ^2214: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:90: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2215: ErrorCodes.METHOD_NOT_ALLOWED, UnsupportedCommandException.class);2216: ^2217: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:92: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2218: ErrorCodes.STALE_ELEMENT_REFERENCE, StaleElementReferenceException.class);2219: ^2220: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:94: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2221: ErrorCodes.INVALID_ELEMENT_STATE, InvalidElementStateException.class);2222: ^2223: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:95: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2224: assertThrowsCorrectExceptionType(ErrorCodes.XPATH_LOOKUP_ERROR, InvalidSelectorException.class);2225: ^2226: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:107: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2227: Response response = createResponse(ErrorCodes.UNHANDLED_ERROR);2228: ^2229: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:120: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2230: createResponse(ErrorCodes.UNHANDLED_ERROR, "boom"), 123))2231: ^2232: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:133: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2233: createResponse(ErrorCodes.UNHANDLED_ERROR, ImmutableMap.of("message", "boom")),2234: ^2235: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:147: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2236: ErrorCodes.UNHANDLED_ERROR,2237: ^2238: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:167: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2239: ErrorCodes.UNHANDLED_ERROR,2240: ^2241: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:193: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2242: createResponse(ErrorCodes.UNHANDLED_ERROR, toMap(serverError)), 123))2243: ^2244: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:214: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2245: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2246: ^2247: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:248: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2248: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2249: ^2250: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:280: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2251: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2252: ^2253: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:308: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2254: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2255: ^2256: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:327: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2257: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2258: ^2259: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:355: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2260: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2261: ^2262: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:394: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2263: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2264: ^2265: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:426: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2266: createResponse(ErrorCodes.UNHANDLED_ERROR, toMap(serverError)), 123))2267: ^2268: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:435: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2269: exceptions.put(ErrorCodes.NO_SUCH_SESSION, NoSuchSessionException.class);2270: ^2271: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:436: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2272: exceptions.put(ErrorCodes.NO_SUCH_ELEMENT, NoSuchElementException.class);2273: ^2274: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:437: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2275: exceptions.put(ErrorCodes.NO_SUCH_FRAME, NoSuchFrameException.class);2276: ^2277: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:438: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2278: exceptions.put(ErrorCodes.UNKNOWN_COMMAND, UnsupportedCommandException.class);2279: ^2280: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:439: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2281: exceptions.put(ErrorCodes.STALE_ELEMENT_REFERENCE, StaleElementReferenceException.class);2282: ^2283: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:440: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2284: exceptions.put(ErrorCodes.INVALID_ELEMENT_STATE, InvalidElementStateException.class);2285: ^2286: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:441: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2287: exceptions.put(ErrorCodes.UNHANDLED_ERROR, WebDriverException.class);2288: ^2289: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:442: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2290: exceptions.put(ErrorCodes.JAVASCRIPT_ERROR, JavascriptException.class);2291: ^2292: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:443: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2293: exceptions.put(ErrorCodes.XPATH_LOOKUP_ERROR, InvalidSelectorException.class);2294: ^2295: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:444: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2296: exceptions.put(ErrorCodes.TIMEOUT, TimeoutException.class);2297: ^2298: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:445: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2299: exceptions.put(ErrorCodes.NO_SUCH_WINDOW, NoSuchWindowException.class);2300: ^2301: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:446: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2302: exceptions.put(ErrorCodes.INVALID_COOKIE_DOMAIN, InvalidCookieDomainException.class);2303: ^2304: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:447: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2305: exceptions.put(ErrorCodes.UNABLE_TO_SET_COOKIE, UnableToSetCookieException.class);2306: ^2307: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:448: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2308: exceptions.put(ErrorCodes.UNEXPECTED_ALERT_PRESENT, UnhandledAlertException.class);2309: ^2310: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:449: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2311: exceptions.put(ErrorCodes.NO_ALERT_PRESENT, NoAlertPresentException.class);2312: ^2313: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:450: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2314: exceptions.put(ErrorCodes.ASYNC_SCRIPT_TIMEOUT, ScriptTimeoutException.class);2315: ^2316: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:451: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2317: exceptions.put(ErrorCodes.INVALID_SELECTOR_ERROR, InvalidSelectorException.class);2318: ^2319: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:452: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2320: exceptions.put(ErrorCodes.SESSION_NOT_CREATED, SessionNotCreatedException.class);2321: ^2322: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:453: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2323: exceptions.put(ErrorCodes.MOVE_TARGET_OUT_OF_BOUNDS, MoveTargetOutOfBoundsException.class);2324: ^2325: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:454: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2326: exceptions.put(ErrorCodes.INVALID_XPATH_SELECTOR, InvalidSelectorException.class);2327: ^2328: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:455: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2329: exceptions.put(ErrorCodes.INVALID_XPATH_SELECTOR_RETURN_TYPER, InvalidSelectorException.class);2330: ^2331: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:469: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2332: ? ErrorCodes.INVALID_SELECTOR_ERROR2333: ^2334: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:471: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2335: assertThat(new ErrorCodes().toStatusCode(e)).isEqualTo(expected);2336: ^2337: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:483: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2338: response.setState(new ErrorCodes().toState(status));2339: ^2340: (20:17:33) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.jar (1 source file):2341: 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 removal2342: import static org.openqa.selenium.remote.ErrorCodes.METHOD_NOT_ALLOWED;2343: ^2344: 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 removal2345: assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.SUCCESS);2346: ^2347: 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 removal2348: assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.UNHANDLED_ERROR);2349: ^2350: 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 removal2351: assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.UNHANDLED_ERROR);2352: ^2353: (20:17:33) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/json/JsonTest.jar (1 source file):2354: java/test/org/openqa/selenium/json/JsonTest.java:430: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2355: assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(0));2356: ^2357: java/test/org/openqa/selenium/json/JsonTest.java:441: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2358: assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(0));2359: ^2360: java/test/org/openqa/selenium/json/JsonTest.java:454: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2361: assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(32));2362: ^
...
2553: (20:22:04) �[32m[17,347 / 17,349]�[0m 2346 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 215s remote, remote-cache ... (2 actions running)2554: (20:22:11) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 223s remote, remote-cache2555: (20:22:17) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 229s remote, remote-cache2556: (20:22:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 259s remote, remote-cache2557: (20:23:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 319s remote, remote-cache2558: (20:24:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 379s remote, remote-cache2559: (20:25:01) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 393s remote, remote-cache2560: (20:25:02) �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi/test_attempts/attempt_1.log)2561: (20:25:06) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 398s remote, remote-cache2562: (20:25:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 439s remote, remote-cache2563: (20:26:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 499s remote, remote-cache2564: (20:27:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 559s remote, remote-cache2565: (20:28:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 619s remote, remote-cache2566: (20:29:24) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 655s remote, remote-cache2567: (20:29:24) �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi/test.log)2568: �[31m�[1mFAILED: �[0m//rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi (Summary)2569: /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi/test.log
...
2576: driver: remote2577: version: stable2578: platform: linux2579: ci: github2580: rbe: true2581: ruby: jruby 10.0.0.0 (3.4.2) 2025-04-13 6ed59bc847 OpenJDK 64-Bit Server VM 21.0.4+7-LTS on 21.0.4+7-LTS [x86_64-linux]2582: Selenium::WebDriver::Network2583: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/handshake/base.rb:40: warning: previous definition of to_s was here2584: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/handshake/base.rb:53: warning: previous definition of valid? was here2585: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/handshake/client.rb:57: warning: previous definition of initialize was here2586: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/handshake/client.rb:90: warning: previous definition of << was here2587: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/frame/base.rb:19: warning: previous definition of initialize was here2588: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/frame/outgoing.rb:28: warning: previous definition of to_s was here2589: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/frame/incoming.rb:40: warning: previous definition of next was here2590: adds an auth handler2591: adds an auth handler with a filter (FAILED - 1)2592: adds an auth handler with multiple filters2593: adds an auth handler with a pattern type2594: removes an auth handler (FAILED - 2)2595: clears all auth handlers2596: continues without auth2597: cancels auth2598: adds a request handler2599: adds a request handler with a filter2600: adds a request handler with multiple filters2601: adds a request handler with a pattern type2602: adds a request handler with attributes (FAILED - 3)2603: fails a request2604: removes a request handler2605: clears all request handlers2606: adds a response handler2607: adds a response handler with a filter2608: adds a response handler with multiple filters2609: adds a response handler with a pattern type2610: adds a response handler with attributes2611: adds an auth handler (FAILED - 4)2612: adds an auth handler with a filter (FAILED - 5)2613: adds an auth handler with multiple filters (FAILED - 6)2614: adds an auth handler with a pattern type (FAILED - 7)2615: removes an auth handler (FAILED - 8)2616: clears all auth handlers (FAILED - 9)2617: continues without auth (FAILED - 10)2618: cancels auth (FAILED - 11)2619: adds a request handler (FAILED - 12)2620: adds a request handler with a filter (FAILED - 13)2621: adds a request handler with multiple filters (FAILED - 14)2622: adds a request handler with a pattern type (FAILED - 15)2623: adds a request handler with attributes (FAILED - 16)2624: fails a request (FAILED - 17)2625: removes a request handler (FAILED - 18)2626: clears all request handlers (FAILED - 19)2627: adds a response handler (FAILED - 20)2628: Failures:2629: 1) Selenium::WebDriver::Network adds an auth handler with a filter2630: Got 0 failures and 2 other errors:2631: 1.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2632: IOError:2633: stream closed in another thread2634: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2635: 1.2) Failure/Error:2636: reset_driver!(web_socket_url: true) do |driver|2637: network = described_class.new(driver)2638: network.add_response_handler do |response|2639: response.status = 2002640: response.headers['foo'] = 'bar'2641: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2642: response.provide_response2643: end2644: driver.navigate.to url_for('formPage.html')2645: source = driver.page_source2646: IOError:2647: stream closed in another thread2648: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2649: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2650: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2651: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2652: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2653: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2654: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2655: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2656: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2657: 2) Selenium::WebDriver::Network removes an auth handler2658: Got 0 failures and 2 other errors:2659: 2.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2660: IOError:2661: stream closed in another thread2662: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2663: 2.2) Failure/Error:2664: reset_driver!(web_socket_url: true) do |driver|2665: network = described_class.new(driver)2666: network.add_response_handler do |response|2667: response.status = 2002668: response.headers['foo'] = 'bar'2669: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2670: response.provide_response2671: end2672: driver.navigate.to url_for('formPage.html')2673: source = driver.page_source2674: IOError:2675: stream closed in another thread2676: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2677: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2678: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2679: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2680: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2681: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2682: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2683: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2684: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2685: 3) Selenium::WebDriver::Network adds a request handler with attributes2686: Got 0 failures and 2 other errors:2687: 3.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2688: IOError:2689: stream closed in another thread2690: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2691: 3.2) Failure/Error:2692: reset_driver!(web_socket_url: true) do |driver|2693: network = described_class.new(driver)2694: network.add_response_handler do |response|2695: response.status = 2002696: response.headers['foo'] = 'bar'2697: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2698: response.provide_response2699: end2700: driver.navigate.to url_for('formPage.html')2701: source = driver.page_source2702: IOError:2703: stream closed in another thread2704: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2705: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2706: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2707: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2708: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2709: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2710: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2711: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2712: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2713: 4) Selenium::WebDriver::Network adds an auth handler2714: Failure/Error:2715: reset_driver!(web_socket_url: true) do |driver|2716: network = described_class.new(driver)2717: network.add_response_handler do |response|2718: response.status = 2002719: response.headers['foo'] = 'bar'2720: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2721: response.provide_response2722: end2723: driver.navigate.to url_for('formPage.html')2724: source = driver.page_source2725: IOError:2726: stream closed in another thread2727: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2728: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2729: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2730: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2731: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2732: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2733: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2734: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2735: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2736: 5) Selenium::WebDriver::Network adds an auth handler with a filter2737: Got 0 failures and 2 other errors:2738: 5.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2739: IOError:2740: stream closed in another thread2741: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2742: 5.2) Failure/Error:2743: reset_driver!(web_socket_url: true) do |driver|2744: network = described_class.new(driver)2745: network.add_response_handler do |response|2746: response.status = 2002747: response.headers['foo'] = 'bar'2748: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2749: response.provide_response2750: end2751: driver.navigate.to url_for('formPage.html')2752: source = driver.page_source2753: IOError:2754: stream closed in another thread2755: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2756: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2757: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2758: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2759: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2760: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2761: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2762: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2763: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2764: 6) Selenium::WebDriver::Network adds an auth handler with multiple filters2765: Failure/Error:2766: reset_driver!(web_socket_url: true) do |driver|2767: network = described_class.new(driver)2768: network.add_response_handler do |response|2769: response.status = 2002770: response.headers['foo'] = 'bar'2771: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2772: response.provide_response2773: end2774: driver.navigate.to url_for('formPage.html')2775: source = driver.page_source2776: IOError:2777: stream closed in another thread2778: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2779: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2780: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2781: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2782: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2783: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2784: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2785: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2786: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2787: 7) Selenium::WebDriver::Network adds an auth handler with a pattern type2788: Failure/Error:2789: reset_driver!(web_socket_url: true) do |driver|2790: network = described_class.new(driver)2791: network.add_response_handler do |response|2792: response.status = 2002793: response.headers['foo'] = 'bar'2794: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2795: response.provide_response2796: end2797: driver.navigate.to url_for('formPage.html')2798: source = driver.page_source2799: IOError:2800: stream closed in another thread2801: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2802: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2803: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2804: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2805: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2806: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2807: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2808: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2809: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2810: 8) Selenium::WebDriver::Network removes an auth handler2811: Got 0 failures and 2 other errors:2812: 8.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2813: IOError:2814: stream closed in another thread2815: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2816: 8.2) Failure/Error:2817: reset_driver!(web_socket_url: true) do |driver|2818: network = described_class.new(driver)2819: network.add_response_handler do |response|2820: response.status = 2002821: response.headers['foo'] = 'bar'2822: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2823: response.provide_response2824: end2825: driver.navigate.to url_for('formPage.html')2826: source = driver.page_source2827: IOError:2828: stream closed in another thread2829: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2830: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2831: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2832: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2833: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2834: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2835: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2836: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2837: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2838: 9) Selenium::WebDriver::Network clears all auth handlers2839: Failure/Error:2840: reset_driver!(web_socket_url: true) do |driver|2841: network = described_class.new(driver)2842: network.add_response_handler do |response|2843: response.status = 2002844: response.headers['foo'] = 'bar'2845: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2846: response.provide_response2847: end2848: driver.navigate.to url_for('formPage.html')2849: source = driver.page_source2850: IOError:2851: stream closed in another thread2852: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2853: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2854: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2855: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2856: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2857: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2858: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2859: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2860: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2861: 10) Selenium::WebDriver::Network continues without auth2862: Failure/Error:2863: reset_driver!(web_socket_url: true) do |driver|2864: network = described_class.new(driver)2865: network.add_response_handler do |response|2866: response.status = 2002867: response.headers['foo'] = 'bar'2868: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2869: response.provide_response2870: end2871: driver.navigate.to url_for('formPage.html')2872: source = driver.page_source2873: IOError:2874: stream closed in another thread2875: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2876: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2877: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2878: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2879: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2880: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2881: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2882: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2883: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2884: 11) Selenium::WebDriver::Network cancels auth2885: Failure/Error:2886: reset_driver!(web_socket_url: true) do |driver|2887: network = described_class.new(driver)2888: network.add_response_handler do |response|2889: response.status = 2002890: response.headers['foo'] = 'bar'2891: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2892: response.provide_response2893: end2894: driver.navigate.to url_for('formPage.html')2895: source = driver.page_source2896: IOError:2897: stream closed in another thread2898: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2899: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2900: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2901: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2902: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2903: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2904: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2905: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2906: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2907: 12) Selenium::WebDriver::Network adds a request handler2908: Failure/Error:2909: reset_driver!(web_socket_url: true) do |driver|2910: network = described_class.new(driver)2911: network.add_response_handler do |response|2912: response.status = 2002913: response.headers['foo'] = 'bar'2914: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2915: response.provide_response2916: end2917: driver.navigate.to url_for('formPage.html')2918: source = driver.page_source2919: IOError:2920: stream closed in another thread2921: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2922: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2923: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2924: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2925: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2926: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2927: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2928: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2929: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2930: 13) Selenium::WebDriver::Network adds a request handler with a filter2931: Failure/Error:2932: reset_driver!(web_socket_url: true) do |driver|2933: network = described_class.new(driver)2934: network.add_response_handler do |response|2935: response.status = 2002936: response.headers['foo'] = 'bar'2937: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2938: response.provide_response2939: end2940: driver.navigate.to url_for('formPage.html')2941: source = driver.page_source2942: IOError:2943: stream closed in another thread2944: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2945: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2946: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2947: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2948: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2949: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2950: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2951: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2952: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2953: 14) Selenium::WebDriver::Network adds a request handler with multiple filters2954: Failure/Error:2955: reset_driver!(web_socket_url: true) do |driver|2956: network = described_class.new(driver)2957: network.add_response_handler do |response|2958: response.status = 2002959: response.headers['foo'] = 'bar'2960: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2961: respo...

@titusfortner

Copy link
Copy Markdown
MemberAuthor

I think these new remote-bidi failures are flaky and will be fixed by #16487
Rerun tests after that is merged.

@titusfortner
titusfortner marked this pull request as draft October 24, 2025 14:58
@titusfortner

Copy link
Copy Markdown
MemberAuthor

Moving to draft, still needs optimizing

@github-actionsgithub-actionsBot added the J-stale Applied to issues that become stale, and eventually closed. label Apr 22, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

B-buildIncludes scripting, bazel and CI integrationsB-devtoolsIncludes everything BiDi or Chrome DevTools relatedC-rbRuby BindingsJ-staleApplied to issues that become stale, and eventually closed.Review effort 2/5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@titusfortner@p0deje@selenium-ci
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Force GitHub README to respect dark mode\n(function() {\n var style = document.createElement('style');\n style.textContent = '\n .markdown-body {\n color-scheme: dark light;\n }\n .markdown-body pre { background: #161b22 !important; }\n .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; }\n .markdown-body table th, .markdown-body table td { border-color: #30363d !important; }\n .markdown-body img { background: #0d1117; }\n .markdown-body blockquote { border-left-color: #8b949e; }\n .markdown-body hr { border-color: #30363d; }\n ';\n document.head.appendChild(style);\n})();", "GitHub Dark Mode README Fix"); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

[build] remove more ruby test targets that do not apply and support r… - #16484

Closed
titusfortner wants to merge 1 commit into
trunkfrom
rb_bidi_remote
Closed

[build] remove more ruby test targets that do not apply and support r…#16484
titusfortner wants to merge 1 commit into
trunkfrom
rb_bidi_remote

Conversation

@titusfortner

@titusfortnertitusfortner commented Oct 21, 2025

Copy link
Copy Markdown
Member

User description

  • Adds -bidi-remote option for each test target
  • Limits tests in bidi directory to just bidi supported browsers
  • Document these things in the README

I did not figure out how to prevent the bidi specific targets in the main webdriver directory from being added to non-supported browsers, but Ruby blocks that from running right now, so it is more housekeeping than performance speedup.
As in, these targets don't matter but will still be generated:

//rb/spec/integration/selenium/webdriver:network-ie
//rb/spec/integration/selenium/webdriver:network-ie-remote
//rb/spec/integration/selenium/webdriver:network-safari
//rb/spec/integration/selenium/webdriver:network-safari-preview

PR Type

Enhancement, Tests


Description

  • Adds remote-bidi test targets for BiDi-supported browsers

  • Restricts bidi tests to explicitly supported browsers via BIDI_BROWSERS

  • Expands bidi test coverage with remote execution capability

  • Updates documentation with bidi testing guidance and examples


Diagram Walkthrough

flowchart LR
A["BIDI_BROWSERS<br/>defined"] -->|filters| B["bidi test<br/>generation"]
B -->|creates| C["local-bidi<br/>targets"]
B -->|creates| D["remote-bidi<br/>targets"]
E["rb_integration_test<br/>function"] -->|checks| A
E -->|generates| C
E -->|generates| D
Loading

File Walkthrough

Relevant files
Enhancement
tests.bzl
Add bidi browser filtering and remote-bidi test targets

rb/spec/tests.bzl

  • Defines BIDI_BROWSERS constant listing supported browsers for bidi
    testing
  • Adds condition to restrict bidi test generation to browsers in
    BIDI_BROWSERS
  • Generates new remote-bidi test targets alongside existing bidi targets
  • Configures remote-bidi targets with proper environment variables and
    dependencies
+35/-1
BUILD.bazel
Restrict bidi tests to supported browsers

rb/spec/integration/selenium/webdriver/bidi/BUILD.bazel

  • Imports BIDI_BROWSERS constant from tests.bzl
  • Restricts bidi integration tests to only supported browsers via
    browsers parameter
+2/-1
Documentation
README.md
Document bidi testing and remote-bidi test targets

README.md

  • Adds documentation for running bidi-specific tests with
    --test_tag_filters bidi
  • Explains dynamic test target generation and BiDi protocol importance
  • Updates test target examples to include bidi and remote-bidi variants
  • Documents WEBDRIVER_BIDI environment variable for enabling web socket
    URLs
  • Adds chrome-beta to supported browsers list
+18/-11

@selenium-ciselenium-ci added C-rb Ruby Bindings B-build Includes scripting, bazel and CI integrations B-devtools Includes everything BiDi or Chrome DevTools related labels Oct 21, 2025
@qodo-code-review

Copy link
Copy Markdown
Contributor

PR Compliance Guide 🔍

Below is a summary of compliance checks for this PR:

Security Compliance
🟢
No security concerns identified No security vulnerabilities detected by AI analysis. Human verification advised for critical code.
Ticket Compliance
🎫 No ticket provided
- [ ] Create ticket/issue <!-- /create_ticket --create_ticket=true -->
</details></td></tr>
Codebase Duplication Compliance
Codebase context is not defined

Follow the guide to enable codebase context checks.

Custom Compliance
No custom compliance provided

Follow the guide to enable custom compliance check.

Compliance status legend 🟢 - Fully Compliant
🟡 - Partial Compliant
🔴 - Not Compliant
⚪ - Requires Further Human Verification
🏷️ - Compliance label

@qodo-code-review

Copy link
Copy Markdown
Contributor

PR Code Suggestions ✨

Explore these optional code suggestions:

CategorySuggestion Impact
Possible issue
Add missing remote browser environment variable

Add the missing WD_REMOTE_BROWSER environment variable to the remote-bidi test
target to specify the browser for remote execution.

rb/spec/tests.bzl [244-269]

 + rb_test(
+ name = "{}-{}-remote-bidi".format(name, browser),
+ size = "large",
+ srcs = srcs,
+ args = ["rb/spec/"],
+ data = BROWSERS[browser]["data"] + data + [
+ "//common/src/web",
+ "//java/src/org/openqa/selenium/grid:selenium_server_deploy.jar",
+ "//rb/spec:java-location",
+ "@bazel_tools//tools/jdk:current_java_runtime",
+ ],
+ env = BROWSERS[browser]["env"] | {
+ "WD_BAZEL_JAVA_LOCATION": "$(rootpath //rb/spec:java-location)",
+ "WD_SPEC_DRIVER": "remote",
++ "WD_REMOTE_BROWSER": browser,
+ "WEBDRIVER_BIDI": "true",
+ },
+ main = "@bundle//bin:rspec",
+ tags = COMMON_TAGS + BROWSERS[browser]["tags"] + tags + ["{}-remote-bidi".format(browser)],
+ deps = depset(
+ ["//rb/spec/integration/selenium/webdriver:spec_helper", "//rb/lib/selenium/webdriver:bidi"] +
+ BROWSERS[browser]["deps"] +
+ deps,
+ ),
+ visibility = ["//rb:__subpackages__"],
+ target_compatible_with = BROWSERS[browser]["target_compatible_with"],
+ )

[To ensure code accuracy, apply this suggestion manually]

Suggestion importance[1-10]: 9

__

Why: The suggestion correctly identifies that the WD_REMOTE_BROWSER environment variable is missing for the new remote-bidi test target, which would cause these tests to fail.

High
High-level
Refactor build logic to reduce duplication

To reduce code duplication in rb/spec/tests.bzl, refactor the build logic by
creating a helper function. This function would generate remote test targets and
accept parameters for BiDi-specific configurations, consolidating the similar
logic for 'remote' and 'remote-bidi' targets.

Examples:

rb/spec/tests.bzl [226-269]
if"bidi"intagsandbrowserinBIDI_BROWSERS:
rb_test(
name="{}-{}-bidi".format(name, browser),
size="large",
srcs=srcs,
args= ["rb/spec/"],
data=BROWSERS[browser]["data"] +data+ ["//common/src/web"],
env=BROWSERS[browser]["env"] | {"WEBDRIVER_BIDI": "true"},
main="@bundle//bin:rspec",
tags=COMMON_TAGS+BROWSERS[browser]["tags"] +tags+ ["{}-bidi".format(browser)],
... (clipped34lines)

Solution Walkthrough:

Before:

# in rb/spec/tests.bzl within rb_integration_testif"bidi"intagsandbrowserinBIDI_BROWSERS:
# local bidi testrb_test(
name="{}-{}-bidi".format(name, browser),
env= {"WEBDRIVER_BIDI": "true"},
tags=tags+ ["{}-bidi".format(browser)],
deps=deps+ ["//rb/lib/selenium/webdriver:bidi"],
...
)
# remote bidi test (newly added, very similar to existing remote tests)rb_test(
name="{}-{}-remote-bidi".format(name, browser),
data=data+ ["//.../selenium_server_deploy.jar", ...],
env= {"WD_SPEC_DRIVER": "remote", "WEBDRIVER_BIDI": "true", ...},
tags=tags+ ["{}-remote-bidi".format(browser)],
deps=deps+ ["//rb/lib/selenium/webdriver:bidi"],
...
)

After:

# in rb/spec/tests.bzldef_create_bidi_test(name, browser, srcs, tags, deps, data, is_remote=False):
remote_suffix="-remote"ifis_remoteelse""env= {"WEBDRIVER_BIDI": "true"}
ifis_remote:
env["WD_SPEC_DRIVER"] ="remote"# ... other remote env varsdata+= ["//.../selenium_server_deploy.jar", ...]
rb_test(
name="{}-{}-bidi{}".format(name, browser, remote_suffix),
env=env,
data=data,
...
)
# in rb/spec/tests.bzl within rb_integration_testif"bidi"intagsandbrowserinBIDI_BROWSERS:
_create_bidi_test(..., is_remote=False)
_create_bidi_test(..., is_remote=True)
Suggestion importance[1-10]: 7

__

Why: The suggestion correctly identifies significant code duplication in the Bazel build file rb/spec/tests.bzl and proposes a valid refactoring that would improve long-term maintainability.

Medium
Learned
best practice
Validate BIDI browser list

Guard against unsupported browsers by asserting that every entry in
BIDI_BROWSERS exists in BROWSERS to prevent misconfiguration and hard-to-debug
build failures.

rb/spec/tests.bzl [12-269]

 BIDI_BROWSERS = [
"chrome",
"chrome-beta",
"edge",
"firefox",
"firefox-beta",
]
++# Validate bidi browser list against known browsers+for _b in BIDI_BROWSERS:+ if _b not in BROWSERS:+ fail("Unknown browser in BIDI_BROWSERS: {}".format(_b))+
...
- if "bidi" in tags and browser in BIDI_BROWSERS:- rb_test(- name = "{}-{}-bidi".format(name, browser),- ...- target_compatible_with = BROWSERS[browser]["target_compatible_with"],- )- rb_test(- name = "{}-{}-remote-bidi".format(name, browser),- ...- target_compatible_with = BROWSERS[browser]["target_compatible_with"],- )+if "bidi" in tags and browser in BIDI_BROWSERS:+ rb_test(+ name = "{}-{}-bidi".format(name, browser),+ ...+ target_compatible_with = BROWSERS[browser]["target_compatible_with"],+ )+ rb_test(+ name = "{}-{}-remote-bidi".format(name, browser),+ ...+ target_compatible_with = BROWSERS[browser]["target_compatible_with"],+ )

[To ensure code accuracy, apply this suggestion manually]

Suggestion importance[1-10]: 6

__

Why:
Relevant best practice - Validate inputs and states early to avoid generating invalid configurations or targets.

Low
  • More

@qodo-code-review

Copy link
Copy Markdown
Contributor

CI Feedback 🧐

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: //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi

Failure summary:

The action failed because the test target
//rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi consistently failed (2
attempts).
- Primary error: IOError: stream closed in another thread raised from
./rb/lib/selenium/webdriver/common/websocket_connection.rb:48 and :102 during BiDi WebSocket
operations, often while closing or attaching the socket listener.
- This caused multiple RSpec
examples in rb/spec/integration/selenium/webdriver/network_spec.rb to fail (20 failures on the
stable Firefox remote BiDi run), e.g.:
- adds an auth handler (network_spec.rb:30)
- adds an
auth handler with a filter (network_spec.rb:40)
- adds a request handler with attributes
(network_spec.rb:145)
- and others listed between lines 3122–3141 of the log.
- Additional
timeouts seen in related BiDi tests (e.g., TimeoutError on navigate) indicate unstable BiDi
communication, but the hard failure was the repeated IOError in the Firefox remote BiDi network
suite.
- Bazel summary: 2437 tests passed, 1 failed remotely; build completed with 1 test FAILED and
process exited with code 3.

Relevant error logs:
1: ##[group]Runner Image Provisioner2: Hosted Compute Agent
...
925: Package 'php-sql-formatter' is not installed, so not removed926: Package 'php8.3-ssh2' is not installed, so not removed927: Package 'php-ssh2-all-dev' is not installed, so not removed928: Package 'php8.3-stomp' is not installed, so not removed929: Package 'php-stomp-all-dev' is not installed, so not removed930: Package 'php-swiftmailer' is not installed, so not removed931: Package 'php-symfony' is not installed, so not removed932: Package 'php-symfony-asset' is not installed, so not removed933: Package 'php-symfony-asset-mapper' is not installed, so not removed934: Package 'php-symfony-browser-kit' is not installed, so not removed935: Package 'php-symfony-clock' is not installed, so not removed936: Package 'php-symfony-debug-bundle' is not installed, so not removed937: Package 'php-symfony-doctrine-bridge' is not installed, so not removed938: Package 'php-symfony-dom-crawler' is not installed, so not removed939: Package 'php-symfony-dotenv' is not installed, so not removed940: Package 'php-symfony-error-handler' is not installed, so not removed941: Package 'php-symfony-event-dispatcher' is not installed, so not removed
...
1119: Package 'php-twig-html-extra' is not installed, so not removed1120: Package 'php-twig-i18n-extension' is not installed, so not removed1121: Package 'php-twig-inky-extra' is not installed, so not removed1122: Package 'php-twig-intl-extra' is not installed, so not removed1123: Package 'php-twig-markdown-extra' is not installed, so not removed1124: Package 'php-twig-string-extra' is not installed, so not removed1125: Package 'php8.3-uopz' is not installed, so not removed1126: Package 'php-uopz-all-dev' is not installed, so not removed1127: Package 'php8.3-uploadprogress' is not installed, so not removed1128: Package 'php-uploadprogress-all-dev' is not installed, so not removed1129: Package 'php8.3-uuid' is not installed, so not removed1130: Package 'php-uuid-all-dev' is not installed, so not removed1131: Package 'php-validate' is not installed, so not removed1132: Package 'php-vlucas-phpdotenv' is not installed, so not removed1133: Package 'php-voku-portable-ascii' is not installed, so not removed1134: Package 'php-wmerrors' is not installed, so not removed1135: Package 'php-xdebug-all-dev' is not installed, so not removed
...
1761: (20:14:53) �[32mLoading:�[0m 2 packages loaded1762: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image distributor-image: https://github.com/bazel-contrib/rules_oci/issues/2201763: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image event-bus-image: https://github.com/bazel-contrib/rules_oci/issues/2201764: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image router-image: https://github.com/bazel-contrib/rules_oci/issues/2201765: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image session-map-image: https://github.com/bazel-contrib/rules_oci/issues/2201766: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image session-queue-image: https://github.com/bazel-contrib/rules_oci/issues/2201767: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image chrome-node: https://github.com/bazel-contrib/rules_oci/issues/2201768: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image firefox-node: https://github.com/bazel-contrib/rules_oci/issues/2201769: (20:14:58) �[32mLoading:�[0m 243 packages loaded1770: currently loading: javascript/atoms ... (11 packages)1771: (20:15:02) �[32mAnalyzing:�[0m 2438 targets (254 packages loaded, 0 targets configured)1772: (20:15:02) �[32mAnalyzing:�[0m 2438 targets (254 packages loaded, 0 targets configured)1773: (20:15:08) �[32mAnalyzing:�[0m 2438 targets (420 packages loaded, 61 targets configured)1774: (20:15:10) �[33mDEBUG: �[0m/home/runner/.bazel/external/rules_jvm_external+/private/extensions/maven.bzl:295:14: WARNING: The following maven modules appear in multiple sub-modules with potentially different versions. Consider adding one of these to your root module to ensure consistent versions:1775: com.google.code.findbugs:jsr3051776: com.google.errorprone:error_prone_annotations1777: com.google.guava:guava (versions: 30.1.1-jre, 31.0.1-android)
...
1804: (20:16:09) �[32mAnalyzing:�[0m 2438 targets (1650 packages loaded, 49706 targets configured)1805: �[32m[740 / 841]�[0m 29 / 74 tests;�[0m checking cached actions1806: (20:16:14) �[32mAnalyzing:�[0m 2438 targets (1656 packages loaded, 49798 targets configured)1807: �[32m[740 / 841]�[0m 29 / 74 tests;�[0m checking cached actions1808: (20:16:15) �[32mINFO: �[0mFrom Building external/contrib_rules_jvm+/java/src/com/github/bazel_contrib/contrib_rules_jvm/junit5/libjunit5-compile-class.jar (19 source files):1809: warning: [options] source value 8 is obsolete and will be removed in a future release1810: warning: [options] target value 8 is obsolete and will be removed in a future release1811: warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.1812: (20:16:17) �[35mWARNING: �[0m/home/runner/.bazel/external/io_bazel_rules_closure/java/com/google/javascript/jscomp/BUILD:19:13: in java_library rule @@io_bazel_rules_closure//java/com/google/javascript/jscomp:jscomp: target '@@io_bazel_rules_closure//java/com/google/javascript/jscomp:jscomp' depends on deprecated target '@@io_bazel_rules_closure//java/io/bazel/rules/closure:build_info_java_proto': Use java_proto_library from com_google_protobuf1813: (20:16:17) �[33mDEBUG: �[0m/home/runner/.bazel/external/io_bazel_rules_closure/closure/compiler/closure_js_deps.bzl:38:10: closure_js_deps() and deps.js files are deprecated. Please remove your closure_js_deps rules and, if needed, use the google-closure-deps npm module with bazelbuild/rules_nodejs to generate deps.js files.1814: (20:16:18) �[33mDEBUG: �[0m/home/runner/.bazel/external/io_bazel_rules_closure/closure/compiler/closure_js_deps.bzl:38:10: closure_js_deps() and deps.js files are deprecated. Please remove your closure_js_deps rules and, if needed, use the google-closure-deps npm module with bazelbuild/rules_nodejs to generate deps.js files.1815: (20:16:18) �[33mDEBUG: �[0m/home/runner/.bazel/external/io_bazel_rules_closure/closure/compiler/closure_js_deps.bzl:38:10: closure_js_deps() and deps.js files are deprecated. Please remove your closure_js_deps rules and, if needed, use the google-closure-deps npm module with bazelbuild/rules_nodejs to generate deps.js files.1816: (20:16:19) �[32mAnalyzing:�[0m 2438 targets (1706 packages loaded, 56785 targets configured)1817: �[32m[1,791 / 2,508]�[0m 81 / 91 tests;�[0m Creating source manifest for //rb/spec/integration/selenium/webdriver/bidi:script-firefox-beta-bidi; 0s local ... (6 actions, 4 running)1818: (20:16:20) �[32mINFO: �[0mFrom Building java/src/org/openqa/selenium/remote/libapi-class.jar (63 source files):1819: java/src/org/openqa/selenium/remote/ErrorHandler.java:46: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1820: private final ErrorCodes errorCodes;1821: ^1822: java/src/org/openqa/selenium/remote/ErrorHandler.java:60: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1823: this.errorCodes = new ErrorCodes();1824: ^1825: java/src/org/openqa/selenium/remote/ErrorHandler.java:68: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1826: public ErrorHandler(ErrorCodes codes, boolean includeServerErrors) {1827: ^1828: java/src/org/openqa/selenium/remote/Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1829: ErrorCodes errorCodes = new ErrorCodes();1830: ^1831: java/src/org/openqa/selenium/remote/Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1832: ErrorCodes errorCodes = new ErrorCodes();1833: ^1834: java/src/org/openqa/selenium/remote/ProtocolHandshake.java:181: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1835: response.setStatus(ErrorCodes.SUCCESS);1836: ^1837: java/src/org/openqa/selenium/remote/ProtocolHandshake.java:182: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1838: response.setState(ErrorCodes.SUCCESS_STRING);1839: ^1840: java/src/org/openqa/selenium/remote/W3CHandshakeResponse.java:53: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1841: new ErrorCodes().toStatus((String) rawError, Optional.of(tuple.getStatusCode())));1842: ^1843: java/src/org/openqa/selenium/remote/W3CHandshakeResponse.java:56: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1844: new ErrorCodes().getExceptionType((String) rawError);1845: ^1846: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:44: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1847: private final ErrorCodes errorCodes = new ErrorCodes();1848: ^1849: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:44: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1850: private final ErrorCodes errorCodes = new ErrorCodes();1851: ^1852: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:55: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1853: int status = response.getStatus() == ErrorCodes.SUCCESS ? HTTP_OK : HTTP_INTERNAL_ERROR;1854: ^1855: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:101: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1856: response.setStatus(ErrorCodes.UNKNOWN_COMMAND);1857: ^1858: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:103: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1859: response.setStatus(ErrorCodes.UNHANDLED_ERROR);1860: ^1861: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:117: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1862: response.setStatus(ErrorCodes.SUCCESS);1863: ^1864: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:118: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1865: response.setState(errorCodes.toState(ErrorCodes.SUCCESS));1866: ^1867: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:124: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1868: response.setState(errorCodes.toState(ErrorCodes.SUCCESS));1869: ^1870: 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 removal1871: private final ErrorCodes errorCodes = new ErrorCodes();1872: ^1873: 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 removal1874: private final ErrorCodes errorCodes = new ErrorCodes();1875: ^1876: 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 removal1877: response.setStatus(ErrorCodes.UNKNOWN_COMMAND);1878: ^1879: 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 removal1880: response.setStatus(ErrorCodes.UNHANDLED_ERROR);1881: ^1882: 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 removal1883: response.setStatus(ErrorCodes.SUCCESS);1884: ^
...
1889: (20:16:24) �[32mAnalyzing:�[0m 2438 targets (1709 packages loaded, 61320 targets configured)1890: �[32m[3,408 / 4,512]�[0m 81 / 379 tests;�[0m Creating source manifest for //java/test/org/openqa/selenium/bidi/webextension:WebExtensionTest; 0s local ... (36 actions, 22 running)1891: (20:16:28) �[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/test1892: (20:16:28) �[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/test1893: (20:16:28) �[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/test1894: (20:16:28) �[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/test1895: (20:16:28) �[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/test1896: (20:16:28) �[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/test1897: (20:16:28) �[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/test1898: (20:16:28) �[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/test1899: (20:16:28) �[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/test1900: (20:16:28) �[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/test1901: (20:16:28) �[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/test1902: (20:16:28) �[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/test1903: (20:16:28) �[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/test1904: (20:16:28) �[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/test1905: (20:16:28) �[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
...
2158: �[32m[9,793 / 12,228]�[0m 151 / 1994 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver:action_builder-firefox; 4s ... (50 actions, 0 running)2159: (20:17:15) �[32mAnalyzing:�[0m 2438 targets (1747 packages loaded, 69239 targets configured)2160: �[32m[10,196 / 12,733]�[0m 218 / 2153 tests;�[0m [Prepa] Testing //javascript/selenium-webdriver:test-logging-test.js-chrome ... (50 actions, 13 running)2161: (20:17:20) �[32mAnalyzing:�[0m 2438 targets (1747 packages loaded, 69352 targets configured)2162: �[32m[11,183 / 13,296]�[0m 289 / 2266 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver/firefox:profile-firefox ... (49 actions, 3 running)2163: (20:17:25) �[32mAnalyzing:�[0m 2438 targets (1747 packages loaded, 69468 targets configured)2164: �[32m[11,730 / 13,892]�[0m 353 / 2382 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver:navigation-edge-bidi ... (48 actions, 2 running)2165: (20:17:27) �[32mINFO: �[0mAnalyzed 2438 targets (1748 packages loaded, 69586 targets configured).2166: (20:17:30) �[32m[12,790 / 14,806]�[0m 428 / 2438 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver/remote:element-chrome-beta ... (45 actions, 12 running)2167: (20:17:31) �[32mINFO: �[0mFrom Compiling Rust bin cargo_toml_variable_extractor (1 files) [for tool]:2168: �[0m�[1m�[33mwarning�[0m�[0m�[1m: the gold linker is deprecated and has known bugs with Rust�[0m2169: �[0m �[0m�[0m�[1m�[38;5;12m|�[0m2170: �[0m �[0m�[0m�[1m�[38;5;12m= �[0m�[0m�[1mhelp�[0m�[0m: consider using LLD or ld from GNU binutils instead�[0m2171: �[0m�[1m�[33mwarning�[0m�[0m�[1m: 1 warning emitted�[0m2172: (20:17:31) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/libsmall-tests-test-lib.jar (5 source files) and running annotation processors (AutoServiceProcessor):2173: java/test/org/openqa/selenium/remote/WebDriverFixture.java:170: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2174: response.setStatus(new ErrorCodes().toStatus(state, Optional.of(400)));2175: ^2176: (20:17:32) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/RemotableByTest.jar (1 source file) and running annotation processors (AutoServiceProcessor):2177: java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2178: import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;2179: ^2180: java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2181: import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;2182: ^2183: java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2184: import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;2185: ^2186: java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2187: private final ErrorCodes errorCodes = new ErrorCodes();2188: ^2189: java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2190: private final ErrorCodes errorCodes = new ErrorCodes();2191: ^2192: java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2193: private final ErrorCodes errorCodes = new ErrorCodes();2194: ^2195: java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2196: private final ErrorCodes errorCodes = new ErrorCodes();2197: ^2198: (20:17:32) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/ErrorHandlerTest.jar (1 source file) and running annotation processors (AutoServiceProcessor):2199: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:79: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2200: handler.throwIfResponseFailed(createResponse(ErrorCodes.SUCCESS), 100);2201: ^2202: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:85: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2203: assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_WINDOW, NoSuchWindowException.class);2204: ^2205: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:86: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2206: assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_FRAME, NoSuchFrameException.class);2207: ^2208: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:87: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2209: assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_ELEMENT, NoSuchElementException.class);2210: ^2211: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:88: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2212: assertThrowsCorrectExceptionType(ErrorCodes.UNKNOWN_COMMAND, UnsupportedCommandException.class);2213: ^2214: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:90: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2215: ErrorCodes.METHOD_NOT_ALLOWED, UnsupportedCommandException.class);2216: ^2217: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:92: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2218: ErrorCodes.STALE_ELEMENT_REFERENCE, StaleElementReferenceException.class);2219: ^2220: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:94: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2221: ErrorCodes.INVALID_ELEMENT_STATE, InvalidElementStateException.class);2222: ^2223: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:95: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2224: assertThrowsCorrectExceptionType(ErrorCodes.XPATH_LOOKUP_ERROR, InvalidSelectorException.class);2225: ^2226: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:107: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2227: Response response = createResponse(ErrorCodes.UNHANDLED_ERROR);2228: ^2229: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:120: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2230: createResponse(ErrorCodes.UNHANDLED_ERROR, "boom"), 123))2231: ^2232: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:133: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2233: createResponse(ErrorCodes.UNHANDLED_ERROR, ImmutableMap.of("message", "boom")),2234: ^2235: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:147: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2236: ErrorCodes.UNHANDLED_ERROR,2237: ^2238: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:167: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2239: ErrorCodes.UNHANDLED_ERROR,2240: ^2241: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:193: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2242: createResponse(ErrorCodes.UNHANDLED_ERROR, toMap(serverError)), 123))2243: ^2244: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:214: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2245: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2246: ^2247: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:248: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2248: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2249: ^2250: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:280: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2251: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2252: ^2253: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:308: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2254: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2255: ^2256: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:327: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2257: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2258: ^2259: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:355: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2260: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2261: ^2262: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:394: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2263: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2264: ^2265: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:426: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2266: createResponse(ErrorCodes.UNHANDLED_ERROR, toMap(serverError)), 123))2267: ^2268: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:435: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2269: exceptions.put(ErrorCodes.NO_SUCH_SESSION, NoSuchSessionException.class);2270: ^2271: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:436: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2272: exceptions.put(ErrorCodes.NO_SUCH_ELEMENT, NoSuchElementException.class);2273: ^2274: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:437: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2275: exceptions.put(ErrorCodes.NO_SUCH_FRAME, NoSuchFrameException.class);2276: ^2277: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:438: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2278: exceptions.put(ErrorCodes.UNKNOWN_COMMAND, UnsupportedCommandException.class);2279: ^2280: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:439: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2281: exceptions.put(ErrorCodes.STALE_ELEMENT_REFERENCE, StaleElementReferenceException.class);2282: ^2283: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:440: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2284: exceptions.put(ErrorCodes.INVALID_ELEMENT_STATE, InvalidElementStateException.class);2285: ^2286: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:441: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2287: exceptions.put(ErrorCodes.UNHANDLED_ERROR, WebDriverException.class);2288: ^2289: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:442: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2290: exceptions.put(ErrorCodes.JAVASCRIPT_ERROR, JavascriptException.class);2291: ^2292: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:443: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2293: exceptions.put(ErrorCodes.XPATH_LOOKUP_ERROR, InvalidSelectorException.class);2294: ^2295: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:444: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2296: exceptions.put(ErrorCodes.TIMEOUT, TimeoutException.class);2297: ^2298: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:445: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2299: exceptions.put(ErrorCodes.NO_SUCH_WINDOW, NoSuchWindowException.class);2300: ^2301: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:446: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2302: exceptions.put(ErrorCodes.INVALID_COOKIE_DOMAIN, InvalidCookieDomainException.class);2303: ^2304: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:447: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2305: exceptions.put(ErrorCodes.UNABLE_TO_SET_COOKIE, UnableToSetCookieException.class);2306: ^2307: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:448: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2308: exceptions.put(ErrorCodes.UNEXPECTED_ALERT_PRESENT, UnhandledAlertException.class);2309: ^2310: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:449: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2311: exceptions.put(ErrorCodes.NO_ALERT_PRESENT, NoAlertPresentException.class);2312: ^2313: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:450: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2314: exceptions.put(ErrorCodes.ASYNC_SCRIPT_TIMEOUT, ScriptTimeoutException.class);2315: ^2316: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:451: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2317: exceptions.put(ErrorCodes.INVALID_SELECTOR_ERROR, InvalidSelectorException.class);2318: ^2319: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:452: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2320: exceptions.put(ErrorCodes.SESSION_NOT_CREATED, SessionNotCreatedException.class);2321: ^2322: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:453: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2323: exceptions.put(ErrorCodes.MOVE_TARGET_OUT_OF_BOUNDS, MoveTargetOutOfBoundsException.class);2324: ^2325: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:454: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2326: exceptions.put(ErrorCodes.INVALID_XPATH_SELECTOR, InvalidSelectorException.class);2327: ^2328: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:455: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2329: exceptions.put(ErrorCodes.INVALID_XPATH_SELECTOR_RETURN_TYPER, InvalidSelectorException.class);2330: ^2331: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:469: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2332: ? ErrorCodes.INVALID_SELECTOR_ERROR2333: ^2334: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:471: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2335: assertThat(new ErrorCodes().toStatusCode(e)).isEqualTo(expected);2336: ^2337: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:483: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2338: response.setState(new ErrorCodes().toState(status));2339: ^2340: (20:17:33) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.jar (1 source file):2341: 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 removal2342: import static org.openqa.selenium.remote.ErrorCodes.METHOD_NOT_ALLOWED;2343: ^2344: 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 removal2345: assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.SUCCESS);2346: ^2347: 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 removal2348: assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.UNHANDLED_ERROR);2349: ^2350: 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 removal2351: assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.UNHANDLED_ERROR);2352: ^2353: (20:17:33) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/json/JsonTest.jar (1 source file):2354: java/test/org/openqa/selenium/json/JsonTest.java:430: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2355: assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(0));2356: ^2357: java/test/org/openqa/selenium/json/JsonTest.java:441: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2358: assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(0));2359: ^2360: java/test/org/openqa/selenium/json/JsonTest.java:454: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2361: assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(32));2362: ^
...
2553: (20:22:04) �[32m[17,347 / 17,349]�[0m 2346 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 215s remote, remote-cache ... (2 actions running)2554: (20:22:11) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 223s remote, remote-cache2555: (20:22:17) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 229s remote, remote-cache2556: (20:22:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 259s remote, remote-cache2557: (20:23:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 319s remote, remote-cache2558: (20:24:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 379s remote, remote-cache2559: (20:25:01) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 393s remote, remote-cache2560: (20:25:02) �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi/test_attempts/attempt_1.log)2561: (20:25:06) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 398s remote, remote-cache2562: (20:25:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 439s remote, remote-cache2563: (20:26:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 499s remote, remote-cache2564: (20:27:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 559s remote, remote-cache2565: (20:28:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 619s remote, remote-cache2566: (20:29:24) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 655s remote, remote-cache2567: (20:29:24) �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi/test.log)2568: �[31m�[1mFAILED: �[0m//rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi (Summary)2569: /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi/test.log
...
2576: driver: remote2577: version: stable2578: platform: linux2579: ci: github2580: rbe: true2581: ruby: jruby 10.0.0.0 (3.4.2) 2025-04-13 6ed59bc847 OpenJDK 64-Bit Server VM 21.0.4+7-LTS on 21.0.4+7-LTS [x86_64-linux]2582: Selenium::WebDriver::Network2583: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/handshake/base.rb:40: warning: previous definition of to_s was here2584: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/handshake/base.rb:53: warning: previous definition of valid? was here2585: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/handshake/client.rb:57: warning: previous definition of initialize was here2586: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/handshake/client.rb:90: warning: previous definition of << was here2587: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/frame/base.rb:19: warning: previous definition of initialize was here2588: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/frame/outgoing.rb:28: warning: previous definition of to_s was here2589: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/frame/incoming.rb:40: warning: previous definition of next was here2590: adds an auth handler2591: adds an auth handler with a filter (FAILED - 1)2592: adds an auth handler with multiple filters2593: adds an auth handler with a pattern type2594: removes an auth handler (FAILED - 2)2595: clears all auth handlers2596: continues without auth2597: cancels auth2598: adds a request handler2599: adds a request handler with a filter2600: adds a request handler with multiple filters2601: adds a request handler with a pattern type2602: adds a request handler with attributes (FAILED - 3)2603: fails a request2604: removes a request handler2605: clears all request handlers2606: adds a response handler2607: adds a response handler with a filter2608: adds a response handler with multiple filters2609: adds a response handler with a pattern type2610: adds a response handler with attributes2611: adds an auth handler (FAILED - 4)2612: adds an auth handler with a filter (FAILED - 5)2613: adds an auth handler with multiple filters (FAILED - 6)2614: adds an auth handler with a pattern type (FAILED - 7)2615: removes an auth handler (FAILED - 8)2616: clears all auth handlers (FAILED - 9)2617: continues without auth (FAILED - 10)2618: cancels auth (FAILED - 11)2619: adds a request handler (FAILED - 12)2620: adds a request handler with a filter (FAILED - 13)2621: adds a request handler with multiple filters (FAILED - 14)2622: adds a request handler with a pattern type (FAILED - 15)2623: adds a request handler with attributes (FAILED - 16)2624: fails a request (FAILED - 17)2625: removes a request handler (FAILED - 18)2626: clears all request handlers (FAILED - 19)2627: adds a response handler (FAILED - 20)2628: Failures:2629: 1) Selenium::WebDriver::Network adds an auth handler with a filter2630: Got 0 failures and 2 other errors:2631: 1.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2632: IOError:2633: stream closed in another thread2634: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2635: 1.2) Failure/Error:2636: reset_driver!(web_socket_url: true) do |driver|2637: network = described_class.new(driver)2638: network.add_response_handler do |response|2639: response.status = 2002640: response.headers['foo'] = 'bar'2641: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2642: response.provide_response2643: end2644: driver.navigate.to url_for('formPage.html')2645: source = driver.page_source2646: IOError:2647: stream closed in another thread2648: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2649: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2650: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2651: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2652: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2653: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2654: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2655: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2656: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2657: 2) Selenium::WebDriver::Network removes an auth handler2658: Got 0 failures and 2 other errors:2659: 2.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2660: IOError:2661: stream closed in another thread2662: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2663: 2.2) Failure/Error:2664: reset_driver!(web_socket_url: true) do |driver|2665: network = described_class.new(driver)2666: network.add_response_handler do |response|2667: response.status = 2002668: response.headers['foo'] = 'bar'2669: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2670: response.provide_response2671: end2672: driver.navigate.to url_for('formPage.html')2673: source = driver.page_source2674: IOError:2675: stream closed in another thread2676: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2677: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2678: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2679: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2680: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2681: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2682: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2683: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2684: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2685: 3) Selenium::WebDriver::Network adds a request handler with attributes2686: Got 0 failures and 2 other errors:2687: 3.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2688: IOError:2689: stream closed in another thread2690: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2691: 3.2) Failure/Error:2692: reset_driver!(web_socket_url: true) do |driver|2693: network = described_class.new(driver)2694: network.add_response_handler do |response|2695: response.status = 2002696: response.headers['foo'] = 'bar'2697: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2698: response.provide_response2699: end2700: driver.navigate.to url_for('formPage.html')2701: source = driver.page_source2702: IOError:2703: stream closed in another thread2704: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2705: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2706: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2707: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2708: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2709: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2710: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2711: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2712: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2713: 4) Selenium::WebDriver::Network adds an auth handler2714: Failure/Error:2715: reset_driver!(web_socket_url: true) do |driver|2716: network = described_class.new(driver)2717: network.add_response_handler do |response|2718: response.status = 2002719: response.headers['foo'] = 'bar'2720: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2721: response.provide_response2722: end2723: driver.navigate.to url_for('formPage.html')2724: source = driver.page_source2725: IOError:2726: stream closed in another thread2727: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2728: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2729: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2730: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2731: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2732: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2733: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2734: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2735: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2736: 5) Selenium::WebDriver::Network adds an auth handler with a filter2737: Got 0 failures and 2 other errors:2738: 5.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2739: IOError:2740: stream closed in another thread2741: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2742: 5.2) Failure/Error:2743: reset_driver!(web_socket_url: true) do |driver|2744: network = described_class.new(driver)2745: network.add_response_handler do |response|2746: response.status = 2002747: response.headers['foo'] = 'bar'2748: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2749: response.provide_response2750: end2751: driver.navigate.to url_for('formPage.html')2752: source = driver.page_source2753: IOError:2754: stream closed in another thread2755: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2756: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2757: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2758: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2759: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2760: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2761: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2762: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2763: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2764: 6) Selenium::WebDriver::Network adds an auth handler with multiple filters2765: Failure/Error:2766: reset_driver!(web_socket_url: true) do |driver|2767: network = described_class.new(driver)2768: network.add_response_handler do |response|2769: response.status = 2002770: response.headers['foo'] = 'bar'2771: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2772: response.provide_response2773: end2774: driver.navigate.to url_for('formPage.html')2775: source = driver.page_source2776: IOError:2777: stream closed in another thread2778: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2779: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2780: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2781: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2782: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2783: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2784: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2785: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2786: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2787: 7) Selenium::WebDriver::Network adds an auth handler with a pattern type2788: Failure/Error:2789: reset_driver!(web_socket_url: true) do |driver|2790: network = described_class.new(driver)2791: network.add_response_handler do |response|2792: response.status = 2002793: response.headers['foo'] = 'bar'2794: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2795: response.provide_response2796: end2797: driver.navigate.to url_for('formPage.html')2798: source = driver.page_source2799: IOError:2800: stream closed in another thread2801: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2802: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2803: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2804: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2805: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2806: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2807: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2808: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2809: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2810: 8) Selenium::WebDriver::Network removes an auth handler2811: Got 0 failures and 2 other errors:2812: 8.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2813: IOError:2814: stream closed in another thread2815: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2816: 8.2) Failure/Error:2817: reset_driver!(web_socket_url: true) do |driver|2818: network = described_class.new(driver)2819: network.add_response_handler do |response|2820: response.status = 2002821: response.headers['foo'] = 'bar'2822: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2823: response.provide_response2824: end2825: driver.navigate.to url_for('formPage.html')2826: source = driver.page_source2827: IOError:2828: stream closed in another thread2829: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2830: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2831: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2832: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2833: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2834: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2835: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2836: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2837: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2838: 9) Selenium::WebDriver::Network clears all auth handlers2839: Failure/Error:2840: reset_driver!(web_socket_url: true) do |driver|2841: network = described_class.new(driver)2842: network.add_response_handler do |response|2843: response.status = 2002844: response.headers['foo'] = 'bar'2845: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2846: response.provide_response2847: end2848: driver.navigate.to url_for('formPage.html')2849: source = driver.page_source2850: IOError:2851: stream closed in another thread2852: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2853: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2854: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2855: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2856: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2857: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2858: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2859: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2860: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2861: 10) Selenium::WebDriver::Network continues without auth2862: Failure/Error:2863: reset_driver!(web_socket_url: true) do |driver|2864: network = described_class.new(driver)2865: network.add_response_handler do |response|2866: response.status = 2002867: response.headers['foo'] = 'bar'2868: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2869: response.provide_response2870: end2871: driver.navigate.to url_for('formPage.html')2872: source = driver.page_source2873: IOError:2874: stream closed in another thread2875: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2876: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2877: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2878: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2879: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2880: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2881: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2882: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2883: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2884: 11) Selenium::WebDriver::Network cancels auth2885: Failure/Error:2886: reset_driver!(web_socket_url: true) do |driver|2887: network = described_class.new(driver)2888: network.add_response_handler do |response|2889: response.status = 2002890: response.headers['foo'] = 'bar'2891: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2892: response.provide_response2893: end2894: driver.navigate.to url_for('formPage.html')2895: source = driver.page_source2896: IOError:2897: stream closed in another thread2898: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2899: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2900: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2901: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2902: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2903: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2904: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2905: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2906: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2907: 12) Selenium::WebDriver::Network adds a request handler2908: Failure/Error:2909: reset_driver!(web_socket_url: true) do |driver|2910: network = described_class.new(driver)2911: network.add_response_handler do |response|2912: response.status = 2002913: response.headers['foo'] = 'bar'2914: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2915: response.provide_response2916: end2917: driver.navigate.to url_for('formPage.html')2918: source = driver.page_source2919: IOError:2920: stream closed in another thread2921: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2922: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2923: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2924: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2925: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2926: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2927: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2928: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2929: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2930: 13) Selenium::WebDriver::Network adds a request handler with a filter2931: Failure/Error:2932: reset_driver!(web_socket_url: true) do |driver|2933: network = described_class.new(driver)2934: network.add_response_handler do |response|2935: response.status = 2002936: response.headers['foo'] = 'bar'2937: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2938: response.provide_response2939: end2940: driver.navigate.to url_for('formPage.html')2941: source = driver.page_source2942: IOError:2943: stream closed in another thread2944: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2945: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2946: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2947: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2948: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2949: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2950: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2951: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2952: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2953: 14) Selenium::WebDriver::Network adds a request handler with multiple filters2954: Failure/Error:2955: reset_driver!(web_socket_url: true) do |driver|2956: network = described_class.new(driver)2957: network.add_response_handler do |response|2958: response.status = 2002959: response.headers['foo'] = 'bar'2960: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2961: respo...

@titusfortner

Copy link
Copy Markdown
MemberAuthor

I think these new remote-bidi failures are flaky and will be fixed by #16487
Rerun tests after that is merged.

@titusfortner
titusfortner marked this pull request as draft October 24, 2025 14:58
@titusfortner

Copy link
Copy Markdown
MemberAuthor

Moving to draft, still needs optimizing

@github-actionsgithub-actionsBot added the J-stale Applied to issues that become stale, and eventually closed. label Apr 22, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

B-buildIncludes scripting, bazel and CI integrationsB-devtoolsIncludes everything BiDi or Chrome DevTools relatedC-rbRuby BindingsJ-staleApplied to issues that become stale, and eventually closed.Review effort 2/5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@titusfortner@p0deje@selenium-ci
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Highlight search terms from Google/DuckDuckGo/Bing referrer\n(function() {\n var ref = document.referrer;\n var terms = [];\n \n if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) {\n var url = new URL(ref);\n var q = url.searchParams.get('q') || url.searchParams.get('p');\n if (q) {\n terms = q.split(/\\s+/).filter(function(t) { return t.length > 2; });\n }\n }\n \n if (terms.length === 0) return;\n \n var style = document.createElement('style');\n style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }';\n document.head.appendChild(style);\n \n function highlight(node) {\n if (node.nodeType === 3) { // text node\n var text = node.textContent;\n var found = false;\n terms.forEach(function(term) {\n var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\') + ')', 'gi');\n if (regex.test(text)) {\n found = true;\n var frag = document.createDocumentFragment();\n var parts = text.split(regex);\n parts.forEach(function(part, i) {\n if (i % 2 === 0) {\n frag.appendChild(document.createTextNode(part));\n } else {\n var span = document.createElement('span');\n span.className = 'userscript-highlight';\n span.textContent = part;\n frag.appendChild(span);\n }\n });\n node.parentNode.replaceChild(frag, node);\n }\n });\n } else if (node.nodeType === 1 && node.childNodes) { // element\n var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT'];\n if (!skipTags.includes(node.tagName)) {\n Array.from(node.childNodes).forEach(highlight);\n }\n }\n }\n \n highlight(document.body);\n \n // Re-highlight on dynamic content\n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1 || node.nodeType === 3) highlight(node);\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Highlight Search Terms"); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

[build] remove more ruby test targets that do not apply and support r… - #16484

Closed
titusfortner wants to merge 1 commit into
trunkfrom
rb_bidi_remote
Closed

[build] remove more ruby test targets that do not apply and support r…#16484
titusfortner wants to merge 1 commit into
trunkfrom
rb_bidi_remote

Conversation

@titusfortner

@titusfortnertitusfortner commented Oct 21, 2025

Copy link
Copy Markdown
Member

User description

  • Adds -bidi-remote option for each test target
  • Limits tests in bidi directory to just bidi supported browsers
  • Document these things in the README

I did not figure out how to prevent the bidi specific targets in the main webdriver directory from being added to non-supported browsers, but Ruby blocks that from running right now, so it is more housekeeping than performance speedup.
As in, these targets don't matter but will still be generated:

//rb/spec/integration/selenium/webdriver:network-ie
//rb/spec/integration/selenium/webdriver:network-ie-remote
//rb/spec/integration/selenium/webdriver:network-safari
//rb/spec/integration/selenium/webdriver:network-safari-preview

PR Type

Enhancement, Tests


Description

  • Adds remote-bidi test targets for BiDi-supported browsers

  • Restricts bidi tests to explicitly supported browsers via BIDI_BROWSERS

  • Expands bidi test coverage with remote execution capability

  • Updates documentation with bidi testing guidance and examples


Diagram Walkthrough

flowchart LR
A["BIDI_BROWSERS<br/>defined"] -->|filters| B["bidi test<br/>generation"]
B -->|creates| C["local-bidi<br/>targets"]
B -->|creates| D["remote-bidi<br/>targets"]
E["rb_integration_test<br/>function"] -->|checks| A
E -->|generates| C
E -->|generates| D
Loading

File Walkthrough

Relevant files
Enhancement
tests.bzl
Add bidi browser filtering and remote-bidi test targets

rb/spec/tests.bzl

  • Defines BIDI_BROWSERS constant listing supported browsers for bidi
    testing
  • Adds condition to restrict bidi test generation to browsers in
    BIDI_BROWSERS
  • Generates new remote-bidi test targets alongside existing bidi targets
  • Configures remote-bidi targets with proper environment variables and
    dependencies
+35/-1
BUILD.bazel
Restrict bidi tests to supported browsers

rb/spec/integration/selenium/webdriver/bidi/BUILD.bazel

  • Imports BIDI_BROWSERS constant from tests.bzl
  • Restricts bidi integration tests to only supported browsers via
    browsers parameter
+2/-1
Documentation
README.md
Document bidi testing and remote-bidi test targets

README.md

  • Adds documentation for running bidi-specific tests with
    --test_tag_filters bidi
  • Explains dynamic test target generation and BiDi protocol importance
  • Updates test target examples to include bidi and remote-bidi variants
  • Documents WEBDRIVER_BIDI environment variable for enabling web socket
    URLs
  • Adds chrome-beta to supported browsers list
+18/-11

@selenium-ciselenium-ci added C-rb Ruby Bindings B-build Includes scripting, bazel and CI integrations B-devtools Includes everything BiDi or Chrome DevTools related labels Oct 21, 2025
@qodo-code-review

Copy link
Copy Markdown
Contributor

PR Compliance Guide 🔍

Below is a summary of compliance checks for this PR:

Security Compliance
🟢
No security concerns identified No security vulnerabilities detected by AI analysis. Human verification advised for critical code.
Ticket Compliance
🎫 No ticket provided
- [ ] Create ticket/issue <!-- /create_ticket --create_ticket=true -->
</details></td></tr>
Codebase Duplication Compliance
Codebase context is not defined

Follow the guide to enable codebase context checks.

Custom Compliance
No custom compliance provided

Follow the guide to enable custom compliance check.

Compliance status legend 🟢 - Fully Compliant
🟡 - Partial Compliant
🔴 - Not Compliant
⚪ - Requires Further Human Verification
🏷️ - Compliance label

@qodo-code-review

Copy link
Copy Markdown
Contributor

PR Code Suggestions ✨

Explore these optional code suggestions:

CategorySuggestion Impact
Possible issue
Add missing remote browser environment variable

Add the missing WD_REMOTE_BROWSER environment variable to the remote-bidi test
target to specify the browser for remote execution.

rb/spec/tests.bzl [244-269]

 + rb_test(
+ name = "{}-{}-remote-bidi".format(name, browser),
+ size = "large",
+ srcs = srcs,
+ args = ["rb/spec/"],
+ data = BROWSERS[browser]["data"] + data + [
+ "//common/src/web",
+ "//java/src/org/openqa/selenium/grid:selenium_server_deploy.jar",
+ "//rb/spec:java-location",
+ "@bazel_tools//tools/jdk:current_java_runtime",
+ ],
+ env = BROWSERS[browser]["env"] | {
+ "WD_BAZEL_JAVA_LOCATION": "$(rootpath //rb/spec:java-location)",
+ "WD_SPEC_DRIVER": "remote",
++ "WD_REMOTE_BROWSER": browser,
+ "WEBDRIVER_BIDI": "true",
+ },
+ main = "@bundle//bin:rspec",
+ tags = COMMON_TAGS + BROWSERS[browser]["tags"] + tags + ["{}-remote-bidi".format(browser)],
+ deps = depset(
+ ["//rb/spec/integration/selenium/webdriver:spec_helper", "//rb/lib/selenium/webdriver:bidi"] +
+ BROWSERS[browser]["deps"] +
+ deps,
+ ),
+ visibility = ["//rb:__subpackages__"],
+ target_compatible_with = BROWSERS[browser]["target_compatible_with"],
+ )

[To ensure code accuracy, apply this suggestion manually]

Suggestion importance[1-10]: 9

__

Why: The suggestion correctly identifies that the WD_REMOTE_BROWSER environment variable is missing for the new remote-bidi test target, which would cause these tests to fail.

High
High-level
Refactor build logic to reduce duplication

To reduce code duplication in rb/spec/tests.bzl, refactor the build logic by
creating a helper function. This function would generate remote test targets and
accept parameters for BiDi-specific configurations, consolidating the similar
logic for 'remote' and 'remote-bidi' targets.

Examples:

rb/spec/tests.bzl [226-269]
if"bidi"intagsandbrowserinBIDI_BROWSERS:
rb_test(
name="{}-{}-bidi".format(name, browser),
size="large",
srcs=srcs,
args= ["rb/spec/"],
data=BROWSERS[browser]["data"] +data+ ["//common/src/web"],
env=BROWSERS[browser]["env"] | {"WEBDRIVER_BIDI": "true"},
main="@bundle//bin:rspec",
tags=COMMON_TAGS+BROWSERS[browser]["tags"] +tags+ ["{}-bidi".format(browser)],
... (clipped34lines)

Solution Walkthrough:

Before:

# in rb/spec/tests.bzl within rb_integration_testif"bidi"intagsandbrowserinBIDI_BROWSERS:
# local bidi testrb_test(
name="{}-{}-bidi".format(name, browser),
env= {"WEBDRIVER_BIDI": "true"},
tags=tags+ ["{}-bidi".format(browser)],
deps=deps+ ["//rb/lib/selenium/webdriver:bidi"],
...
)
# remote bidi test (newly added, very similar to existing remote tests)rb_test(
name="{}-{}-remote-bidi".format(name, browser),
data=data+ ["//.../selenium_server_deploy.jar", ...],
env= {"WD_SPEC_DRIVER": "remote", "WEBDRIVER_BIDI": "true", ...},
tags=tags+ ["{}-remote-bidi".format(browser)],
deps=deps+ ["//rb/lib/selenium/webdriver:bidi"],
...
)

After:

# in rb/spec/tests.bzldef_create_bidi_test(name, browser, srcs, tags, deps, data, is_remote=False):
remote_suffix="-remote"ifis_remoteelse""env= {"WEBDRIVER_BIDI": "true"}
ifis_remote:
env["WD_SPEC_DRIVER"] ="remote"# ... other remote env varsdata+= ["//.../selenium_server_deploy.jar", ...]
rb_test(
name="{}-{}-bidi{}".format(name, browser, remote_suffix),
env=env,
data=data,
...
)
# in rb/spec/tests.bzl within rb_integration_testif"bidi"intagsandbrowserinBIDI_BROWSERS:
_create_bidi_test(..., is_remote=False)
_create_bidi_test(..., is_remote=True)
Suggestion importance[1-10]: 7

__

Why: The suggestion correctly identifies significant code duplication in the Bazel build file rb/spec/tests.bzl and proposes a valid refactoring that would improve long-term maintainability.

Medium
Learned
best practice
Validate BIDI browser list

Guard against unsupported browsers by asserting that every entry in
BIDI_BROWSERS exists in BROWSERS to prevent misconfiguration and hard-to-debug
build failures.

rb/spec/tests.bzl [12-269]

 BIDI_BROWSERS = [
"chrome",
"chrome-beta",
"edge",
"firefox",
"firefox-beta",
]
++# Validate bidi browser list against known browsers+for _b in BIDI_BROWSERS:+ if _b not in BROWSERS:+ fail("Unknown browser in BIDI_BROWSERS: {}".format(_b))+
...
- if "bidi" in tags and browser in BIDI_BROWSERS:- rb_test(- name = "{}-{}-bidi".format(name, browser),- ...- target_compatible_with = BROWSERS[browser]["target_compatible_with"],- )- rb_test(- name = "{}-{}-remote-bidi".format(name, browser),- ...- target_compatible_with = BROWSERS[browser]["target_compatible_with"],- )+if "bidi" in tags and browser in BIDI_BROWSERS:+ rb_test(+ name = "{}-{}-bidi".format(name, browser),+ ...+ target_compatible_with = BROWSERS[browser]["target_compatible_with"],+ )+ rb_test(+ name = "{}-{}-remote-bidi".format(name, browser),+ ...+ target_compatible_with = BROWSERS[browser]["target_compatible_with"],+ )

[To ensure code accuracy, apply this suggestion manually]

Suggestion importance[1-10]: 6

__

Why:
Relevant best practice - Validate inputs and states early to avoid generating invalid configurations or targets.

Low
  • More

@qodo-code-review

Copy link
Copy Markdown
Contributor

CI Feedback 🧐

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: //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi

Failure summary:

The action failed because the test target
//rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi consistently failed (2
attempts).
- Primary error: IOError: stream closed in another thread raised from
./rb/lib/selenium/webdriver/common/websocket_connection.rb:48 and :102 during BiDi WebSocket
operations, often while closing or attaching the socket listener.
- This caused multiple RSpec
examples in rb/spec/integration/selenium/webdriver/network_spec.rb to fail (20 failures on the
stable Firefox remote BiDi run), e.g.:
- adds an auth handler (network_spec.rb:30)
- adds an
auth handler with a filter (network_spec.rb:40)
- adds a request handler with attributes
(network_spec.rb:145)
- and others listed between lines 3122–3141 of the log.
- Additional
timeouts seen in related BiDi tests (e.g., TimeoutError on navigate) indicate unstable BiDi
communication, but the hard failure was the repeated IOError in the Firefox remote BiDi network
suite.
- Bazel summary: 2437 tests passed, 1 failed remotely; build completed with 1 test FAILED and
process exited with code 3.

Relevant error logs:
1: ##[group]Runner Image Provisioner2: Hosted Compute Agent
...
925: Package 'php-sql-formatter' is not installed, so not removed926: Package 'php8.3-ssh2' is not installed, so not removed927: Package 'php-ssh2-all-dev' is not installed, so not removed928: Package 'php8.3-stomp' is not installed, so not removed929: Package 'php-stomp-all-dev' is not installed, so not removed930: Package 'php-swiftmailer' is not installed, so not removed931: Package 'php-symfony' is not installed, so not removed932: Package 'php-symfony-asset' is not installed, so not removed933: Package 'php-symfony-asset-mapper' is not installed, so not removed934: Package 'php-symfony-browser-kit' is not installed, so not removed935: Package 'php-symfony-clock' is not installed, so not removed936: Package 'php-symfony-debug-bundle' is not installed, so not removed937: Package 'php-symfony-doctrine-bridge' is not installed, so not removed938: Package 'php-symfony-dom-crawler' is not installed, so not removed939: Package 'php-symfony-dotenv' is not installed, so not removed940: Package 'php-symfony-error-handler' is not installed, so not removed941: Package 'php-symfony-event-dispatcher' is not installed, so not removed
...
1119: Package 'php-twig-html-extra' is not installed, so not removed1120: Package 'php-twig-i18n-extension' is not installed, so not removed1121: Package 'php-twig-inky-extra' is not installed, so not removed1122: Package 'php-twig-intl-extra' is not installed, so not removed1123: Package 'php-twig-markdown-extra' is not installed, so not removed1124: Package 'php-twig-string-extra' is not installed, so not removed1125: Package 'php8.3-uopz' is not installed, so not removed1126: Package 'php-uopz-all-dev' is not installed, so not removed1127: Package 'php8.3-uploadprogress' is not installed, so not removed1128: Package 'php-uploadprogress-all-dev' is not installed, so not removed1129: Package 'php8.3-uuid' is not installed, so not removed1130: Package 'php-uuid-all-dev' is not installed, so not removed1131: Package 'php-validate' is not installed, so not removed1132: Package 'php-vlucas-phpdotenv' is not installed, so not removed1133: Package 'php-voku-portable-ascii' is not installed, so not removed1134: Package 'php-wmerrors' is not installed, so not removed1135: Package 'php-xdebug-all-dev' is not installed, so not removed
...
1761: (20:14:53) �[32mLoading:�[0m 2 packages loaded1762: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image distributor-image: https://github.com/bazel-contrib/rules_oci/issues/2201763: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image event-bus-image: https://github.com/bazel-contrib/rules_oci/issues/2201764: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image router-image: https://github.com/bazel-contrib/rules_oci/issues/2201765: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image session-map-image: https://github.com/bazel-contrib/rules_oci/issues/2201766: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image session-queue-image: https://github.com/bazel-contrib/rules_oci/issues/2201767: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image chrome-node: https://github.com/bazel-contrib/rules_oci/issues/2201768: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image firefox-node: https://github.com/bazel-contrib/rules_oci/issues/2201769: (20:14:58) �[32mLoading:�[0m 243 packages loaded1770: currently loading: javascript/atoms ... (11 packages)1771: (20:15:02) �[32mAnalyzing:�[0m 2438 targets (254 packages loaded, 0 targets configured)1772: (20:15:02) �[32mAnalyzing:�[0m 2438 targets (254 packages loaded, 0 targets configured)1773: (20:15:08) �[32mAnalyzing:�[0m 2438 targets (420 packages loaded, 61 targets configured)1774: (20:15:10) �[33mDEBUG: �[0m/home/runner/.bazel/external/rules_jvm_external+/private/extensions/maven.bzl:295:14: WARNING: The following maven modules appear in multiple sub-modules with potentially different versions. Consider adding one of these to your root module to ensure consistent versions:1775: com.google.code.findbugs:jsr3051776: com.google.errorprone:error_prone_annotations1777: com.google.guava:guava (versions: 30.1.1-jre, 31.0.1-android)
...
1804: (20:16:09) �[32mAnalyzing:�[0m 2438 targets (1650 packages loaded, 49706 targets configured)1805: �[32m[740 / 841]�[0m 29 / 74 tests;�[0m checking cached actions1806: (20:16:14) �[32mAnalyzing:�[0m 2438 targets (1656 packages loaded, 49798 targets configured)1807: �[32m[740 / 841]�[0m 29 / 74 tests;�[0m checking cached actions1808: (20:16:15) �[32mINFO: �[0mFrom Building external/contrib_rules_jvm+/java/src/com/github/bazel_contrib/contrib_rules_jvm/junit5/libjunit5-compile-class.jar (19 source files):1809: warning: [options] source value 8 is obsolete and will be removed in a future release1810: warning: [options] target value 8 is obsolete and will be removed in a future release1811: warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.1812: (20:16:17) �[35mWARNING: �[0m/home/runner/.bazel/external/io_bazel_rules_closure/java/com/google/javascript/jscomp/BUILD:19:13: in java_library rule @@io_bazel_rules_closure//java/com/google/javascript/jscomp:jscomp: target '@@io_bazel_rules_closure//java/com/google/javascript/jscomp:jscomp' depends on deprecated target '@@io_bazel_rules_closure//java/io/bazel/rules/closure:build_info_java_proto': Use java_proto_library from com_google_protobuf1813: (20:16:17) �[33mDEBUG: �[0m/home/runner/.bazel/external/io_bazel_rules_closure/closure/compiler/closure_js_deps.bzl:38:10: closure_js_deps() and deps.js files are deprecated. Please remove your closure_js_deps rules and, if needed, use the google-closure-deps npm module with bazelbuild/rules_nodejs to generate deps.js files.1814: (20:16:18) �[33mDEBUG: �[0m/home/runner/.bazel/external/io_bazel_rules_closure/closure/compiler/closure_js_deps.bzl:38:10: closure_js_deps() and deps.js files are deprecated. Please remove your closure_js_deps rules and, if needed, use the google-closure-deps npm module with bazelbuild/rules_nodejs to generate deps.js files.1815: (20:16:18) �[33mDEBUG: �[0m/home/runner/.bazel/external/io_bazel_rules_closure/closure/compiler/closure_js_deps.bzl:38:10: closure_js_deps() and deps.js files are deprecated. Please remove your closure_js_deps rules and, if needed, use the google-closure-deps npm module with bazelbuild/rules_nodejs to generate deps.js files.1816: (20:16:19) �[32mAnalyzing:�[0m 2438 targets (1706 packages loaded, 56785 targets configured)1817: �[32m[1,791 / 2,508]�[0m 81 / 91 tests;�[0m Creating source manifest for //rb/spec/integration/selenium/webdriver/bidi:script-firefox-beta-bidi; 0s local ... (6 actions, 4 running)1818: (20:16:20) �[32mINFO: �[0mFrom Building java/src/org/openqa/selenium/remote/libapi-class.jar (63 source files):1819: java/src/org/openqa/selenium/remote/ErrorHandler.java:46: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1820: private final ErrorCodes errorCodes;1821: ^1822: java/src/org/openqa/selenium/remote/ErrorHandler.java:60: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1823: this.errorCodes = new ErrorCodes();1824: ^1825: java/src/org/openqa/selenium/remote/ErrorHandler.java:68: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1826: public ErrorHandler(ErrorCodes codes, boolean includeServerErrors) {1827: ^1828: java/src/org/openqa/selenium/remote/Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1829: ErrorCodes errorCodes = new ErrorCodes();1830: ^1831: java/src/org/openqa/selenium/remote/Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1832: ErrorCodes errorCodes = new ErrorCodes();1833: ^1834: java/src/org/openqa/selenium/remote/ProtocolHandshake.java:181: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1835: response.setStatus(ErrorCodes.SUCCESS);1836: ^1837: java/src/org/openqa/selenium/remote/ProtocolHandshake.java:182: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1838: response.setState(ErrorCodes.SUCCESS_STRING);1839: ^1840: java/src/org/openqa/selenium/remote/W3CHandshakeResponse.java:53: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1841: new ErrorCodes().toStatus((String) rawError, Optional.of(tuple.getStatusCode())));1842: ^1843: java/src/org/openqa/selenium/remote/W3CHandshakeResponse.java:56: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1844: new ErrorCodes().getExceptionType((String) rawError);1845: ^1846: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:44: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1847: private final ErrorCodes errorCodes = new ErrorCodes();1848: ^1849: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:44: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1850: private final ErrorCodes errorCodes = new ErrorCodes();1851: ^1852: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:55: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1853: int status = response.getStatus() == ErrorCodes.SUCCESS ? HTTP_OK : HTTP_INTERNAL_ERROR;1854: ^1855: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:101: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1856: response.setStatus(ErrorCodes.UNKNOWN_COMMAND);1857: ^1858: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:103: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1859: response.setStatus(ErrorCodes.UNHANDLED_ERROR);1860: ^1861: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:117: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1862: response.setStatus(ErrorCodes.SUCCESS);1863: ^1864: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:118: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1865: response.setState(errorCodes.toState(ErrorCodes.SUCCESS));1866: ^1867: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:124: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1868: response.setState(errorCodes.toState(ErrorCodes.SUCCESS));1869: ^1870: 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 removal1871: private final ErrorCodes errorCodes = new ErrorCodes();1872: ^1873: 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 removal1874: private final ErrorCodes errorCodes = new ErrorCodes();1875: ^1876: 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 removal1877: response.setStatus(ErrorCodes.UNKNOWN_COMMAND);1878: ^1879: 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 removal1880: response.setStatus(ErrorCodes.UNHANDLED_ERROR);1881: ^1882: 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 removal1883: response.setStatus(ErrorCodes.SUCCESS);1884: ^
...
1889: (20:16:24) �[32mAnalyzing:�[0m 2438 targets (1709 packages loaded, 61320 targets configured)1890: �[32m[3,408 / 4,512]�[0m 81 / 379 tests;�[0m Creating source manifest for //java/test/org/openqa/selenium/bidi/webextension:WebExtensionTest; 0s local ... (36 actions, 22 running)1891: (20:16:28) �[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/test1892: (20:16:28) �[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/test1893: (20:16:28) �[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/test1894: (20:16:28) �[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/test1895: (20:16:28) �[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/test1896: (20:16:28) �[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/test1897: (20:16:28) �[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/test1898: (20:16:28) �[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/test1899: (20:16:28) �[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/test1900: (20:16:28) �[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/test1901: (20:16:28) �[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/test1902: (20:16:28) �[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/test1903: (20:16:28) �[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/test1904: (20:16:28) �[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/test1905: (20:16:28) �[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
...
2158: �[32m[9,793 / 12,228]�[0m 151 / 1994 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver:action_builder-firefox; 4s ... (50 actions, 0 running)2159: (20:17:15) �[32mAnalyzing:�[0m 2438 targets (1747 packages loaded, 69239 targets configured)2160: �[32m[10,196 / 12,733]�[0m 218 / 2153 tests;�[0m [Prepa] Testing //javascript/selenium-webdriver:test-logging-test.js-chrome ... (50 actions, 13 running)2161: (20:17:20) �[32mAnalyzing:�[0m 2438 targets (1747 packages loaded, 69352 targets configured)2162: �[32m[11,183 / 13,296]�[0m 289 / 2266 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver/firefox:profile-firefox ... (49 actions, 3 running)2163: (20:17:25) �[32mAnalyzing:�[0m 2438 targets (1747 packages loaded, 69468 targets configured)2164: �[32m[11,730 / 13,892]�[0m 353 / 2382 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver:navigation-edge-bidi ... (48 actions, 2 running)2165: (20:17:27) �[32mINFO: �[0mAnalyzed 2438 targets (1748 packages loaded, 69586 targets configured).2166: (20:17:30) �[32m[12,790 / 14,806]�[0m 428 / 2438 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver/remote:element-chrome-beta ... (45 actions, 12 running)2167: (20:17:31) �[32mINFO: �[0mFrom Compiling Rust bin cargo_toml_variable_extractor (1 files) [for tool]:2168: �[0m�[1m�[33mwarning�[0m�[0m�[1m: the gold linker is deprecated and has known bugs with Rust�[0m2169: �[0m �[0m�[0m�[1m�[38;5;12m|�[0m2170: �[0m �[0m�[0m�[1m�[38;5;12m= �[0m�[0m�[1mhelp�[0m�[0m: consider using LLD or ld from GNU binutils instead�[0m2171: �[0m�[1m�[33mwarning�[0m�[0m�[1m: 1 warning emitted�[0m2172: (20:17:31) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/libsmall-tests-test-lib.jar (5 source files) and running annotation processors (AutoServiceProcessor):2173: java/test/org/openqa/selenium/remote/WebDriverFixture.java:170: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2174: response.setStatus(new ErrorCodes().toStatus(state, Optional.of(400)));2175: ^2176: (20:17:32) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/RemotableByTest.jar (1 source file) and running annotation processors (AutoServiceProcessor):2177: java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2178: import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;2179: ^2180: java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2181: import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;2182: ^2183: java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2184: import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;2185: ^2186: java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2187: private final ErrorCodes errorCodes = new ErrorCodes();2188: ^2189: java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2190: private final ErrorCodes errorCodes = new ErrorCodes();2191: ^2192: java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2193: private final ErrorCodes errorCodes = new ErrorCodes();2194: ^2195: java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2196: private final ErrorCodes errorCodes = new ErrorCodes();2197: ^2198: (20:17:32) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/ErrorHandlerTest.jar (1 source file) and running annotation processors (AutoServiceProcessor):2199: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:79: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2200: handler.throwIfResponseFailed(createResponse(ErrorCodes.SUCCESS), 100);2201: ^2202: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:85: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2203: assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_WINDOW, NoSuchWindowException.class);2204: ^2205: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:86: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2206: assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_FRAME, NoSuchFrameException.class);2207: ^2208: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:87: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2209: assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_ELEMENT, NoSuchElementException.class);2210: ^2211: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:88: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2212: assertThrowsCorrectExceptionType(ErrorCodes.UNKNOWN_COMMAND, UnsupportedCommandException.class);2213: ^2214: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:90: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2215: ErrorCodes.METHOD_NOT_ALLOWED, UnsupportedCommandException.class);2216: ^2217: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:92: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2218: ErrorCodes.STALE_ELEMENT_REFERENCE, StaleElementReferenceException.class);2219: ^2220: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:94: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2221: ErrorCodes.INVALID_ELEMENT_STATE, InvalidElementStateException.class);2222: ^2223: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:95: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2224: assertThrowsCorrectExceptionType(ErrorCodes.XPATH_LOOKUP_ERROR, InvalidSelectorException.class);2225: ^2226: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:107: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2227: Response response = createResponse(ErrorCodes.UNHANDLED_ERROR);2228: ^2229: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:120: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2230: createResponse(ErrorCodes.UNHANDLED_ERROR, "boom"), 123))2231: ^2232: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:133: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2233: createResponse(ErrorCodes.UNHANDLED_ERROR, ImmutableMap.of("message", "boom")),2234: ^2235: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:147: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2236: ErrorCodes.UNHANDLED_ERROR,2237: ^2238: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:167: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2239: ErrorCodes.UNHANDLED_ERROR,2240: ^2241: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:193: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2242: createResponse(ErrorCodes.UNHANDLED_ERROR, toMap(serverError)), 123))2243: ^2244: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:214: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2245: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2246: ^2247: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:248: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2248: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2249: ^2250: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:280: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2251: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2252: ^2253: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:308: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2254: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2255: ^2256: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:327: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2257: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2258: ^2259: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:355: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2260: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2261: ^2262: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:394: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2263: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2264: ^2265: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:426: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2266: createResponse(ErrorCodes.UNHANDLED_ERROR, toMap(serverError)), 123))2267: ^2268: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:435: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2269: exceptions.put(ErrorCodes.NO_SUCH_SESSION, NoSuchSessionException.class);2270: ^2271: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:436: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2272: exceptions.put(ErrorCodes.NO_SUCH_ELEMENT, NoSuchElementException.class);2273: ^2274: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:437: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2275: exceptions.put(ErrorCodes.NO_SUCH_FRAME, NoSuchFrameException.class);2276: ^2277: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:438: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2278: exceptions.put(ErrorCodes.UNKNOWN_COMMAND, UnsupportedCommandException.class);2279: ^2280: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:439: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2281: exceptions.put(ErrorCodes.STALE_ELEMENT_REFERENCE, StaleElementReferenceException.class);2282: ^2283: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:440: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2284: exceptions.put(ErrorCodes.INVALID_ELEMENT_STATE, InvalidElementStateException.class);2285: ^2286: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:441: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2287: exceptions.put(ErrorCodes.UNHANDLED_ERROR, WebDriverException.class);2288: ^2289: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:442: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2290: exceptions.put(ErrorCodes.JAVASCRIPT_ERROR, JavascriptException.class);2291: ^2292: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:443: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2293: exceptions.put(ErrorCodes.XPATH_LOOKUP_ERROR, InvalidSelectorException.class);2294: ^2295: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:444: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2296: exceptions.put(ErrorCodes.TIMEOUT, TimeoutException.class);2297: ^2298: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:445: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2299: exceptions.put(ErrorCodes.NO_SUCH_WINDOW, NoSuchWindowException.class);2300: ^2301: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:446: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2302: exceptions.put(ErrorCodes.INVALID_COOKIE_DOMAIN, InvalidCookieDomainException.class);2303: ^2304: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:447: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2305: exceptions.put(ErrorCodes.UNABLE_TO_SET_COOKIE, UnableToSetCookieException.class);2306: ^2307: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:448: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2308: exceptions.put(ErrorCodes.UNEXPECTED_ALERT_PRESENT, UnhandledAlertException.class);2309: ^2310: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:449: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2311: exceptions.put(ErrorCodes.NO_ALERT_PRESENT, NoAlertPresentException.class);2312: ^2313: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:450: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2314: exceptions.put(ErrorCodes.ASYNC_SCRIPT_TIMEOUT, ScriptTimeoutException.class);2315: ^2316: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:451: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2317: exceptions.put(ErrorCodes.INVALID_SELECTOR_ERROR, InvalidSelectorException.class);2318: ^2319: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:452: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2320: exceptions.put(ErrorCodes.SESSION_NOT_CREATED, SessionNotCreatedException.class);2321: ^2322: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:453: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2323: exceptions.put(ErrorCodes.MOVE_TARGET_OUT_OF_BOUNDS, MoveTargetOutOfBoundsException.class);2324: ^2325: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:454: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2326: exceptions.put(ErrorCodes.INVALID_XPATH_SELECTOR, InvalidSelectorException.class);2327: ^2328: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:455: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2329: exceptions.put(ErrorCodes.INVALID_XPATH_SELECTOR_RETURN_TYPER, InvalidSelectorException.class);2330: ^2331: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:469: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2332: ? ErrorCodes.INVALID_SELECTOR_ERROR2333: ^2334: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:471: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2335: assertThat(new ErrorCodes().toStatusCode(e)).isEqualTo(expected);2336: ^2337: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:483: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2338: response.setState(new ErrorCodes().toState(status));2339: ^2340: (20:17:33) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.jar (1 source file):2341: 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 removal2342: import static org.openqa.selenium.remote.ErrorCodes.METHOD_NOT_ALLOWED;2343: ^2344: 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 removal2345: assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.SUCCESS);2346: ^2347: 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 removal2348: assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.UNHANDLED_ERROR);2349: ^2350: 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 removal2351: assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.UNHANDLED_ERROR);2352: ^2353: (20:17:33) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/json/JsonTest.jar (1 source file):2354: java/test/org/openqa/selenium/json/JsonTest.java:430: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2355: assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(0));2356: ^2357: java/test/org/openqa/selenium/json/JsonTest.java:441: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2358: assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(0));2359: ^2360: java/test/org/openqa/selenium/json/JsonTest.java:454: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2361: assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(32));2362: ^
...
2553: (20:22:04) �[32m[17,347 / 17,349]�[0m 2346 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 215s remote, remote-cache ... (2 actions running)2554: (20:22:11) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 223s remote, remote-cache2555: (20:22:17) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 229s remote, remote-cache2556: (20:22:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 259s remote, remote-cache2557: (20:23:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 319s remote, remote-cache2558: (20:24:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 379s remote, remote-cache2559: (20:25:01) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 393s remote, remote-cache2560: (20:25:02) �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi/test_attempts/attempt_1.log)2561: (20:25:06) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 398s remote, remote-cache2562: (20:25:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 439s remote, remote-cache2563: (20:26:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 499s remote, remote-cache2564: (20:27:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 559s remote, remote-cache2565: (20:28:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 619s remote, remote-cache2566: (20:29:24) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 655s remote, remote-cache2567: (20:29:24) �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi/test.log)2568: �[31m�[1mFAILED: �[0m//rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi (Summary)2569: /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi/test.log
...
2576: driver: remote2577: version: stable2578: platform: linux2579: ci: github2580: rbe: true2581: ruby: jruby 10.0.0.0 (3.4.2) 2025-04-13 6ed59bc847 OpenJDK 64-Bit Server VM 21.0.4+7-LTS on 21.0.4+7-LTS [x86_64-linux]2582: Selenium::WebDriver::Network2583: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/handshake/base.rb:40: warning: previous definition of to_s was here2584: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/handshake/base.rb:53: warning: previous definition of valid? was here2585: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/handshake/client.rb:57: warning: previous definition of initialize was here2586: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/handshake/client.rb:90: warning: previous definition of << was here2587: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/frame/base.rb:19: warning: previous definition of initialize was here2588: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/frame/outgoing.rb:28: warning: previous definition of to_s was here2589: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/frame/incoming.rb:40: warning: previous definition of next was here2590: adds an auth handler2591: adds an auth handler with a filter (FAILED - 1)2592: adds an auth handler with multiple filters2593: adds an auth handler with a pattern type2594: removes an auth handler (FAILED - 2)2595: clears all auth handlers2596: continues without auth2597: cancels auth2598: adds a request handler2599: adds a request handler with a filter2600: adds a request handler with multiple filters2601: adds a request handler with a pattern type2602: adds a request handler with attributes (FAILED - 3)2603: fails a request2604: removes a request handler2605: clears all request handlers2606: adds a response handler2607: adds a response handler with a filter2608: adds a response handler with multiple filters2609: adds a response handler with a pattern type2610: adds a response handler with attributes2611: adds an auth handler (FAILED - 4)2612: adds an auth handler with a filter (FAILED - 5)2613: adds an auth handler with multiple filters (FAILED - 6)2614: adds an auth handler with a pattern type (FAILED - 7)2615: removes an auth handler (FAILED - 8)2616: clears all auth handlers (FAILED - 9)2617: continues without auth (FAILED - 10)2618: cancels auth (FAILED - 11)2619: adds a request handler (FAILED - 12)2620: adds a request handler with a filter (FAILED - 13)2621: adds a request handler with multiple filters (FAILED - 14)2622: adds a request handler with a pattern type (FAILED - 15)2623: adds a request handler with attributes (FAILED - 16)2624: fails a request (FAILED - 17)2625: removes a request handler (FAILED - 18)2626: clears all request handlers (FAILED - 19)2627: adds a response handler (FAILED - 20)2628: Failures:2629: 1) Selenium::WebDriver::Network adds an auth handler with a filter2630: Got 0 failures and 2 other errors:2631: 1.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2632: IOError:2633: stream closed in another thread2634: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2635: 1.2) Failure/Error:2636: reset_driver!(web_socket_url: true) do |driver|2637: network = described_class.new(driver)2638: network.add_response_handler do |response|2639: response.status = 2002640: response.headers['foo'] = 'bar'2641: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2642: response.provide_response2643: end2644: driver.navigate.to url_for('formPage.html')2645: source = driver.page_source2646: IOError:2647: stream closed in another thread2648: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2649: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2650: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2651: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2652: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2653: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2654: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2655: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2656: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2657: 2) Selenium::WebDriver::Network removes an auth handler2658: Got 0 failures and 2 other errors:2659: 2.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2660: IOError:2661: stream closed in another thread2662: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2663: 2.2) Failure/Error:2664: reset_driver!(web_socket_url: true) do |driver|2665: network = described_class.new(driver)2666: network.add_response_handler do |response|2667: response.status = 2002668: response.headers['foo'] = 'bar'2669: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2670: response.provide_response2671: end2672: driver.navigate.to url_for('formPage.html')2673: source = driver.page_source2674: IOError:2675: stream closed in another thread2676: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2677: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2678: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2679: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2680: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2681: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2682: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2683: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2684: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2685: 3) Selenium::WebDriver::Network adds a request handler with attributes2686: Got 0 failures and 2 other errors:2687: 3.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2688: IOError:2689: stream closed in another thread2690: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2691: 3.2) Failure/Error:2692: reset_driver!(web_socket_url: true) do |driver|2693: network = described_class.new(driver)2694: network.add_response_handler do |response|2695: response.status = 2002696: response.headers['foo'] = 'bar'2697: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2698: response.provide_response2699: end2700: driver.navigate.to url_for('formPage.html')2701: source = driver.page_source2702: IOError:2703: stream closed in another thread2704: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2705: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2706: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2707: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2708: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2709: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2710: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2711: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2712: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2713: 4) Selenium::WebDriver::Network adds an auth handler2714: Failure/Error:2715: reset_driver!(web_socket_url: true) do |driver|2716: network = described_class.new(driver)2717: network.add_response_handler do |response|2718: response.status = 2002719: response.headers['foo'] = 'bar'2720: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2721: response.provide_response2722: end2723: driver.navigate.to url_for('formPage.html')2724: source = driver.page_source2725: IOError:2726: stream closed in another thread2727: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2728: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2729: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2730: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2731: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2732: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2733: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2734: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2735: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2736: 5) Selenium::WebDriver::Network adds an auth handler with a filter2737: Got 0 failures and 2 other errors:2738: 5.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2739: IOError:2740: stream closed in another thread2741: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2742: 5.2) Failure/Error:2743: reset_driver!(web_socket_url: true) do |driver|2744: network = described_class.new(driver)2745: network.add_response_handler do |response|2746: response.status = 2002747: response.headers['foo'] = 'bar'2748: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2749: response.provide_response2750: end2751: driver.navigate.to url_for('formPage.html')2752: source = driver.page_source2753: IOError:2754: stream closed in another thread2755: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2756: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2757: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2758: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2759: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2760: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2761: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2762: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2763: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2764: 6) Selenium::WebDriver::Network adds an auth handler with multiple filters2765: Failure/Error:2766: reset_driver!(web_socket_url: true) do |driver|2767: network = described_class.new(driver)2768: network.add_response_handler do |response|2769: response.status = 2002770: response.headers['foo'] = 'bar'2771: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2772: response.provide_response2773: end2774: driver.navigate.to url_for('formPage.html')2775: source = driver.page_source2776: IOError:2777: stream closed in another thread2778: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2779: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2780: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2781: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2782: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2783: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2784: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2785: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2786: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2787: 7) Selenium::WebDriver::Network adds an auth handler with a pattern type2788: Failure/Error:2789: reset_driver!(web_socket_url: true) do |driver|2790: network = described_class.new(driver)2791: network.add_response_handler do |response|2792: response.status = 2002793: response.headers['foo'] = 'bar'2794: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2795: response.provide_response2796: end2797: driver.navigate.to url_for('formPage.html')2798: source = driver.page_source2799: IOError:2800: stream closed in another thread2801: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2802: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2803: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2804: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2805: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2806: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2807: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2808: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2809: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2810: 8) Selenium::WebDriver::Network removes an auth handler2811: Got 0 failures and 2 other errors:2812: 8.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2813: IOError:2814: stream closed in another thread2815: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2816: 8.2) Failure/Error:2817: reset_driver!(web_socket_url: true) do |driver|2818: network = described_class.new(driver)2819: network.add_response_handler do |response|2820: response.status = 2002821: response.headers['foo'] = 'bar'2822: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2823: response.provide_response2824: end2825: driver.navigate.to url_for('formPage.html')2826: source = driver.page_source2827: IOError:2828: stream closed in another thread2829: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2830: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2831: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2832: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2833: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2834: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2835: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2836: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2837: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2838: 9) Selenium::WebDriver::Network clears all auth handlers2839: Failure/Error:2840: reset_driver!(web_socket_url: true) do |driver|2841: network = described_class.new(driver)2842: network.add_response_handler do |response|2843: response.status = 2002844: response.headers['foo'] = 'bar'2845: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2846: response.provide_response2847: end2848: driver.navigate.to url_for('formPage.html')2849: source = driver.page_source2850: IOError:2851: stream closed in another thread2852: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2853: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2854: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2855: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2856: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2857: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2858: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2859: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2860: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2861: 10) Selenium::WebDriver::Network continues without auth2862: Failure/Error:2863: reset_driver!(web_socket_url: true) do |driver|2864: network = described_class.new(driver)2865: network.add_response_handler do |response|2866: response.status = 2002867: response.headers['foo'] = 'bar'2868: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2869: response.provide_response2870: end2871: driver.navigate.to url_for('formPage.html')2872: source = driver.page_source2873: IOError:2874: stream closed in another thread2875: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2876: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2877: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2878: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2879: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2880: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2881: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2882: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2883: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2884: 11) Selenium::WebDriver::Network cancels auth2885: Failure/Error:2886: reset_driver!(web_socket_url: true) do |driver|2887: network = described_class.new(driver)2888: network.add_response_handler do |response|2889: response.status = 2002890: response.headers['foo'] = 'bar'2891: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2892: response.provide_response2893: end2894: driver.navigate.to url_for('formPage.html')2895: source = driver.page_source2896: IOError:2897: stream closed in another thread2898: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2899: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2900: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2901: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2902: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2903: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2904: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2905: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2906: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2907: 12) Selenium::WebDriver::Network adds a request handler2908: Failure/Error:2909: reset_driver!(web_socket_url: true) do |driver|2910: network = described_class.new(driver)2911: network.add_response_handler do |response|2912: response.status = 2002913: response.headers['foo'] = 'bar'2914: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2915: response.provide_response2916: end2917: driver.navigate.to url_for('formPage.html')2918: source = driver.page_source2919: IOError:2920: stream closed in another thread2921: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2922: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2923: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2924: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2925: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2926: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2927: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2928: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2929: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2930: 13) Selenium::WebDriver::Network adds a request handler with a filter2931: Failure/Error:2932: reset_driver!(web_socket_url: true) do |driver|2933: network = described_class.new(driver)2934: network.add_response_handler do |response|2935: response.status = 2002936: response.headers['foo'] = 'bar'2937: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2938: response.provide_response2939: end2940: driver.navigate.to url_for('formPage.html')2941: source = driver.page_source2942: IOError:2943: stream closed in another thread2944: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2945: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2946: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2947: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2948: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2949: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2950: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2951: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2952: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2953: 14) Selenium::WebDriver::Network adds a request handler with multiple filters2954: Failure/Error:2955: reset_driver!(web_socket_url: true) do |driver|2956: network = described_class.new(driver)2957: network.add_response_handler do |response|2958: response.status = 2002959: response.headers['foo'] = 'bar'2960: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2961: respo...

@titusfortner

Copy link
Copy Markdown
MemberAuthor

I think these new remote-bidi failures are flaky and will be fixed by #16487
Rerun tests after that is merged.

@titusfortner
titusfortner marked this pull request as draft October 24, 2025 14:58
@titusfortner

Copy link
Copy Markdown
MemberAuthor

Moving to draft, still needs optimizing

@github-actionsgithub-actionsBot added the J-stale Applied to issues that become stale, and eventually closed. label Apr 22, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

B-buildIncludes scripting, bazel and CI integrationsB-devtoolsIncludes everything BiDi or Chrome DevTools relatedC-rbRuby BindingsJ-staleApplied to issues that become stale, and eventually closed.Review effort 2/5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@titusfortner@p0deje@selenium-ci
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Strip utm_, fbclid, gclid, etc. from all links on page\n(function() {\n var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content',\n 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid',\n 'ref', 'ref_src', 'source', 'medium', 'campaign'];\n \n function cleanUrl(url) {\n try {\n var u = new URL(url, window.location.origin);\n var changed = false;\n trackingParams.forEach(function(p) {\n if (u.searchParams.has(p)) {\n u.searchParams.delete(p);\n changed = true;\n }\n });\n return changed ? u.toString() : url;\n } catch (e) {\n return url;\n }\n }\n \n function cleanLinks() {\n document.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n \n cleanLinks();\n \n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1) {\n if (node.tagName === 'A') cleanLinks();\n node.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Remove Tracking Parameters from Links"); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + '
Skip to content

[build] remove more ruby test targets that do not apply and support r… - #16484

Closed
titusfortner wants to merge 1 commit into
trunkfrom
rb_bidi_remote
Closed

[build] remove more ruby test targets that do not apply and support r…#16484
titusfortner wants to merge 1 commit into
trunkfrom
rb_bidi_remote

Conversation

@titusfortner

@titusfortnertitusfortner commented Oct 21, 2025

Copy link
Copy Markdown
Member

User description

  • Adds -bidi-remote option for each test target
  • Limits tests in bidi directory to just bidi supported browsers
  • Document these things in the README

I did not figure out how to prevent the bidi specific targets in the main webdriver directory from being added to non-supported browsers, but Ruby blocks that from running right now, so it is more housekeeping than performance speedup.
As in, these targets don't matter but will still be generated:

//rb/spec/integration/selenium/webdriver:network-ie
//rb/spec/integration/selenium/webdriver:network-ie-remote
//rb/spec/integration/selenium/webdriver:network-safari
//rb/spec/integration/selenium/webdriver:network-safari-preview

PR Type

Enhancement, Tests


Description

  • Adds remote-bidi test targets for BiDi-supported browsers

  • Restricts bidi tests to explicitly supported browsers via BIDI_BROWSERS

  • Expands bidi test coverage with remote execution capability

  • Updates documentation with bidi testing guidance and examples


Diagram Walkthrough

flowchart LR
A["BIDI_BROWSERS<br/>defined"] -->|filters| B["bidi test<br/>generation"]
B -->|creates| C["local-bidi<br/>targets"]
B -->|creates| D["remote-bidi<br/>targets"]
E["rb_integration_test<br/>function"] -->|checks| A
E -->|generates| C
E -->|generates| D
Loading

File Walkthrough

Relevant files
Enhancement
tests.bzl
Add bidi browser filtering and remote-bidi test targets

rb/spec/tests.bzl

  • Defines BIDI_BROWSERS constant listing supported browsers for bidi
    testing
  • Adds condition to restrict bidi test generation to browsers in
    BIDI_BROWSERS
  • Generates new remote-bidi test targets alongside existing bidi targets
  • Configures remote-bidi targets with proper environment variables and
    dependencies
+35/-1
BUILD.bazel
Restrict bidi tests to supported browsers

rb/spec/integration/selenium/webdriver/bidi/BUILD.bazel

  • Imports BIDI_BROWSERS constant from tests.bzl
  • Restricts bidi integration tests to only supported browsers via
    browsers parameter
+2/-1
Documentation
README.md
Document bidi testing and remote-bidi test targets

README.md

  • Adds documentation for running bidi-specific tests with
    --test_tag_filters bidi
  • Explains dynamic test target generation and BiDi protocol importance
  • Updates test target examples to include bidi and remote-bidi variants
  • Documents WEBDRIVER_BIDI environment variable for enabling web socket
    URLs
  • Adds chrome-beta to supported browsers list
+18/-11

@selenium-ciselenium-ci added C-rb Ruby Bindings B-build Includes scripting, bazel and CI integrations B-devtools Includes everything BiDi or Chrome DevTools related labels Oct 21, 2025
@qodo-code-review

Copy link
Copy Markdown
Contributor

PR Compliance Guide 🔍

Below is a summary of compliance checks for this PR:

Security Compliance
🟢
No security concerns identified No security vulnerabilities detected by AI analysis. Human verification advised for critical code.
Ticket Compliance
🎫 No ticket provided
- [ ] Create ticket/issue <!-- /create_ticket --create_ticket=true -->
</details></td></tr>
Codebase Duplication Compliance
Codebase context is not defined

Follow the guide to enable codebase context checks.

Custom Compliance
No custom compliance provided

Follow the guide to enable custom compliance check.

Compliance status legend 🟢 - Fully Compliant
🟡 - Partial Compliant
🔴 - Not Compliant
⚪ - Requires Further Human Verification
🏷️ - Compliance label

@qodo-code-review

Copy link
Copy Markdown
Contributor

PR Code Suggestions ✨

Explore these optional code suggestions:

CategorySuggestion Impact
Possible issue
Add missing remote browser environment variable

Add the missing WD_REMOTE_BROWSER environment variable to the remote-bidi test
target to specify the browser for remote execution.

rb/spec/tests.bzl [244-269]

 + rb_test(
+ name = "{}-{}-remote-bidi".format(name, browser),
+ size = "large",
+ srcs = srcs,
+ args = ["rb/spec/"],
+ data = BROWSERS[browser]["data"] + data + [
+ "//common/src/web",
+ "//java/src/org/openqa/selenium/grid:selenium_server_deploy.jar",
+ "//rb/spec:java-location",
+ "@bazel_tools//tools/jdk:current_java_runtime",
+ ],
+ env = BROWSERS[browser]["env"] | {
+ "WD_BAZEL_JAVA_LOCATION": "$(rootpath //rb/spec:java-location)",
+ "WD_SPEC_DRIVER": "remote",
++ "WD_REMOTE_BROWSER": browser,
+ "WEBDRIVER_BIDI": "true",
+ },
+ main = "@bundle//bin:rspec",
+ tags = COMMON_TAGS + BROWSERS[browser]["tags"] + tags + ["{}-remote-bidi".format(browser)],
+ deps = depset(
+ ["//rb/spec/integration/selenium/webdriver:spec_helper", "//rb/lib/selenium/webdriver:bidi"] +
+ BROWSERS[browser]["deps"] +
+ deps,
+ ),
+ visibility = ["//rb:__subpackages__"],
+ target_compatible_with = BROWSERS[browser]["target_compatible_with"],
+ )

[To ensure code accuracy, apply this suggestion manually]

Suggestion importance[1-10]: 9

__

Why: The suggestion correctly identifies that the WD_REMOTE_BROWSER environment variable is missing for the new remote-bidi test target, which would cause these tests to fail.

High
High-level
Refactor build logic to reduce duplication

To reduce code duplication in rb/spec/tests.bzl, refactor the build logic by
creating a helper function. This function would generate remote test targets and
accept parameters for BiDi-specific configurations, consolidating the similar
logic for 'remote' and 'remote-bidi' targets.

Examples:

rb/spec/tests.bzl [226-269]
if"bidi"intagsandbrowserinBIDI_BROWSERS:
rb_test(
name="{}-{}-bidi".format(name, browser),
size="large",
srcs=srcs,
args= ["rb/spec/"],
data=BROWSERS[browser]["data"] +data+ ["//common/src/web"],
env=BROWSERS[browser]["env"] | {"WEBDRIVER_BIDI": "true"},
main="@bundle//bin:rspec",
tags=COMMON_TAGS+BROWSERS[browser]["tags"] +tags+ ["{}-bidi".format(browser)],
... (clipped34lines)

Solution Walkthrough:

Before:

# in rb/spec/tests.bzl within rb_integration_testif"bidi"intagsandbrowserinBIDI_BROWSERS:
# local bidi testrb_test(
name="{}-{}-bidi".format(name, browser),
env= {"WEBDRIVER_BIDI": "true"},
tags=tags+ ["{}-bidi".format(browser)],
deps=deps+ ["//rb/lib/selenium/webdriver:bidi"],
...
)
# remote bidi test (newly added, very similar to existing remote tests)rb_test(
name="{}-{}-remote-bidi".format(name, browser),
data=data+ ["//.../selenium_server_deploy.jar", ...],
env= {"WD_SPEC_DRIVER": "remote", "WEBDRIVER_BIDI": "true", ...},
tags=tags+ ["{}-remote-bidi".format(browser)],
deps=deps+ ["//rb/lib/selenium/webdriver:bidi"],
...
)

After:

# in rb/spec/tests.bzldef_create_bidi_test(name, browser, srcs, tags, deps, data, is_remote=False):
remote_suffix="-remote"ifis_remoteelse""env= {"WEBDRIVER_BIDI": "true"}
ifis_remote:
env["WD_SPEC_DRIVER"] ="remote"# ... other remote env varsdata+= ["//.../selenium_server_deploy.jar", ...]
rb_test(
name="{}-{}-bidi{}".format(name, browser, remote_suffix),
env=env,
data=data,
...
)
# in rb/spec/tests.bzl within rb_integration_testif"bidi"intagsandbrowserinBIDI_BROWSERS:
_create_bidi_test(..., is_remote=False)
_create_bidi_test(..., is_remote=True)
Suggestion importance[1-10]: 7

__

Why: The suggestion correctly identifies significant code duplication in the Bazel build file rb/spec/tests.bzl and proposes a valid refactoring that would improve long-term maintainability.

Medium
Learned
best practice
Validate BIDI browser list

Guard against unsupported browsers by asserting that every entry in
BIDI_BROWSERS exists in BROWSERS to prevent misconfiguration and hard-to-debug
build failures.

rb/spec/tests.bzl [12-269]

 BIDI_BROWSERS = [
"chrome",
"chrome-beta",
"edge",
"firefox",
"firefox-beta",
]
++# Validate bidi browser list against known browsers+for _b in BIDI_BROWSERS:+ if _b not in BROWSERS:+ fail("Unknown browser in BIDI_BROWSERS: {}".format(_b))+
...
- if "bidi" in tags and browser in BIDI_BROWSERS:- rb_test(- name = "{}-{}-bidi".format(name, browser),- ...- target_compatible_with = BROWSERS[browser]["target_compatible_with"],- )- rb_test(- name = "{}-{}-remote-bidi".format(name, browser),- ...- target_compatible_with = BROWSERS[browser]["target_compatible_with"],- )+if "bidi" in tags and browser in BIDI_BROWSERS:+ rb_test(+ name = "{}-{}-bidi".format(name, browser),+ ...+ target_compatible_with = BROWSERS[browser]["target_compatible_with"],+ )+ rb_test(+ name = "{}-{}-remote-bidi".format(name, browser),+ ...+ target_compatible_with = BROWSERS[browser]["target_compatible_with"],+ )

[To ensure code accuracy, apply this suggestion manually]

Suggestion importance[1-10]: 6

__

Why:
Relevant best practice - Validate inputs and states early to avoid generating invalid configurations or targets.

Low
  • More

@qodo-code-review

Copy link
Copy Markdown
Contributor

CI Feedback 🧐

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: //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi

Failure summary:

The action failed because the test target
//rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi consistently failed (2
attempts).
- Primary error: IOError: stream closed in another thread raised from
./rb/lib/selenium/webdriver/common/websocket_connection.rb:48 and :102 during BiDi WebSocket
operations, often while closing or attaching the socket listener.
- This caused multiple RSpec
examples in rb/spec/integration/selenium/webdriver/network_spec.rb to fail (20 failures on the
stable Firefox remote BiDi run), e.g.:
- adds an auth handler (network_spec.rb:30)
- adds an
auth handler with a filter (network_spec.rb:40)
- adds a request handler with attributes
(network_spec.rb:145)
- and others listed between lines 3122–3141 of the log.
- Additional
timeouts seen in related BiDi tests (e.g., TimeoutError on navigate) indicate unstable BiDi
communication, but the hard failure was the repeated IOError in the Firefox remote BiDi network
suite.
- Bazel summary: 2437 tests passed, 1 failed remotely; build completed with 1 test FAILED and
process exited with code 3.

Relevant error logs:
1: ##[group]Runner Image Provisioner2: Hosted Compute Agent
...
925: Package 'php-sql-formatter' is not installed, so not removed926: Package 'php8.3-ssh2' is not installed, so not removed927: Package 'php-ssh2-all-dev' is not installed, so not removed928: Package 'php8.3-stomp' is not installed, so not removed929: Package 'php-stomp-all-dev' is not installed, so not removed930: Package 'php-swiftmailer' is not installed, so not removed931: Package 'php-symfony' is not installed, so not removed932: Package 'php-symfony-asset' is not installed, so not removed933: Package 'php-symfony-asset-mapper' is not installed, so not removed934: Package 'php-symfony-browser-kit' is not installed, so not removed935: Package 'php-symfony-clock' is not installed, so not removed936: Package 'php-symfony-debug-bundle' is not installed, so not removed937: Package 'php-symfony-doctrine-bridge' is not installed, so not removed938: Package 'php-symfony-dom-crawler' is not installed, so not removed939: Package 'php-symfony-dotenv' is not installed, so not removed940: Package 'php-symfony-error-handler' is not installed, so not removed941: Package 'php-symfony-event-dispatcher' is not installed, so not removed
...
1119: Package 'php-twig-html-extra' is not installed, so not removed1120: Package 'php-twig-i18n-extension' is not installed, so not removed1121: Package 'php-twig-inky-extra' is not installed, so not removed1122: Package 'php-twig-intl-extra' is not installed, so not removed1123: Package 'php-twig-markdown-extra' is not installed, so not removed1124: Package 'php-twig-string-extra' is not installed, so not removed1125: Package 'php8.3-uopz' is not installed, so not removed1126: Package 'php-uopz-all-dev' is not installed, so not removed1127: Package 'php8.3-uploadprogress' is not installed, so not removed1128: Package 'php-uploadprogress-all-dev' is not installed, so not removed1129: Package 'php8.3-uuid' is not installed, so not removed1130: Package 'php-uuid-all-dev' is not installed, so not removed1131: Package 'php-validate' is not installed, so not removed1132: Package 'php-vlucas-phpdotenv' is not installed, so not removed1133: Package 'php-voku-portable-ascii' is not installed, so not removed1134: Package 'php-wmerrors' is not installed, so not removed1135: Package 'php-xdebug-all-dev' is not installed, so not removed
...
1761: (20:14:53) �[32mLoading:�[0m 2 packages loaded1762: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image distributor-image: https://github.com/bazel-contrib/rules_oci/issues/2201763: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image event-bus-image: https://github.com/bazel-contrib/rules_oci/issues/2201764: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image router-image: https://github.com/bazel-contrib/rules_oci/issues/2201765: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image session-map-image: https://github.com/bazel-contrib/rules_oci/issues/2201766: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image session-queue-image: https://github.com/bazel-contrib/rules_oci/issues/2201767: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image chrome-node: https://github.com/bazel-contrib/rules_oci/issues/2201768: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image firefox-node: https://github.com/bazel-contrib/rules_oci/issues/2201769: (20:14:58) �[32mLoading:�[0m 243 packages loaded1770: currently loading: javascript/atoms ... (11 packages)1771: (20:15:02) �[32mAnalyzing:�[0m 2438 targets (254 packages loaded, 0 targets configured)1772: (20:15:02) �[32mAnalyzing:�[0m 2438 targets (254 packages loaded, 0 targets configured)1773: (20:15:08) �[32mAnalyzing:�[0m 2438 targets (420 packages loaded, 61 targets configured)1774: (20:15:10) �[33mDEBUG: �[0m/home/runner/.bazel/external/rules_jvm_external+/private/extensions/maven.bzl:295:14: WARNING: The following maven modules appear in multiple sub-modules with potentially different versions. Consider adding one of these to your root module to ensure consistent versions:1775: com.google.code.findbugs:jsr3051776: com.google.errorprone:error_prone_annotations1777: com.google.guava:guava (versions: 30.1.1-jre, 31.0.1-android)
...
1804: (20:16:09) �[32mAnalyzing:�[0m 2438 targets (1650 packages loaded, 49706 targets configured)1805: �[32m[740 / 841]�[0m 29 / 74 tests;�[0m checking cached actions1806: (20:16:14) �[32mAnalyzing:�[0m 2438 targets (1656 packages loaded, 49798 targets configured)1807: �[32m[740 / 841]�[0m 29 / 74 tests;�[0m checking cached actions1808: (20:16:15) �[32mINFO: �[0mFrom Building external/contrib_rules_jvm+/java/src/com/github/bazel_contrib/contrib_rules_jvm/junit5/libjunit5-compile-class.jar (19 source files):1809: warning: [options] source value 8 is obsolete and will be removed in a future release1810: warning: [options] target value 8 is obsolete and will be removed in a future release1811: warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.1812: (20:16:17) �[35mWARNING: �[0m/home/runner/.bazel/external/io_bazel_rules_closure/java/com/google/javascript/jscomp/BUILD:19:13: in java_library rule @@io_bazel_rules_closure//java/com/google/javascript/jscomp:jscomp: target '@@io_bazel_rules_closure//java/com/google/javascript/jscomp:jscomp' depends on deprecated target '@@io_bazel_rules_closure//java/io/bazel/rules/closure:build_info_java_proto': Use java_proto_library from com_google_protobuf1813: (20:16:17) �[33mDEBUG: �[0m/home/runner/.bazel/external/io_bazel_rules_closure/closure/compiler/closure_js_deps.bzl:38:10: closure_js_deps() and deps.js files are deprecated. Please remove your closure_js_deps rules and, if needed, use the google-closure-deps npm module with bazelbuild/rules_nodejs to generate deps.js files.1814: (20:16:18) �[33mDEBUG: �[0m/home/runner/.bazel/external/io_bazel_rules_closure/closure/compiler/closure_js_deps.bzl:38:10: closure_js_deps() and deps.js files are deprecated. Please remove your closure_js_deps rules and, if needed, use the google-closure-deps npm module with bazelbuild/rules_nodejs to generate deps.js files.1815: (20:16:18) �[33mDEBUG: �[0m/home/runner/.bazel/external/io_bazel_rules_closure/closure/compiler/closure_js_deps.bzl:38:10: closure_js_deps() and deps.js files are deprecated. Please remove your closure_js_deps rules and, if needed, use the google-closure-deps npm module with bazelbuild/rules_nodejs to generate deps.js files.1816: (20:16:19) �[32mAnalyzing:�[0m 2438 targets (1706 packages loaded, 56785 targets configured)1817: �[32m[1,791 / 2,508]�[0m 81 / 91 tests;�[0m Creating source manifest for //rb/spec/integration/selenium/webdriver/bidi:script-firefox-beta-bidi; 0s local ... (6 actions, 4 running)1818: (20:16:20) �[32mINFO: �[0mFrom Building java/src/org/openqa/selenium/remote/libapi-class.jar (63 source files):1819: java/src/org/openqa/selenium/remote/ErrorHandler.java:46: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1820: private final ErrorCodes errorCodes;1821: ^1822: java/src/org/openqa/selenium/remote/ErrorHandler.java:60: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1823: this.errorCodes = new ErrorCodes();1824: ^1825: java/src/org/openqa/selenium/remote/ErrorHandler.java:68: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1826: public ErrorHandler(ErrorCodes codes, boolean includeServerErrors) {1827: ^1828: java/src/org/openqa/selenium/remote/Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1829: ErrorCodes errorCodes = new ErrorCodes();1830: ^1831: java/src/org/openqa/selenium/remote/Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1832: ErrorCodes errorCodes = new ErrorCodes();1833: ^1834: java/src/org/openqa/selenium/remote/ProtocolHandshake.java:181: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1835: response.setStatus(ErrorCodes.SUCCESS);1836: ^1837: java/src/org/openqa/selenium/remote/ProtocolHandshake.java:182: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1838: response.setState(ErrorCodes.SUCCESS_STRING);1839: ^1840: java/src/org/openqa/selenium/remote/W3CHandshakeResponse.java:53: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1841: new ErrorCodes().toStatus((String) rawError, Optional.of(tuple.getStatusCode())));1842: ^1843: java/src/org/openqa/selenium/remote/W3CHandshakeResponse.java:56: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1844: new ErrorCodes().getExceptionType((String) rawError);1845: ^1846: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:44: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1847: private final ErrorCodes errorCodes = new ErrorCodes();1848: ^1849: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:44: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1850: private final ErrorCodes errorCodes = new ErrorCodes();1851: ^1852: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:55: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1853: int status = response.getStatus() == ErrorCodes.SUCCESS ? HTTP_OK : HTTP_INTERNAL_ERROR;1854: ^1855: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:101: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1856: response.setStatus(ErrorCodes.UNKNOWN_COMMAND);1857: ^1858: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:103: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1859: response.setStatus(ErrorCodes.UNHANDLED_ERROR);1860: ^1861: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:117: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1862: response.setStatus(ErrorCodes.SUCCESS);1863: ^1864: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:118: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1865: response.setState(errorCodes.toState(ErrorCodes.SUCCESS));1866: ^1867: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:124: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1868: response.setState(errorCodes.toState(ErrorCodes.SUCCESS));1869: ^1870: 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 removal1871: private final ErrorCodes errorCodes = new ErrorCodes();1872: ^1873: 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 removal1874: private final ErrorCodes errorCodes = new ErrorCodes();1875: ^1876: 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 removal1877: response.setStatus(ErrorCodes.UNKNOWN_COMMAND);1878: ^1879: 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 removal1880: response.setStatus(ErrorCodes.UNHANDLED_ERROR);1881: ^1882: 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 removal1883: response.setStatus(ErrorCodes.SUCCESS);1884: ^
...
1889: (20:16:24) �[32mAnalyzing:�[0m 2438 targets (1709 packages loaded, 61320 targets configured)1890: �[32m[3,408 / 4,512]�[0m 81 / 379 tests;�[0m Creating source manifest for //java/test/org/openqa/selenium/bidi/webextension:WebExtensionTest; 0s local ... (36 actions, 22 running)1891: (20:16:28) �[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/test1892: (20:16:28) �[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/test1893: (20:16:28) �[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/test1894: (20:16:28) �[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/test1895: (20:16:28) �[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/test1896: (20:16:28) �[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/test1897: (20:16:28) �[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/test1898: (20:16:28) �[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/test1899: (20:16:28) �[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/test1900: (20:16:28) �[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/test1901: (20:16:28) �[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/test1902: (20:16:28) �[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/test1903: (20:16:28) �[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/test1904: (20:16:28) �[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/test1905: (20:16:28) �[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
...
2158: �[32m[9,793 / 12,228]�[0m 151 / 1994 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver:action_builder-firefox; 4s ... (50 actions, 0 running)2159: (20:17:15) �[32mAnalyzing:�[0m 2438 targets (1747 packages loaded, 69239 targets configured)2160: �[32m[10,196 / 12,733]�[0m 218 / 2153 tests;�[0m [Prepa] Testing //javascript/selenium-webdriver:test-logging-test.js-chrome ... (50 actions, 13 running)2161: (20:17:20) �[32mAnalyzing:�[0m 2438 targets (1747 packages loaded, 69352 targets configured)2162: �[32m[11,183 / 13,296]�[0m 289 / 2266 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver/firefox:profile-firefox ... (49 actions, 3 running)2163: (20:17:25) �[32mAnalyzing:�[0m 2438 targets (1747 packages loaded, 69468 targets configured)2164: �[32m[11,730 / 13,892]�[0m 353 / 2382 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver:navigation-edge-bidi ... (48 actions, 2 running)2165: (20:17:27) �[32mINFO: �[0mAnalyzed 2438 targets (1748 packages loaded, 69586 targets configured).2166: (20:17:30) �[32m[12,790 / 14,806]�[0m 428 / 2438 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver/remote:element-chrome-beta ... (45 actions, 12 running)2167: (20:17:31) �[32mINFO: �[0mFrom Compiling Rust bin cargo_toml_variable_extractor (1 files) [for tool]:2168: �[0m�[1m�[33mwarning�[0m�[0m�[1m: the gold linker is deprecated and has known bugs with Rust�[0m2169: �[0m �[0m�[0m�[1m�[38;5;12m|�[0m2170: �[0m �[0m�[0m�[1m�[38;5;12m= �[0m�[0m�[1mhelp�[0m�[0m: consider using LLD or ld from GNU binutils instead�[0m2171: �[0m�[1m�[33mwarning�[0m�[0m�[1m: 1 warning emitted�[0m2172: (20:17:31) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/libsmall-tests-test-lib.jar (5 source files) and running annotation processors (AutoServiceProcessor):2173: java/test/org/openqa/selenium/remote/WebDriverFixture.java:170: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2174: response.setStatus(new ErrorCodes().toStatus(state, Optional.of(400)));2175: ^2176: (20:17:32) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/RemotableByTest.jar (1 source file) and running annotation processors (AutoServiceProcessor):2177: java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2178: import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;2179: ^2180: java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2181: import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;2182: ^2183: java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2184: import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;2185: ^2186: java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2187: private final ErrorCodes errorCodes = new ErrorCodes();2188: ^2189: java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2190: private final ErrorCodes errorCodes = new ErrorCodes();2191: ^2192: java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2193: private final ErrorCodes errorCodes = new ErrorCodes();2194: ^2195: java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2196: private final ErrorCodes errorCodes = new ErrorCodes();2197: ^2198: (20:17:32) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/ErrorHandlerTest.jar (1 source file) and running annotation processors (AutoServiceProcessor):2199: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:79: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2200: handler.throwIfResponseFailed(createResponse(ErrorCodes.SUCCESS), 100);2201: ^2202: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:85: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2203: assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_WINDOW, NoSuchWindowException.class);2204: ^2205: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:86: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2206: assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_FRAME, NoSuchFrameException.class);2207: ^2208: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:87: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2209: assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_ELEMENT, NoSuchElementException.class);2210: ^2211: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:88: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2212: assertThrowsCorrectExceptionType(ErrorCodes.UNKNOWN_COMMAND, UnsupportedCommandException.class);2213: ^2214: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:90: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2215: ErrorCodes.METHOD_NOT_ALLOWED, UnsupportedCommandException.class);2216: ^2217: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:92: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2218: ErrorCodes.STALE_ELEMENT_REFERENCE, StaleElementReferenceException.class);2219: ^2220: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:94: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2221: ErrorCodes.INVALID_ELEMENT_STATE, InvalidElementStateException.class);2222: ^2223: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:95: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2224: assertThrowsCorrectExceptionType(ErrorCodes.XPATH_LOOKUP_ERROR, InvalidSelectorException.class);2225: ^2226: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:107: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2227: Response response = createResponse(ErrorCodes.UNHANDLED_ERROR);2228: ^2229: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:120: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2230: createResponse(ErrorCodes.UNHANDLED_ERROR, "boom"), 123))2231: ^2232: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:133: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2233: createResponse(ErrorCodes.UNHANDLED_ERROR, ImmutableMap.of("message", "boom")),2234: ^2235: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:147: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2236: ErrorCodes.UNHANDLED_ERROR,2237: ^2238: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:167: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2239: ErrorCodes.UNHANDLED_ERROR,2240: ^2241: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:193: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2242: createResponse(ErrorCodes.UNHANDLED_ERROR, toMap(serverError)), 123))2243: ^2244: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:214: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2245: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2246: ^2247: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:248: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2248: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2249: ^2250: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:280: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2251: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2252: ^2253: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:308: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2254: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2255: ^2256: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:327: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2257: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2258: ^2259: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:355: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2260: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2261: ^2262: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:394: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2263: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2264: ^2265: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:426: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2266: createResponse(ErrorCodes.UNHANDLED_ERROR, toMap(serverError)), 123))2267: ^2268: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:435: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2269: exceptions.put(ErrorCodes.NO_SUCH_SESSION, NoSuchSessionException.class);2270: ^2271: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:436: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2272: exceptions.put(ErrorCodes.NO_SUCH_ELEMENT, NoSuchElementException.class);2273: ^2274: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:437: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2275: exceptions.put(ErrorCodes.NO_SUCH_FRAME, NoSuchFrameException.class);2276: ^2277: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:438: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2278: exceptions.put(ErrorCodes.UNKNOWN_COMMAND, UnsupportedCommandException.class);2279: ^2280: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:439: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2281: exceptions.put(ErrorCodes.STALE_ELEMENT_REFERENCE, StaleElementReferenceException.class);2282: ^2283: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:440: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2284: exceptions.put(ErrorCodes.INVALID_ELEMENT_STATE, InvalidElementStateException.class);2285: ^2286: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:441: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2287: exceptions.put(ErrorCodes.UNHANDLED_ERROR, WebDriverException.class);2288: ^2289: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:442: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2290: exceptions.put(ErrorCodes.JAVASCRIPT_ERROR, JavascriptException.class);2291: ^2292: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:443: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2293: exceptions.put(ErrorCodes.XPATH_LOOKUP_ERROR, InvalidSelectorException.class);2294: ^2295: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:444: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2296: exceptions.put(ErrorCodes.TIMEOUT, TimeoutException.class);2297: ^2298: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:445: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2299: exceptions.put(ErrorCodes.NO_SUCH_WINDOW, NoSuchWindowException.class);2300: ^2301: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:446: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2302: exceptions.put(ErrorCodes.INVALID_COOKIE_DOMAIN, InvalidCookieDomainException.class);2303: ^2304: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:447: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2305: exceptions.put(ErrorCodes.UNABLE_TO_SET_COOKIE, UnableToSetCookieException.class);2306: ^2307: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:448: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2308: exceptions.put(ErrorCodes.UNEXPECTED_ALERT_PRESENT, UnhandledAlertException.class);2309: ^2310: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:449: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2311: exceptions.put(ErrorCodes.NO_ALERT_PRESENT, NoAlertPresentException.class);2312: ^2313: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:450: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2314: exceptions.put(ErrorCodes.ASYNC_SCRIPT_TIMEOUT, ScriptTimeoutException.class);2315: ^2316: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:451: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2317: exceptions.put(ErrorCodes.INVALID_SELECTOR_ERROR, InvalidSelectorException.class);2318: ^2319: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:452: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2320: exceptions.put(ErrorCodes.SESSION_NOT_CREATED, SessionNotCreatedException.class);2321: ^2322: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:453: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2323: exceptions.put(ErrorCodes.MOVE_TARGET_OUT_OF_BOUNDS, MoveTargetOutOfBoundsException.class);2324: ^2325: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:454: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2326: exceptions.put(ErrorCodes.INVALID_XPATH_SELECTOR, InvalidSelectorException.class);2327: ^2328: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:455: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2329: exceptions.put(ErrorCodes.INVALID_XPATH_SELECTOR_RETURN_TYPER, InvalidSelectorException.class);2330: ^2331: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:469: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2332: ? ErrorCodes.INVALID_SELECTOR_ERROR2333: ^2334: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:471: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2335: assertThat(new ErrorCodes().toStatusCode(e)).isEqualTo(expected);2336: ^2337: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:483: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2338: response.setState(new ErrorCodes().toState(status));2339: ^2340: (20:17:33) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.jar (1 source file):2341: 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 removal2342: import static org.openqa.selenium.remote.ErrorCodes.METHOD_NOT_ALLOWED;2343: ^2344: 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 removal2345: assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.SUCCESS);2346: ^2347: 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 removal2348: assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.UNHANDLED_ERROR);2349: ^2350: 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 removal2351: assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.UNHANDLED_ERROR);2352: ^2353: (20:17:33) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/json/JsonTest.jar (1 source file):2354: java/test/org/openqa/selenium/json/JsonTest.java:430: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2355: assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(0));2356: ^2357: java/test/org/openqa/selenium/json/JsonTest.java:441: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2358: assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(0));2359: ^2360: java/test/org/openqa/selenium/json/JsonTest.java:454: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2361: assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(32));2362: ^
...
2553: (20:22:04) �[32m[17,347 / 17,349]�[0m 2346 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 215s remote, remote-cache ... (2 actions running)2554: (20:22:11) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 223s remote, remote-cache2555: (20:22:17) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 229s remote, remote-cache2556: (20:22:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 259s remote, remote-cache2557: (20:23:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 319s remote, remote-cache2558: (20:24:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 379s remote, remote-cache2559: (20:25:01) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 393s remote, remote-cache2560: (20:25:02) �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi/test_attempts/attempt_1.log)2561: (20:25:06) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 398s remote, remote-cache2562: (20:25:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 439s remote, remote-cache2563: (20:26:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 499s remote, remote-cache2564: (20:27:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 559s remote, remote-cache2565: (20:28:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 619s remote, remote-cache2566: (20:29:24) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 655s remote, remote-cache2567: (20:29:24) �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi/test.log)2568: �[31m�[1mFAILED: �[0m//rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi (Summary)2569: /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi/test.log
...
2576: driver: remote2577: version: stable2578: platform: linux2579: ci: github2580: rbe: true2581: ruby: jruby 10.0.0.0 (3.4.2) 2025-04-13 6ed59bc847 OpenJDK 64-Bit Server VM 21.0.4+7-LTS on 21.0.4+7-LTS [x86_64-linux]2582: Selenium::WebDriver::Network2583: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/handshake/base.rb:40: warning: previous definition of to_s was here2584: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/handshake/base.rb:53: warning: previous definition of valid? was here2585: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/handshake/client.rb:57: warning: previous definition of initialize was here2586: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/handshake/client.rb:90: warning: previous definition of << was here2587: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/frame/base.rb:19: warning: previous definition of initialize was here2588: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/frame/outgoing.rb:28: warning: previous definition of to_s was here2589: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/frame/incoming.rb:40: warning: previous definition of next was here2590: adds an auth handler2591: adds an auth handler with a filter (FAILED - 1)2592: adds an auth handler with multiple filters2593: adds an auth handler with a pattern type2594: removes an auth handler (FAILED - 2)2595: clears all auth handlers2596: continues without auth2597: cancels auth2598: adds a request handler2599: adds a request handler with a filter2600: adds a request handler with multiple filters2601: adds a request handler with a pattern type2602: adds a request handler with attributes (FAILED - 3)2603: fails a request2604: removes a request handler2605: clears all request handlers2606: adds a response handler2607: adds a response handler with a filter2608: adds a response handler with multiple filters2609: adds a response handler with a pattern type2610: adds a response handler with attributes2611: adds an auth handler (FAILED - 4)2612: adds an auth handler with a filter (FAILED - 5)2613: adds an auth handler with multiple filters (FAILED - 6)2614: adds an auth handler with a pattern type (FAILED - 7)2615: removes an auth handler (FAILED - 8)2616: clears all auth handlers (FAILED - 9)2617: continues without auth (FAILED - 10)2618: cancels auth (FAILED - 11)2619: adds a request handler (FAILED - 12)2620: adds a request handler with a filter (FAILED - 13)2621: adds a request handler with multiple filters (FAILED - 14)2622: adds a request handler with a pattern type (FAILED - 15)2623: adds a request handler with attributes (FAILED - 16)2624: fails a request (FAILED - 17)2625: removes a request handler (FAILED - 18)2626: clears all request handlers (FAILED - 19)2627: adds a response handler (FAILED - 20)2628: Failures:2629: 1) Selenium::WebDriver::Network adds an auth handler with a filter2630: Got 0 failures and 2 other errors:2631: 1.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2632: IOError:2633: stream closed in another thread2634: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2635: 1.2) Failure/Error:2636: reset_driver!(web_socket_url: true) do |driver|2637: network = described_class.new(driver)2638: network.add_response_handler do |response|2639: response.status = 2002640: response.headers['foo'] = 'bar'2641: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2642: response.provide_response2643: end2644: driver.navigate.to url_for('formPage.html')2645: source = driver.page_source2646: IOError:2647: stream closed in another thread2648: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2649: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2650: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2651: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2652: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2653: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2654: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2655: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2656: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2657: 2) Selenium::WebDriver::Network removes an auth handler2658: Got 0 failures and 2 other errors:2659: 2.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2660: IOError:2661: stream closed in another thread2662: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2663: 2.2) Failure/Error:2664: reset_driver!(web_socket_url: true) do |driver|2665: network = described_class.new(driver)2666: network.add_response_handler do |response|2667: response.status = 2002668: response.headers['foo'] = 'bar'2669: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2670: response.provide_response2671: end2672: driver.navigate.to url_for('formPage.html')2673: source = driver.page_source2674: IOError:2675: stream closed in another thread2676: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2677: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2678: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2679: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2680: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2681: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2682: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2683: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2684: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2685: 3) Selenium::WebDriver::Network adds a request handler with attributes2686: Got 0 failures and 2 other errors:2687: 3.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2688: IOError:2689: stream closed in another thread2690: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2691: 3.2) Failure/Error:2692: reset_driver!(web_socket_url: true) do |driver|2693: network = described_class.new(driver)2694: network.add_response_handler do |response|2695: response.status = 2002696: response.headers['foo'] = 'bar'2697: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2698: response.provide_response2699: end2700: driver.navigate.to url_for('formPage.html')2701: source = driver.page_source2702: IOError:2703: stream closed in another thread2704: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2705: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2706: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2707: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2708: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2709: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2710: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2711: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2712: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2713: 4) Selenium::WebDriver::Network adds an auth handler2714: Failure/Error:2715: reset_driver!(web_socket_url: true) do |driver|2716: network = described_class.new(driver)2717: network.add_response_handler do |response|2718: response.status = 2002719: response.headers['foo'] = 'bar'2720: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2721: response.provide_response2722: end2723: driver.navigate.to url_for('formPage.html')2724: source = driver.page_source2725: IOError:2726: stream closed in another thread2727: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2728: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2729: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2730: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2731: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2732: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2733: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2734: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2735: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2736: 5) Selenium::WebDriver::Network adds an auth handler with a filter2737: Got 0 failures and 2 other errors:2738: 5.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2739: IOError:2740: stream closed in another thread2741: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2742: 5.2) Failure/Error:2743: reset_driver!(web_socket_url: true) do |driver|2744: network = described_class.new(driver)2745: network.add_response_handler do |response|2746: response.status = 2002747: response.headers['foo'] = 'bar'2748: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2749: response.provide_response2750: end2751: driver.navigate.to url_for('formPage.html')2752: source = driver.page_source2753: IOError:2754: stream closed in another thread2755: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2756: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2757: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2758: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2759: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2760: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2761: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2762: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2763: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2764: 6) Selenium::WebDriver::Network adds an auth handler with multiple filters2765: Failure/Error:2766: reset_driver!(web_socket_url: true) do |driver|2767: network = described_class.new(driver)2768: network.add_response_handler do |response|2769: response.status = 2002770: response.headers['foo'] = 'bar'2771: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2772: response.provide_response2773: end2774: driver.navigate.to url_for('formPage.html')2775: source = driver.page_source2776: IOError:2777: stream closed in another thread2778: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2779: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2780: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2781: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2782: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2783: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2784: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2785: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2786: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2787: 7) Selenium::WebDriver::Network adds an auth handler with a pattern type2788: Failure/Error:2789: reset_driver!(web_socket_url: true) do |driver|2790: network = described_class.new(driver)2791: network.add_response_handler do |response|2792: response.status = 2002793: response.headers['foo'] = 'bar'2794: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2795: response.provide_response2796: end2797: driver.navigate.to url_for('formPage.html')2798: source = driver.page_source2799: IOError:2800: stream closed in another thread2801: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2802: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2803: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2804: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2805: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2806: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2807: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2808: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2809: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2810: 8) Selenium::WebDriver::Network removes an auth handler2811: Got 0 failures and 2 other errors:2812: 8.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2813: IOError:2814: stream closed in another thread2815: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2816: 8.2) Failure/Error:2817: reset_driver!(web_socket_url: true) do |driver|2818: network = described_class.new(driver)2819: network.add_response_handler do |response|2820: response.status = 2002821: response.headers['foo'] = 'bar'2822: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2823: response.provide_response2824: end2825: driver.navigate.to url_for('formPage.html')2826: source = driver.page_source2827: IOError:2828: stream closed in another thread2829: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2830: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2831: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2832: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2833: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2834: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2835: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2836: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2837: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2838: 9) Selenium::WebDriver::Network clears all auth handlers2839: Failure/Error:2840: reset_driver!(web_socket_url: true) do |driver|2841: network = described_class.new(driver)2842: network.add_response_handler do |response|2843: response.status = 2002844: response.headers['foo'] = 'bar'2845: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2846: response.provide_response2847: end2848: driver.navigate.to url_for('formPage.html')2849: source = driver.page_source2850: IOError:2851: stream closed in another thread2852: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2853: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2854: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2855: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2856: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2857: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2858: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2859: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2860: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2861: 10) Selenium::WebDriver::Network continues without auth2862: Failure/Error:2863: reset_driver!(web_socket_url: true) do |driver|2864: network = described_class.new(driver)2865: network.add_response_handler do |response|2866: response.status = 2002867: response.headers['foo'] = 'bar'2868: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2869: response.provide_response2870: end2871: driver.navigate.to url_for('formPage.html')2872: source = driver.page_source2873: IOError:2874: stream closed in another thread2875: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2876: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2877: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2878: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2879: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2880: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2881: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2882: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2883: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2884: 11) Selenium::WebDriver::Network cancels auth2885: Failure/Error:2886: reset_driver!(web_socket_url: true) do |driver|2887: network = described_class.new(driver)2888: network.add_response_handler do |response|2889: response.status = 2002890: response.headers['foo'] = 'bar'2891: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2892: response.provide_response2893: end2894: driver.navigate.to url_for('formPage.html')2895: source = driver.page_source2896: IOError:2897: stream closed in another thread2898: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2899: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2900: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2901: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2902: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2903: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2904: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2905: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2906: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2907: 12) Selenium::WebDriver::Network adds a request handler2908: Failure/Error:2909: reset_driver!(web_socket_url: true) do |driver|2910: network = described_class.new(driver)2911: network.add_response_handler do |response|2912: response.status = 2002913: response.headers['foo'] = 'bar'2914: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2915: response.provide_response2916: end2917: driver.navigate.to url_for('formPage.html')2918: source = driver.page_source2919: IOError:2920: stream closed in another thread2921: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2922: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2923: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2924: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2925: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2926: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2927: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2928: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2929: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2930: 13) Selenium::WebDriver::Network adds a request handler with a filter2931: Failure/Error:2932: reset_driver!(web_socket_url: true) do |driver|2933: network = described_class.new(driver)2934: network.add_response_handler do |response|2935: response.status = 2002936: response.headers['foo'] = 'bar'2937: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2938: response.provide_response2939: end2940: driver.navigate.to url_for('formPage.html')2941: source = driver.page_source2942: IOError:2943: stream closed in another thread2944: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2945: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2946: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2947: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2948: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2949: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2950: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2951: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2952: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2953: 14) Selenium::WebDriver::Network adds a request handler with multiple filters2954: Failure/Error:2955: reset_driver!(web_socket_url: true) do |driver|2956: network = described_class.new(driver)2957: network.add_response_handler do |response|2958: response.status = 2002959: response.headers['foo'] = 'bar'2960: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2961: respo...

@titusfortner

Copy link
Copy Markdown
MemberAuthor

I think these new remote-bidi failures are flaky and will be fixed by #16487
Rerun tests after that is merged.

@titusfortner
titusfortner marked this pull request as draft October 24, 2025 14:58
@titusfortner

Copy link
Copy Markdown
MemberAuthor

Moving to draft, still needs optimizing

@github-actionsgithub-actionsBot added the J-stale Applied to issues that become stale, and eventually closed. label Apr 22, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

B-buildIncludes scripting, bazel and CI integrationsB-devtoolsIncludes everything BiDi or Chrome DevTools relatedC-rbRuby BindingsJ-staleApplied to issues that become stale, and eventually closed.Review effort 2/5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@titusfortner@p0deje@selenium-ci
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Auto-enable theater mode on YouTube\n(function() {\n function tryTheater() {\n var btn = document.querySelector('button[aria-label=\"Theater mode\"], ytd-player #player button[title=\"Theater mode\"]');\n if (btn && !btn.classList.contains('activated')) {\n btn.click();\n }\n }\n \n // Try immediately\n tryTheater();\n \n // Try after navigation (SPA)\n var lastUrl = location.href;\n setInterval(function() {\n if (location.href !== lastUrl) {\n lastUrl = location.href;\n setTimeout(tryTheater, 500);\n }\n }, 1000);\n \n // Also try on player load\n var observer = new MutationObserver(tryTheater);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "YouTube Theater Mode Default"); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

[build] remove more ruby test targets that do not apply and support r… - #16484

Closed
titusfortner wants to merge 1 commit into
trunkfrom
rb_bidi_remote
Closed

[build] remove more ruby test targets that do not apply and support r…#16484
titusfortner wants to merge 1 commit into
trunkfrom
rb_bidi_remote

Conversation

@titusfortner

@titusfortnertitusfortner commented Oct 21, 2025

Copy link
Copy Markdown
Member

User description

  • Adds -bidi-remote option for each test target
  • Limits tests in bidi directory to just bidi supported browsers
  • Document these things in the README

I did not figure out how to prevent the bidi specific targets in the main webdriver directory from being added to non-supported browsers, but Ruby blocks that from running right now, so it is more housekeeping than performance speedup.
As in, these targets don't matter but will still be generated:

//rb/spec/integration/selenium/webdriver:network-ie
//rb/spec/integration/selenium/webdriver:network-ie-remote
//rb/spec/integration/selenium/webdriver:network-safari
//rb/spec/integration/selenium/webdriver:network-safari-preview

PR Type

Enhancement, Tests


Description

  • Adds remote-bidi test targets for BiDi-supported browsers

  • Restricts bidi tests to explicitly supported browsers via BIDI_BROWSERS

  • Expands bidi test coverage with remote execution capability

  • Updates documentation with bidi testing guidance and examples


Diagram Walkthrough

flowchart LR
A["BIDI_BROWSERS<br/>defined"] -->|filters| B["bidi test<br/>generation"]
B -->|creates| C["local-bidi<br/>targets"]
B -->|creates| D["remote-bidi<br/>targets"]
E["rb_integration_test<br/>function"] -->|checks| A
E -->|generates| C
E -->|generates| D
Loading

File Walkthrough

Relevant files
Enhancement
tests.bzl
Add bidi browser filtering and remote-bidi test targets

rb/spec/tests.bzl

  • Defines BIDI_BROWSERS constant listing supported browsers for bidi
    testing
  • Adds condition to restrict bidi test generation to browsers in
    BIDI_BROWSERS
  • Generates new remote-bidi test targets alongside existing bidi targets
  • Configures remote-bidi targets with proper environment variables and
    dependencies
+35/-1
BUILD.bazel
Restrict bidi tests to supported browsers

rb/spec/integration/selenium/webdriver/bidi/BUILD.bazel

  • Imports BIDI_BROWSERS constant from tests.bzl
  • Restricts bidi integration tests to only supported browsers via
    browsers parameter
+2/-1
Documentation
README.md
Document bidi testing and remote-bidi test targets

README.md

  • Adds documentation for running bidi-specific tests with
    --test_tag_filters bidi
  • Explains dynamic test target generation and BiDi protocol importance
  • Updates test target examples to include bidi and remote-bidi variants
  • Documents WEBDRIVER_BIDI environment variable for enabling web socket
    URLs
  • Adds chrome-beta to supported browsers list
+18/-11

@selenium-ciselenium-ci added C-rb Ruby Bindings B-build Includes scripting, bazel and CI integrations B-devtools Includes everything BiDi or Chrome DevTools related labels Oct 21, 2025
@qodo-code-review

Copy link
Copy Markdown
Contributor

PR Compliance Guide 🔍

Below is a summary of compliance checks for this PR:

Security Compliance
🟢
No security concerns identified No security vulnerabilities detected by AI analysis. Human verification advised for critical code.
Ticket Compliance
🎫 No ticket provided
- [ ] Create ticket/issue <!-- /create_ticket --create_ticket=true -->
</details></td></tr>
Codebase Duplication Compliance
Codebase context is not defined

Follow the guide to enable codebase context checks.

Custom Compliance
No custom compliance provided

Follow the guide to enable custom compliance check.

Compliance status legend 🟢 - Fully Compliant
🟡 - Partial Compliant
🔴 - Not Compliant
⚪ - Requires Further Human Verification
🏷️ - Compliance label

@qodo-code-review

Copy link
Copy Markdown
Contributor

PR Code Suggestions ✨

Explore these optional code suggestions:

CategorySuggestion Impact
Possible issue
Add missing remote browser environment variable

Add the missing WD_REMOTE_BROWSER environment variable to the remote-bidi test
target to specify the browser for remote execution.

rb/spec/tests.bzl [244-269]

 + rb_test(
+ name = "{}-{}-remote-bidi".format(name, browser),
+ size = "large",
+ srcs = srcs,
+ args = ["rb/spec/"],
+ data = BROWSERS[browser]["data"] + data + [
+ "//common/src/web",
+ "//java/src/org/openqa/selenium/grid:selenium_server_deploy.jar",
+ "//rb/spec:java-location",
+ "@bazel_tools//tools/jdk:current_java_runtime",
+ ],
+ env = BROWSERS[browser]["env"] | {
+ "WD_BAZEL_JAVA_LOCATION": "$(rootpath //rb/spec:java-location)",
+ "WD_SPEC_DRIVER": "remote",
++ "WD_REMOTE_BROWSER": browser,
+ "WEBDRIVER_BIDI": "true",
+ },
+ main = "@bundle//bin:rspec",
+ tags = COMMON_TAGS + BROWSERS[browser]["tags"] + tags + ["{}-remote-bidi".format(browser)],
+ deps = depset(
+ ["//rb/spec/integration/selenium/webdriver:spec_helper", "//rb/lib/selenium/webdriver:bidi"] +
+ BROWSERS[browser]["deps"] +
+ deps,
+ ),
+ visibility = ["//rb:__subpackages__"],
+ target_compatible_with = BROWSERS[browser]["target_compatible_with"],
+ )

[To ensure code accuracy, apply this suggestion manually]

Suggestion importance[1-10]: 9

__

Why: The suggestion correctly identifies that the WD_REMOTE_BROWSER environment variable is missing for the new remote-bidi test target, which would cause these tests to fail.

High
High-level
Refactor build logic to reduce duplication

To reduce code duplication in rb/spec/tests.bzl, refactor the build logic by
creating a helper function. This function would generate remote test targets and
accept parameters for BiDi-specific configurations, consolidating the similar
logic for 'remote' and 'remote-bidi' targets.

Examples:

rb/spec/tests.bzl [226-269]
if"bidi"intagsandbrowserinBIDI_BROWSERS:
rb_test(
name="{}-{}-bidi".format(name, browser),
size="large",
srcs=srcs,
args= ["rb/spec/"],
data=BROWSERS[browser]["data"] +data+ ["//common/src/web"],
env=BROWSERS[browser]["env"] | {"WEBDRIVER_BIDI": "true"},
main="@bundle//bin:rspec",
tags=COMMON_TAGS+BROWSERS[browser]["tags"] +tags+ ["{}-bidi".format(browser)],
... (clipped34lines)

Solution Walkthrough:

Before:

# in rb/spec/tests.bzl within rb_integration_testif"bidi"intagsandbrowserinBIDI_BROWSERS:
# local bidi testrb_test(
name="{}-{}-bidi".format(name, browser),
env= {"WEBDRIVER_BIDI": "true"},
tags=tags+ ["{}-bidi".format(browser)],
deps=deps+ ["//rb/lib/selenium/webdriver:bidi"],
...
)
# remote bidi test (newly added, very similar to existing remote tests)rb_test(
name="{}-{}-remote-bidi".format(name, browser),
data=data+ ["//.../selenium_server_deploy.jar", ...],
env= {"WD_SPEC_DRIVER": "remote", "WEBDRIVER_BIDI": "true", ...},
tags=tags+ ["{}-remote-bidi".format(browser)],
deps=deps+ ["//rb/lib/selenium/webdriver:bidi"],
...
)

After:

# in rb/spec/tests.bzldef_create_bidi_test(name, browser, srcs, tags, deps, data, is_remote=False):
remote_suffix="-remote"ifis_remoteelse""env= {"WEBDRIVER_BIDI": "true"}
ifis_remote:
env["WD_SPEC_DRIVER"] ="remote"# ... other remote env varsdata+= ["//.../selenium_server_deploy.jar", ...]
rb_test(
name="{}-{}-bidi{}".format(name, browser, remote_suffix),
env=env,
data=data,
...
)
# in rb/spec/tests.bzl within rb_integration_testif"bidi"intagsandbrowserinBIDI_BROWSERS:
_create_bidi_test(..., is_remote=False)
_create_bidi_test(..., is_remote=True)
Suggestion importance[1-10]: 7

__

Why: The suggestion correctly identifies significant code duplication in the Bazel build file rb/spec/tests.bzl and proposes a valid refactoring that would improve long-term maintainability.

Medium
Learned
best practice
Validate BIDI browser list

Guard against unsupported browsers by asserting that every entry in
BIDI_BROWSERS exists in BROWSERS to prevent misconfiguration and hard-to-debug
build failures.

rb/spec/tests.bzl [12-269]

 BIDI_BROWSERS = [
"chrome",
"chrome-beta",
"edge",
"firefox",
"firefox-beta",
]
++# Validate bidi browser list against known browsers+for _b in BIDI_BROWSERS:+ if _b not in BROWSERS:+ fail("Unknown browser in BIDI_BROWSERS: {}".format(_b))+
...
- if "bidi" in tags and browser in BIDI_BROWSERS:- rb_test(- name = "{}-{}-bidi".format(name, browser),- ...- target_compatible_with = BROWSERS[browser]["target_compatible_with"],- )- rb_test(- name = "{}-{}-remote-bidi".format(name, browser),- ...- target_compatible_with = BROWSERS[browser]["target_compatible_with"],- )+if "bidi" in tags and browser in BIDI_BROWSERS:+ rb_test(+ name = "{}-{}-bidi".format(name, browser),+ ...+ target_compatible_with = BROWSERS[browser]["target_compatible_with"],+ )+ rb_test(+ name = "{}-{}-remote-bidi".format(name, browser),+ ...+ target_compatible_with = BROWSERS[browser]["target_compatible_with"],+ )

[To ensure code accuracy, apply this suggestion manually]

Suggestion importance[1-10]: 6

__

Why:
Relevant best practice - Validate inputs and states early to avoid generating invalid configurations or targets.

Low
  • More

@qodo-code-review

Copy link
Copy Markdown
Contributor

CI Feedback 🧐

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: //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi

Failure summary:

The action failed because the test target
//rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi consistently failed (2
attempts).
- Primary error: IOError: stream closed in another thread raised from
./rb/lib/selenium/webdriver/common/websocket_connection.rb:48 and :102 during BiDi WebSocket
operations, often while closing or attaching the socket listener.
- This caused multiple RSpec
examples in rb/spec/integration/selenium/webdriver/network_spec.rb to fail (20 failures on the
stable Firefox remote BiDi run), e.g.:
- adds an auth handler (network_spec.rb:30)
- adds an
auth handler with a filter (network_spec.rb:40)
- adds a request handler with attributes
(network_spec.rb:145)
- and others listed between lines 3122–3141 of the log.
- Additional
timeouts seen in related BiDi tests (e.g., TimeoutError on navigate) indicate unstable BiDi
communication, but the hard failure was the repeated IOError in the Firefox remote BiDi network
suite.
- Bazel summary: 2437 tests passed, 1 failed remotely; build completed with 1 test FAILED and
process exited with code 3.

Relevant error logs:
1: ##[group]Runner Image Provisioner2: Hosted Compute Agent
...
925: Package 'php-sql-formatter' is not installed, so not removed926: Package 'php8.3-ssh2' is not installed, so not removed927: Package 'php-ssh2-all-dev' is not installed, so not removed928: Package 'php8.3-stomp' is not installed, so not removed929: Package 'php-stomp-all-dev' is not installed, so not removed930: Package 'php-swiftmailer' is not installed, so not removed931: Package 'php-symfony' is not installed, so not removed932: Package 'php-symfony-asset' is not installed, so not removed933: Package 'php-symfony-asset-mapper' is not installed, so not removed934: Package 'php-symfony-browser-kit' is not installed, so not removed935: Package 'php-symfony-clock' is not installed, so not removed936: Package 'php-symfony-debug-bundle' is not installed, so not removed937: Package 'php-symfony-doctrine-bridge' is not installed, so not removed938: Package 'php-symfony-dom-crawler' is not installed, so not removed939: Package 'php-symfony-dotenv' is not installed, so not removed940: Package 'php-symfony-error-handler' is not installed, so not removed941: Package 'php-symfony-event-dispatcher' is not installed, so not removed
...
1119: Package 'php-twig-html-extra' is not installed, so not removed1120: Package 'php-twig-i18n-extension' is not installed, so not removed1121: Package 'php-twig-inky-extra' is not installed, so not removed1122: Package 'php-twig-intl-extra' is not installed, so not removed1123: Package 'php-twig-markdown-extra' is not installed, so not removed1124: Package 'php-twig-string-extra' is not installed, so not removed1125: Package 'php8.3-uopz' is not installed, so not removed1126: Package 'php-uopz-all-dev' is not installed, so not removed1127: Package 'php8.3-uploadprogress' is not installed, so not removed1128: Package 'php-uploadprogress-all-dev' is not installed, so not removed1129: Package 'php8.3-uuid' is not installed, so not removed1130: Package 'php-uuid-all-dev' is not installed, so not removed1131: Package 'php-validate' is not installed, so not removed1132: Package 'php-vlucas-phpdotenv' is not installed, so not removed1133: Package 'php-voku-portable-ascii' is not installed, so not removed1134: Package 'php-wmerrors' is not installed, so not removed1135: Package 'php-xdebug-all-dev' is not installed, so not removed
...
1761: (20:14:53) �[32mLoading:�[0m 2 packages loaded1762: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image distributor-image: https://github.com/bazel-contrib/rules_oci/issues/2201763: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image event-bus-image: https://github.com/bazel-contrib/rules_oci/issues/2201764: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image router-image: https://github.com/bazel-contrib/rules_oci/issues/2201765: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image session-map-image: https://github.com/bazel-contrib/rules_oci/issues/2201766: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image session-queue-image: https://github.com/bazel-contrib/rules_oci/issues/2201767: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image chrome-node: https://github.com/bazel-contrib/rules_oci/issues/2201768: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image firefox-node: https://github.com/bazel-contrib/rules_oci/issues/2201769: (20:14:58) �[32mLoading:�[0m 243 packages loaded1770: currently loading: javascript/atoms ... (11 packages)1771: (20:15:02) �[32mAnalyzing:�[0m 2438 targets (254 packages loaded, 0 targets configured)1772: (20:15:02) �[32mAnalyzing:�[0m 2438 targets (254 packages loaded, 0 targets configured)1773: (20:15:08) �[32mAnalyzing:�[0m 2438 targets (420 packages loaded, 61 targets configured)1774: (20:15:10) �[33mDEBUG: �[0m/home/runner/.bazel/external/rules_jvm_external+/private/extensions/maven.bzl:295:14: WARNING: The following maven modules appear in multiple sub-modules with potentially different versions. Consider adding one of these to your root module to ensure consistent versions:1775: com.google.code.findbugs:jsr3051776: com.google.errorprone:error_prone_annotations1777: com.google.guava:guava (versions: 30.1.1-jre, 31.0.1-android)
...
1804: (20:16:09) �[32mAnalyzing:�[0m 2438 targets (1650 packages loaded, 49706 targets configured)1805: �[32m[740 / 841]�[0m 29 / 74 tests;�[0m checking cached actions1806: (20:16:14) �[32mAnalyzing:�[0m 2438 targets (1656 packages loaded, 49798 targets configured)1807: �[32m[740 / 841]�[0m 29 / 74 tests;�[0m checking cached actions1808: (20:16:15) �[32mINFO: �[0mFrom Building external/contrib_rules_jvm+/java/src/com/github/bazel_contrib/contrib_rules_jvm/junit5/libjunit5-compile-class.jar (19 source files):1809: warning: [options] source value 8 is obsolete and will be removed in a future release1810: warning: [options] target value 8 is obsolete and will be removed in a future release1811: warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.1812: (20:16:17) �[35mWARNING: �[0m/home/runner/.bazel/external/io_bazel_rules_closure/java/com/google/javascript/jscomp/BUILD:19:13: in java_library rule @@io_bazel_rules_closure//java/com/google/javascript/jscomp:jscomp: target '@@io_bazel_rules_closure//java/com/google/javascript/jscomp:jscomp' depends on deprecated target '@@io_bazel_rules_closure//java/io/bazel/rules/closure:build_info_java_proto': Use java_proto_library from com_google_protobuf1813: (20:16:17) �[33mDEBUG: �[0m/home/runner/.bazel/external/io_bazel_rules_closure/closure/compiler/closure_js_deps.bzl:38:10: closure_js_deps() and deps.js files are deprecated. Please remove your closure_js_deps rules and, if needed, use the google-closure-deps npm module with bazelbuild/rules_nodejs to generate deps.js files.1814: (20:16:18) �[33mDEBUG: �[0m/home/runner/.bazel/external/io_bazel_rules_closure/closure/compiler/closure_js_deps.bzl:38:10: closure_js_deps() and deps.js files are deprecated. Please remove your closure_js_deps rules and, if needed, use the google-closure-deps npm module with bazelbuild/rules_nodejs to generate deps.js files.1815: (20:16:18) �[33mDEBUG: �[0m/home/runner/.bazel/external/io_bazel_rules_closure/closure/compiler/closure_js_deps.bzl:38:10: closure_js_deps() and deps.js files are deprecated. Please remove your closure_js_deps rules and, if needed, use the google-closure-deps npm module with bazelbuild/rules_nodejs to generate deps.js files.1816: (20:16:19) �[32mAnalyzing:�[0m 2438 targets (1706 packages loaded, 56785 targets configured)1817: �[32m[1,791 / 2,508]�[0m 81 / 91 tests;�[0m Creating source manifest for //rb/spec/integration/selenium/webdriver/bidi:script-firefox-beta-bidi; 0s local ... (6 actions, 4 running)1818: (20:16:20) �[32mINFO: �[0mFrom Building java/src/org/openqa/selenium/remote/libapi-class.jar (63 source files):1819: java/src/org/openqa/selenium/remote/ErrorHandler.java:46: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1820: private final ErrorCodes errorCodes;1821: ^1822: java/src/org/openqa/selenium/remote/ErrorHandler.java:60: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1823: this.errorCodes = new ErrorCodes();1824: ^1825: java/src/org/openqa/selenium/remote/ErrorHandler.java:68: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1826: public ErrorHandler(ErrorCodes codes, boolean includeServerErrors) {1827: ^1828: java/src/org/openqa/selenium/remote/Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1829: ErrorCodes errorCodes = new ErrorCodes();1830: ^1831: java/src/org/openqa/selenium/remote/Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1832: ErrorCodes errorCodes = new ErrorCodes();1833: ^1834: java/src/org/openqa/selenium/remote/ProtocolHandshake.java:181: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1835: response.setStatus(ErrorCodes.SUCCESS);1836: ^1837: java/src/org/openqa/selenium/remote/ProtocolHandshake.java:182: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1838: response.setState(ErrorCodes.SUCCESS_STRING);1839: ^1840: java/src/org/openqa/selenium/remote/W3CHandshakeResponse.java:53: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1841: new ErrorCodes().toStatus((String) rawError, Optional.of(tuple.getStatusCode())));1842: ^1843: java/src/org/openqa/selenium/remote/W3CHandshakeResponse.java:56: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1844: new ErrorCodes().getExceptionType((String) rawError);1845: ^1846: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:44: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1847: private final ErrorCodes errorCodes = new ErrorCodes();1848: ^1849: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:44: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1850: private final ErrorCodes errorCodes = new ErrorCodes();1851: ^1852: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:55: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1853: int status = response.getStatus() == ErrorCodes.SUCCESS ? HTTP_OK : HTTP_INTERNAL_ERROR;1854: ^1855: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:101: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1856: response.setStatus(ErrorCodes.UNKNOWN_COMMAND);1857: ^1858: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:103: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1859: response.setStatus(ErrorCodes.UNHANDLED_ERROR);1860: ^1861: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:117: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1862: response.setStatus(ErrorCodes.SUCCESS);1863: ^1864: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:118: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1865: response.setState(errorCodes.toState(ErrorCodes.SUCCESS));1866: ^1867: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:124: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1868: response.setState(errorCodes.toState(ErrorCodes.SUCCESS));1869: ^1870: 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 removal1871: private final ErrorCodes errorCodes = new ErrorCodes();1872: ^1873: 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 removal1874: private final ErrorCodes errorCodes = new ErrorCodes();1875: ^1876: 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 removal1877: response.setStatus(ErrorCodes.UNKNOWN_COMMAND);1878: ^1879: 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 removal1880: response.setStatus(ErrorCodes.UNHANDLED_ERROR);1881: ^1882: 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 removal1883: response.setStatus(ErrorCodes.SUCCESS);1884: ^
...
1889: (20:16:24) �[32mAnalyzing:�[0m 2438 targets (1709 packages loaded, 61320 targets configured)1890: �[32m[3,408 / 4,512]�[0m 81 / 379 tests;�[0m Creating source manifest for //java/test/org/openqa/selenium/bidi/webextension:WebExtensionTest; 0s local ... (36 actions, 22 running)1891: (20:16:28) �[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/test1892: (20:16:28) �[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/test1893: (20:16:28) �[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/test1894: (20:16:28) �[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/test1895: (20:16:28) �[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/test1896: (20:16:28) �[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/test1897: (20:16:28) �[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/test1898: (20:16:28) �[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/test1899: (20:16:28) �[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/test1900: (20:16:28) �[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/test1901: (20:16:28) �[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/test1902: (20:16:28) �[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/test1903: (20:16:28) �[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/test1904: (20:16:28) �[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/test1905: (20:16:28) �[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
...
2158: �[32m[9,793 / 12,228]�[0m 151 / 1994 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver:action_builder-firefox; 4s ... (50 actions, 0 running)2159: (20:17:15) �[32mAnalyzing:�[0m 2438 targets (1747 packages loaded, 69239 targets configured)2160: �[32m[10,196 / 12,733]�[0m 218 / 2153 tests;�[0m [Prepa] Testing //javascript/selenium-webdriver:test-logging-test.js-chrome ... (50 actions, 13 running)2161: (20:17:20) �[32mAnalyzing:�[0m 2438 targets (1747 packages loaded, 69352 targets configured)2162: �[32m[11,183 / 13,296]�[0m 289 / 2266 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver/firefox:profile-firefox ... (49 actions, 3 running)2163: (20:17:25) �[32mAnalyzing:�[0m 2438 targets (1747 packages loaded, 69468 targets configured)2164: �[32m[11,730 / 13,892]�[0m 353 / 2382 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver:navigation-edge-bidi ... (48 actions, 2 running)2165: (20:17:27) �[32mINFO: �[0mAnalyzed 2438 targets (1748 packages loaded, 69586 targets configured).2166: (20:17:30) �[32m[12,790 / 14,806]�[0m 428 / 2438 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver/remote:element-chrome-beta ... (45 actions, 12 running)2167: (20:17:31) �[32mINFO: �[0mFrom Compiling Rust bin cargo_toml_variable_extractor (1 files) [for tool]:2168: �[0m�[1m�[33mwarning�[0m�[0m�[1m: the gold linker is deprecated and has known bugs with Rust�[0m2169: �[0m �[0m�[0m�[1m�[38;5;12m|�[0m2170: �[0m �[0m�[0m�[1m�[38;5;12m= �[0m�[0m�[1mhelp�[0m�[0m: consider using LLD or ld from GNU binutils instead�[0m2171: �[0m�[1m�[33mwarning�[0m�[0m�[1m: 1 warning emitted�[0m2172: (20:17:31) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/libsmall-tests-test-lib.jar (5 source files) and running annotation processors (AutoServiceProcessor):2173: java/test/org/openqa/selenium/remote/WebDriverFixture.java:170: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2174: response.setStatus(new ErrorCodes().toStatus(state, Optional.of(400)));2175: ^2176: (20:17:32) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/RemotableByTest.jar (1 source file) and running annotation processors (AutoServiceProcessor):2177: java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2178: import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;2179: ^2180: java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2181: import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;2182: ^2183: java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2184: import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;2185: ^2186: java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2187: private final ErrorCodes errorCodes = new ErrorCodes();2188: ^2189: java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2190: private final ErrorCodes errorCodes = new ErrorCodes();2191: ^2192: java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2193: private final ErrorCodes errorCodes = new ErrorCodes();2194: ^2195: java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2196: private final ErrorCodes errorCodes = new ErrorCodes();2197: ^2198: (20:17:32) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/ErrorHandlerTest.jar (1 source file) and running annotation processors (AutoServiceProcessor):2199: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:79: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2200: handler.throwIfResponseFailed(createResponse(ErrorCodes.SUCCESS), 100);2201: ^2202: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:85: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2203: assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_WINDOW, NoSuchWindowException.class);2204: ^2205: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:86: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2206: assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_FRAME, NoSuchFrameException.class);2207: ^2208: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:87: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2209: assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_ELEMENT, NoSuchElementException.class);2210: ^2211: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:88: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2212: assertThrowsCorrectExceptionType(ErrorCodes.UNKNOWN_COMMAND, UnsupportedCommandException.class);2213: ^2214: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:90: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2215: ErrorCodes.METHOD_NOT_ALLOWED, UnsupportedCommandException.class);2216: ^2217: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:92: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2218: ErrorCodes.STALE_ELEMENT_REFERENCE, StaleElementReferenceException.class);2219: ^2220: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:94: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2221: ErrorCodes.INVALID_ELEMENT_STATE, InvalidElementStateException.class);2222: ^2223: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:95: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2224: assertThrowsCorrectExceptionType(ErrorCodes.XPATH_LOOKUP_ERROR, InvalidSelectorException.class);2225: ^2226: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:107: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2227: Response response = createResponse(ErrorCodes.UNHANDLED_ERROR);2228: ^2229: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:120: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2230: createResponse(ErrorCodes.UNHANDLED_ERROR, "boom"), 123))2231: ^2232: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:133: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2233: createResponse(ErrorCodes.UNHANDLED_ERROR, ImmutableMap.of("message", "boom")),2234: ^2235: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:147: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2236: ErrorCodes.UNHANDLED_ERROR,2237: ^2238: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:167: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2239: ErrorCodes.UNHANDLED_ERROR,2240: ^2241: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:193: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2242: createResponse(ErrorCodes.UNHANDLED_ERROR, toMap(serverError)), 123))2243: ^2244: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:214: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2245: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2246: ^2247: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:248: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2248: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2249: ^2250: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:280: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2251: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2252: ^2253: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:308: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2254: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2255: ^2256: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:327: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2257: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2258: ^2259: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:355: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2260: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2261: ^2262: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:394: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2263: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2264: ^2265: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:426: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2266: createResponse(ErrorCodes.UNHANDLED_ERROR, toMap(serverError)), 123))2267: ^2268: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:435: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2269: exceptions.put(ErrorCodes.NO_SUCH_SESSION, NoSuchSessionException.class);2270: ^2271: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:436: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2272: exceptions.put(ErrorCodes.NO_SUCH_ELEMENT, NoSuchElementException.class);2273: ^2274: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:437: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2275: exceptions.put(ErrorCodes.NO_SUCH_FRAME, NoSuchFrameException.class);2276: ^2277: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:438: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2278: exceptions.put(ErrorCodes.UNKNOWN_COMMAND, UnsupportedCommandException.class);2279: ^2280: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:439: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2281: exceptions.put(ErrorCodes.STALE_ELEMENT_REFERENCE, StaleElementReferenceException.class);2282: ^2283: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:440: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2284: exceptions.put(ErrorCodes.INVALID_ELEMENT_STATE, InvalidElementStateException.class);2285: ^2286: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:441: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2287: exceptions.put(ErrorCodes.UNHANDLED_ERROR, WebDriverException.class);2288: ^2289: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:442: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2290: exceptions.put(ErrorCodes.JAVASCRIPT_ERROR, JavascriptException.class);2291: ^2292: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:443: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2293: exceptions.put(ErrorCodes.XPATH_LOOKUP_ERROR, InvalidSelectorException.class);2294: ^2295: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:444: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2296: exceptions.put(ErrorCodes.TIMEOUT, TimeoutException.class);2297: ^2298: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:445: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2299: exceptions.put(ErrorCodes.NO_SUCH_WINDOW, NoSuchWindowException.class);2300: ^2301: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:446: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2302: exceptions.put(ErrorCodes.INVALID_COOKIE_DOMAIN, InvalidCookieDomainException.class);2303: ^2304: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:447: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2305: exceptions.put(ErrorCodes.UNABLE_TO_SET_COOKIE, UnableToSetCookieException.class);2306: ^2307: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:448: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2308: exceptions.put(ErrorCodes.UNEXPECTED_ALERT_PRESENT, UnhandledAlertException.class);2309: ^2310: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:449: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2311: exceptions.put(ErrorCodes.NO_ALERT_PRESENT, NoAlertPresentException.class);2312: ^2313: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:450: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2314: exceptions.put(ErrorCodes.ASYNC_SCRIPT_TIMEOUT, ScriptTimeoutException.class);2315: ^2316: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:451: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2317: exceptions.put(ErrorCodes.INVALID_SELECTOR_ERROR, InvalidSelectorException.class);2318: ^2319: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:452: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2320: exceptions.put(ErrorCodes.SESSION_NOT_CREATED, SessionNotCreatedException.class);2321: ^2322: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:453: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2323: exceptions.put(ErrorCodes.MOVE_TARGET_OUT_OF_BOUNDS, MoveTargetOutOfBoundsException.class);2324: ^2325: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:454: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2326: exceptions.put(ErrorCodes.INVALID_XPATH_SELECTOR, InvalidSelectorException.class);2327: ^2328: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:455: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2329: exceptions.put(ErrorCodes.INVALID_XPATH_SELECTOR_RETURN_TYPER, InvalidSelectorException.class);2330: ^2331: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:469: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2332: ? ErrorCodes.INVALID_SELECTOR_ERROR2333: ^2334: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:471: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2335: assertThat(new ErrorCodes().toStatusCode(e)).isEqualTo(expected);2336: ^2337: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:483: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2338: response.setState(new ErrorCodes().toState(status));2339: ^2340: (20:17:33) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.jar (1 source file):2341: 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 removal2342: import static org.openqa.selenium.remote.ErrorCodes.METHOD_NOT_ALLOWED;2343: ^2344: 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 removal2345: assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.SUCCESS);2346: ^2347: 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 removal2348: assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.UNHANDLED_ERROR);2349: ^2350: 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 removal2351: assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.UNHANDLED_ERROR);2352: ^2353: (20:17:33) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/json/JsonTest.jar (1 source file):2354: java/test/org/openqa/selenium/json/JsonTest.java:430: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2355: assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(0));2356: ^2357: java/test/org/openqa/selenium/json/JsonTest.java:441: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2358: assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(0));2359: ^2360: java/test/org/openqa/selenium/json/JsonTest.java:454: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2361: assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(32));2362: ^
...
2553: (20:22:04) �[32m[17,347 / 17,349]�[0m 2346 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 215s remote, remote-cache ... (2 actions running)2554: (20:22:11) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 223s remote, remote-cache2555: (20:22:17) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 229s remote, remote-cache2556: (20:22:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 259s remote, remote-cache2557: (20:23:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 319s remote, remote-cache2558: (20:24:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 379s remote, remote-cache2559: (20:25:01) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 393s remote, remote-cache2560: (20:25:02) �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi/test_attempts/attempt_1.log)2561: (20:25:06) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 398s remote, remote-cache2562: (20:25:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 439s remote, remote-cache2563: (20:26:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 499s remote, remote-cache2564: (20:27:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 559s remote, remote-cache2565: (20:28:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 619s remote, remote-cache2566: (20:29:24) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 655s remote, remote-cache2567: (20:29:24) �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi/test.log)2568: �[31m�[1mFAILED: �[0m//rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi (Summary)2569: /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi/test.log
...
2576: driver: remote2577: version: stable2578: platform: linux2579: ci: github2580: rbe: true2581: ruby: jruby 10.0.0.0 (3.4.2) 2025-04-13 6ed59bc847 OpenJDK 64-Bit Server VM 21.0.4+7-LTS on 21.0.4+7-LTS [x86_64-linux]2582: Selenium::WebDriver::Network2583: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/handshake/base.rb:40: warning: previous definition of to_s was here2584: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/handshake/base.rb:53: warning: previous definition of valid? was here2585: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/handshake/client.rb:57: warning: previous definition of initialize was here2586: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/handshake/client.rb:90: warning: previous definition of << was here2587: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/frame/base.rb:19: warning: previous definition of initialize was here2588: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/frame/outgoing.rb:28: warning: previous definition of to_s was here2589: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/frame/incoming.rb:40: warning: previous definition of next was here2590: adds an auth handler2591: adds an auth handler with a filter (FAILED - 1)2592: adds an auth handler with multiple filters2593: adds an auth handler with a pattern type2594: removes an auth handler (FAILED - 2)2595: clears all auth handlers2596: continues without auth2597: cancels auth2598: adds a request handler2599: adds a request handler with a filter2600: adds a request handler with multiple filters2601: adds a request handler with a pattern type2602: adds a request handler with attributes (FAILED - 3)2603: fails a request2604: removes a request handler2605: clears all request handlers2606: adds a response handler2607: adds a response handler with a filter2608: adds a response handler with multiple filters2609: adds a response handler with a pattern type2610: adds a response handler with attributes2611: adds an auth handler (FAILED - 4)2612: adds an auth handler with a filter (FAILED - 5)2613: adds an auth handler with multiple filters (FAILED - 6)2614: adds an auth handler with a pattern type (FAILED - 7)2615: removes an auth handler (FAILED - 8)2616: clears all auth handlers (FAILED - 9)2617: continues without auth (FAILED - 10)2618: cancels auth (FAILED - 11)2619: adds a request handler (FAILED - 12)2620: adds a request handler with a filter (FAILED - 13)2621: adds a request handler with multiple filters (FAILED - 14)2622: adds a request handler with a pattern type (FAILED - 15)2623: adds a request handler with attributes (FAILED - 16)2624: fails a request (FAILED - 17)2625: removes a request handler (FAILED - 18)2626: clears all request handlers (FAILED - 19)2627: adds a response handler (FAILED - 20)2628: Failures:2629: 1) Selenium::WebDriver::Network adds an auth handler with a filter2630: Got 0 failures and 2 other errors:2631: 1.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2632: IOError:2633: stream closed in another thread2634: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2635: 1.2) Failure/Error:2636: reset_driver!(web_socket_url: true) do |driver|2637: network = described_class.new(driver)2638: network.add_response_handler do |response|2639: response.status = 2002640: response.headers['foo'] = 'bar'2641: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2642: response.provide_response2643: end2644: driver.navigate.to url_for('formPage.html')2645: source = driver.page_source2646: IOError:2647: stream closed in another thread2648: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2649: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2650: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2651: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2652: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2653: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2654: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2655: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2656: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2657: 2) Selenium::WebDriver::Network removes an auth handler2658: Got 0 failures and 2 other errors:2659: 2.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2660: IOError:2661: stream closed in another thread2662: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2663: 2.2) Failure/Error:2664: reset_driver!(web_socket_url: true) do |driver|2665: network = described_class.new(driver)2666: network.add_response_handler do |response|2667: response.status = 2002668: response.headers['foo'] = 'bar'2669: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2670: response.provide_response2671: end2672: driver.navigate.to url_for('formPage.html')2673: source = driver.page_source2674: IOError:2675: stream closed in another thread2676: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2677: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2678: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2679: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2680: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2681: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2682: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2683: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2684: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2685: 3) Selenium::WebDriver::Network adds a request handler with attributes2686: Got 0 failures and 2 other errors:2687: 3.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2688: IOError:2689: stream closed in another thread2690: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2691: 3.2) Failure/Error:2692: reset_driver!(web_socket_url: true) do |driver|2693: network = described_class.new(driver)2694: network.add_response_handler do |response|2695: response.status = 2002696: response.headers['foo'] = 'bar'2697: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2698: response.provide_response2699: end2700: driver.navigate.to url_for('formPage.html')2701: source = driver.page_source2702: IOError:2703: stream closed in another thread2704: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2705: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2706: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2707: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2708: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2709: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2710: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2711: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2712: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2713: 4) Selenium::WebDriver::Network adds an auth handler2714: Failure/Error:2715: reset_driver!(web_socket_url: true) do |driver|2716: network = described_class.new(driver)2717: network.add_response_handler do |response|2718: response.status = 2002719: response.headers['foo'] = 'bar'2720: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2721: response.provide_response2722: end2723: driver.navigate.to url_for('formPage.html')2724: source = driver.page_source2725: IOError:2726: stream closed in another thread2727: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2728: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2729: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2730: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2731: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2732: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2733: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2734: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2735: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2736: 5) Selenium::WebDriver::Network adds an auth handler with a filter2737: Got 0 failures and 2 other errors:2738: 5.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2739: IOError:2740: stream closed in another thread2741: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2742: 5.2) Failure/Error:2743: reset_driver!(web_socket_url: true) do |driver|2744: network = described_class.new(driver)2745: network.add_response_handler do |response|2746: response.status = 2002747: response.headers['foo'] = 'bar'2748: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2749: response.provide_response2750: end2751: driver.navigate.to url_for('formPage.html')2752: source = driver.page_source2753: IOError:2754: stream closed in another thread2755: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2756: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2757: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2758: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2759: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2760: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2761: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2762: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2763: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2764: 6) Selenium::WebDriver::Network adds an auth handler with multiple filters2765: Failure/Error:2766: reset_driver!(web_socket_url: true) do |driver|2767: network = described_class.new(driver)2768: network.add_response_handler do |response|2769: response.status = 2002770: response.headers['foo'] = 'bar'2771: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2772: response.provide_response2773: end2774: driver.navigate.to url_for('formPage.html')2775: source = driver.page_source2776: IOError:2777: stream closed in another thread2778: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2779: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2780: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2781: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2782: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2783: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2784: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2785: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2786: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2787: 7) Selenium::WebDriver::Network adds an auth handler with a pattern type2788: Failure/Error:2789: reset_driver!(web_socket_url: true) do |driver|2790: network = described_class.new(driver)2791: network.add_response_handler do |response|2792: response.status = 2002793: response.headers['foo'] = 'bar'2794: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2795: response.provide_response2796: end2797: driver.navigate.to url_for('formPage.html')2798: source = driver.page_source2799: IOError:2800: stream closed in another thread2801: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2802: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2803: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2804: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2805: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2806: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2807: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2808: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2809: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2810: 8) Selenium::WebDriver::Network removes an auth handler2811: Got 0 failures and 2 other errors:2812: 8.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2813: IOError:2814: stream closed in another thread2815: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2816: 8.2) Failure/Error:2817: reset_driver!(web_socket_url: true) do |driver|2818: network = described_class.new(driver)2819: network.add_response_handler do |response|2820: response.status = 2002821: response.headers['foo'] = 'bar'2822: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2823: response.provide_response2824: end2825: driver.navigate.to url_for('formPage.html')2826: source = driver.page_source2827: IOError:2828: stream closed in another thread2829: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2830: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2831: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2832: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2833: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2834: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2835: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2836: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2837: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2838: 9) Selenium::WebDriver::Network clears all auth handlers2839: Failure/Error:2840: reset_driver!(web_socket_url: true) do |driver|2841: network = described_class.new(driver)2842: network.add_response_handler do |response|2843: response.status = 2002844: response.headers['foo'] = 'bar'2845: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2846: response.provide_response2847: end2848: driver.navigate.to url_for('formPage.html')2849: source = driver.page_source2850: IOError:2851: stream closed in another thread2852: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2853: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2854: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2855: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2856: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2857: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2858: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2859: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2860: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2861: 10) Selenium::WebDriver::Network continues without auth2862: Failure/Error:2863: reset_driver!(web_socket_url: true) do |driver|2864: network = described_class.new(driver)2865: network.add_response_handler do |response|2866: response.status = 2002867: response.headers['foo'] = 'bar'2868: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2869: response.provide_response2870: end2871: driver.navigate.to url_for('formPage.html')2872: source = driver.page_source2873: IOError:2874: stream closed in another thread2875: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2876: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2877: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2878: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2879: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2880: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2881: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2882: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2883: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2884: 11) Selenium::WebDriver::Network cancels auth2885: Failure/Error:2886: reset_driver!(web_socket_url: true) do |driver|2887: network = described_class.new(driver)2888: network.add_response_handler do |response|2889: response.status = 2002890: response.headers['foo'] = 'bar'2891: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2892: response.provide_response2893: end2894: driver.navigate.to url_for('formPage.html')2895: source = driver.page_source2896: IOError:2897: stream closed in another thread2898: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2899: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2900: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2901: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2902: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2903: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2904: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2905: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2906: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2907: 12) Selenium::WebDriver::Network adds a request handler2908: Failure/Error:2909: reset_driver!(web_socket_url: true) do |driver|2910: network = described_class.new(driver)2911: network.add_response_handler do |response|2912: response.status = 2002913: response.headers['foo'] = 'bar'2914: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2915: response.provide_response2916: end2917: driver.navigate.to url_for('formPage.html')2918: source = driver.page_source2919: IOError:2920: stream closed in another thread2921: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2922: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2923: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2924: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2925: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2926: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2927: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2928: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2929: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2930: 13) Selenium::WebDriver::Network adds a request handler with a filter2931: Failure/Error:2932: reset_driver!(web_socket_url: true) do |driver|2933: network = described_class.new(driver)2934: network.add_response_handler do |response|2935: response.status = 2002936: response.headers['foo'] = 'bar'2937: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2938: response.provide_response2939: end2940: driver.navigate.to url_for('formPage.html')2941: source = driver.page_source2942: IOError:2943: stream closed in another thread2944: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2945: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2946: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2947: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2948: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2949: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2950: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2951: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2952: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2953: 14) Selenium::WebDriver::Network adds a request handler with multiple filters2954: Failure/Error:2955: reset_driver!(web_socket_url: true) do |driver|2956: network = described_class.new(driver)2957: network.add_response_handler do |response|2958: response.status = 2002959: response.headers['foo'] = 'bar'2960: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2961: respo...

@titusfortner

Copy link
Copy Markdown
MemberAuthor

I think these new remote-bidi failures are flaky and will be fixed by #16487
Rerun tests after that is merged.

@titusfortner
titusfortner marked this pull request as draft October 24, 2025 14:58
@titusfortner

Copy link
Copy Markdown
MemberAuthor

Moving to draft, still needs optimizing

@github-actionsgithub-actionsBot added the J-stale Applied to issues that become stale, and eventually closed. label Apr 22, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

B-buildIncludes scripting, bazel and CI integrationsB-devtoolsIncludes everything BiDi or Chrome DevTools relatedC-rbRuby BindingsJ-staleApplied to issues that become stale, and eventually closed.Review effort 2/5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@titusfortner@p0deje@selenium-ci
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Remove or un-stick sticky/fixed headers that block content\n(function() {\n function unstick() {\n document.querySelectorAll('header, nav, [role=\"banner\"], .header, .navbar, .sticky, .fixed-top, [style*=\"position: fixed\"], [style*=\"position:sticky\"]').forEach(function(el) {\n if (el.style.position === 'fixed' || el.style.position === 'sticky' || \n getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') {\n el.style.position = 'static';\n el.style.top = 'auto';\n el.style.zIndex = 'auto';\n }\n });\n }\n \n unstick();\n \n var observer = new MutationObserver(unstick);\n observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] });\n})();", "Kill Sticky Headers"); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

[build] remove more ruby test targets that do not apply and support r… - #16484

Closed
titusfortner wants to merge 1 commit into
trunkfrom
rb_bidi_remote
Closed

[build] remove more ruby test targets that do not apply and support r…#16484
titusfortner wants to merge 1 commit into
trunkfrom
rb_bidi_remote

Conversation

@titusfortner

@titusfortnertitusfortner commented Oct 21, 2025

Copy link
Copy Markdown
Member

User description

  • Adds -bidi-remote option for each test target
  • Limits tests in bidi directory to just bidi supported browsers
  • Document these things in the README

I did not figure out how to prevent the bidi specific targets in the main webdriver directory from being added to non-supported browsers, but Ruby blocks that from running right now, so it is more housekeeping than performance speedup.
As in, these targets don't matter but will still be generated:

//rb/spec/integration/selenium/webdriver:network-ie
//rb/spec/integration/selenium/webdriver:network-ie-remote
//rb/spec/integration/selenium/webdriver:network-safari
//rb/spec/integration/selenium/webdriver:network-safari-preview

PR Type

Enhancement, Tests


Description

  • Adds remote-bidi test targets for BiDi-supported browsers

  • Restricts bidi tests to explicitly supported browsers via BIDI_BROWSERS

  • Expands bidi test coverage with remote execution capability

  • Updates documentation with bidi testing guidance and examples


Diagram Walkthrough

flowchart LR
A["BIDI_BROWSERS<br/>defined"] -->|filters| B["bidi test<br/>generation"]
B -->|creates| C["local-bidi<br/>targets"]
B -->|creates| D["remote-bidi<br/>targets"]
E["rb_integration_test<br/>function"] -->|checks| A
E -->|generates| C
E -->|generates| D
Loading

File Walkthrough

Relevant files
Enhancement
tests.bzl
Add bidi browser filtering and remote-bidi test targets

rb/spec/tests.bzl

  • Defines BIDI_BROWSERS constant listing supported browsers for bidi
    testing
  • Adds condition to restrict bidi test generation to browsers in
    BIDI_BROWSERS
  • Generates new remote-bidi test targets alongside existing bidi targets
  • Configures remote-bidi targets with proper environment variables and
    dependencies
+35/-1
BUILD.bazel
Restrict bidi tests to supported browsers

rb/spec/integration/selenium/webdriver/bidi/BUILD.bazel

  • Imports BIDI_BROWSERS constant from tests.bzl
  • Restricts bidi integration tests to only supported browsers via
    browsers parameter
+2/-1
Documentation
README.md
Document bidi testing and remote-bidi test targets

README.md

  • Adds documentation for running bidi-specific tests with
    --test_tag_filters bidi
  • Explains dynamic test target generation and BiDi protocol importance
  • Updates test target examples to include bidi and remote-bidi variants
  • Documents WEBDRIVER_BIDI environment variable for enabling web socket
    URLs
  • Adds chrome-beta to supported browsers list
+18/-11

@selenium-ciselenium-ci added C-rb Ruby Bindings B-build Includes scripting, bazel and CI integrations B-devtools Includes everything BiDi or Chrome DevTools related labels Oct 21, 2025
@qodo-code-review

Copy link
Copy Markdown
Contributor

PR Compliance Guide 🔍

Below is a summary of compliance checks for this PR:

Security Compliance
🟢
No security concerns identified No security vulnerabilities detected by AI analysis. Human verification advised for critical code.
Ticket Compliance
🎫 No ticket provided
- [ ] Create ticket/issue <!-- /create_ticket --create_ticket=true -->
</details></td></tr>
Codebase Duplication Compliance
Codebase context is not defined

Follow the guide to enable codebase context checks.

Custom Compliance
No custom compliance provided

Follow the guide to enable custom compliance check.

Compliance status legend 🟢 - Fully Compliant
🟡 - Partial Compliant
🔴 - Not Compliant
⚪ - Requires Further Human Verification
🏷️ - Compliance label

@qodo-code-review

Copy link
Copy Markdown
Contributor

PR Code Suggestions ✨

Explore these optional code suggestions:

CategorySuggestion Impact
Possible issue
Add missing remote browser environment variable

Add the missing WD_REMOTE_BROWSER environment variable to the remote-bidi test
target to specify the browser for remote execution.

rb/spec/tests.bzl [244-269]

 + rb_test(
+ name = "{}-{}-remote-bidi".format(name, browser),
+ size = "large",
+ srcs = srcs,
+ args = ["rb/spec/"],
+ data = BROWSERS[browser]["data"] + data + [
+ "//common/src/web",
+ "//java/src/org/openqa/selenium/grid:selenium_server_deploy.jar",
+ "//rb/spec:java-location",
+ "@bazel_tools//tools/jdk:current_java_runtime",
+ ],
+ env = BROWSERS[browser]["env"] | {
+ "WD_BAZEL_JAVA_LOCATION": "$(rootpath //rb/spec:java-location)",
+ "WD_SPEC_DRIVER": "remote",
++ "WD_REMOTE_BROWSER": browser,
+ "WEBDRIVER_BIDI": "true",
+ },
+ main = "@bundle//bin:rspec",
+ tags = COMMON_TAGS + BROWSERS[browser]["tags"] + tags + ["{}-remote-bidi".format(browser)],
+ deps = depset(
+ ["//rb/spec/integration/selenium/webdriver:spec_helper", "//rb/lib/selenium/webdriver:bidi"] +
+ BROWSERS[browser]["deps"] +
+ deps,
+ ),
+ visibility = ["//rb:__subpackages__"],
+ target_compatible_with = BROWSERS[browser]["target_compatible_with"],
+ )

[To ensure code accuracy, apply this suggestion manually]

Suggestion importance[1-10]: 9

__

Why: The suggestion correctly identifies that the WD_REMOTE_BROWSER environment variable is missing for the new remote-bidi test target, which would cause these tests to fail.

High
High-level
Refactor build logic to reduce duplication

To reduce code duplication in rb/spec/tests.bzl, refactor the build logic by
creating a helper function. This function would generate remote test targets and
accept parameters for BiDi-specific configurations, consolidating the similar
logic for 'remote' and 'remote-bidi' targets.

Examples:

rb/spec/tests.bzl [226-269]
if"bidi"intagsandbrowserinBIDI_BROWSERS:
rb_test(
name="{}-{}-bidi".format(name, browser),
size="large",
srcs=srcs,
args= ["rb/spec/"],
data=BROWSERS[browser]["data"] +data+ ["//common/src/web"],
env=BROWSERS[browser]["env"] | {"WEBDRIVER_BIDI": "true"},
main="@bundle//bin:rspec",
tags=COMMON_TAGS+BROWSERS[browser]["tags"] +tags+ ["{}-bidi".format(browser)],
... (clipped34lines)

Solution Walkthrough:

Before:

# in rb/spec/tests.bzl within rb_integration_testif"bidi"intagsandbrowserinBIDI_BROWSERS:
# local bidi testrb_test(
name="{}-{}-bidi".format(name, browser),
env= {"WEBDRIVER_BIDI": "true"},
tags=tags+ ["{}-bidi".format(browser)],
deps=deps+ ["//rb/lib/selenium/webdriver:bidi"],
...
)
# remote bidi test (newly added, very similar to existing remote tests)rb_test(
name="{}-{}-remote-bidi".format(name, browser),
data=data+ ["//.../selenium_server_deploy.jar", ...],
env= {"WD_SPEC_DRIVER": "remote", "WEBDRIVER_BIDI": "true", ...},
tags=tags+ ["{}-remote-bidi".format(browser)],
deps=deps+ ["//rb/lib/selenium/webdriver:bidi"],
...
)

After:

# in rb/spec/tests.bzldef_create_bidi_test(name, browser, srcs, tags, deps, data, is_remote=False):
remote_suffix="-remote"ifis_remoteelse""env= {"WEBDRIVER_BIDI": "true"}
ifis_remote:
env["WD_SPEC_DRIVER"] ="remote"# ... other remote env varsdata+= ["//.../selenium_server_deploy.jar", ...]
rb_test(
name="{}-{}-bidi{}".format(name, browser, remote_suffix),
env=env,
data=data,
...
)
# in rb/spec/tests.bzl within rb_integration_testif"bidi"intagsandbrowserinBIDI_BROWSERS:
_create_bidi_test(..., is_remote=False)
_create_bidi_test(..., is_remote=True)
Suggestion importance[1-10]: 7

__

Why: The suggestion correctly identifies significant code duplication in the Bazel build file rb/spec/tests.bzl and proposes a valid refactoring that would improve long-term maintainability.

Medium
Learned
best practice
Validate BIDI browser list

Guard against unsupported browsers by asserting that every entry in
BIDI_BROWSERS exists in BROWSERS to prevent misconfiguration and hard-to-debug
build failures.

rb/spec/tests.bzl [12-269]

 BIDI_BROWSERS = [
"chrome",
"chrome-beta",
"edge",
"firefox",
"firefox-beta",
]
++# Validate bidi browser list against known browsers+for _b in BIDI_BROWSERS:+ if _b not in BROWSERS:+ fail("Unknown browser in BIDI_BROWSERS: {}".format(_b))+
...
- if "bidi" in tags and browser in BIDI_BROWSERS:- rb_test(- name = "{}-{}-bidi".format(name, browser),- ...- target_compatible_with = BROWSERS[browser]["target_compatible_with"],- )- rb_test(- name = "{}-{}-remote-bidi".format(name, browser),- ...- target_compatible_with = BROWSERS[browser]["target_compatible_with"],- )+if "bidi" in tags and browser in BIDI_BROWSERS:+ rb_test(+ name = "{}-{}-bidi".format(name, browser),+ ...+ target_compatible_with = BROWSERS[browser]["target_compatible_with"],+ )+ rb_test(+ name = "{}-{}-remote-bidi".format(name, browser),+ ...+ target_compatible_with = BROWSERS[browser]["target_compatible_with"],+ )

[To ensure code accuracy, apply this suggestion manually]

Suggestion importance[1-10]: 6

__

Why:
Relevant best practice - Validate inputs and states early to avoid generating invalid configurations or targets.

Low
  • More

@qodo-code-review

Copy link
Copy Markdown
Contributor

CI Feedback 🧐

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: //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi

Failure summary:

The action failed because the test target
//rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi consistently failed (2
attempts).
- Primary error: IOError: stream closed in another thread raised from
./rb/lib/selenium/webdriver/common/websocket_connection.rb:48 and :102 during BiDi WebSocket
operations, often while closing or attaching the socket listener.
- This caused multiple RSpec
examples in rb/spec/integration/selenium/webdriver/network_spec.rb to fail (20 failures on the
stable Firefox remote BiDi run), e.g.:
- adds an auth handler (network_spec.rb:30)
- adds an
auth handler with a filter (network_spec.rb:40)
- adds a request handler with attributes
(network_spec.rb:145)
- and others listed between lines 3122–3141 of the log.
- Additional
timeouts seen in related BiDi tests (e.g., TimeoutError on navigate) indicate unstable BiDi
communication, but the hard failure was the repeated IOError in the Firefox remote BiDi network
suite.
- Bazel summary: 2437 tests passed, 1 failed remotely; build completed with 1 test FAILED and
process exited with code 3.

Relevant error logs:
1: ##[group]Runner Image Provisioner2: Hosted Compute Agent
...
925: Package 'php-sql-formatter' is not installed, so not removed926: Package 'php8.3-ssh2' is not installed, so not removed927: Package 'php-ssh2-all-dev' is not installed, so not removed928: Package 'php8.3-stomp' is not installed, so not removed929: Package 'php-stomp-all-dev' is not installed, so not removed930: Package 'php-swiftmailer' is not installed, so not removed931: Package 'php-symfony' is not installed, so not removed932: Package 'php-symfony-asset' is not installed, so not removed933: Package 'php-symfony-asset-mapper' is not installed, so not removed934: Package 'php-symfony-browser-kit' is not installed, so not removed935: Package 'php-symfony-clock' is not installed, so not removed936: Package 'php-symfony-debug-bundle' is not installed, so not removed937: Package 'php-symfony-doctrine-bridge' is not installed, so not removed938: Package 'php-symfony-dom-crawler' is not installed, so not removed939: Package 'php-symfony-dotenv' is not installed, so not removed940: Package 'php-symfony-error-handler' is not installed, so not removed941: Package 'php-symfony-event-dispatcher' is not installed, so not removed
...
1119: Package 'php-twig-html-extra' is not installed, so not removed1120: Package 'php-twig-i18n-extension' is not installed, so not removed1121: Package 'php-twig-inky-extra' is not installed, so not removed1122: Package 'php-twig-intl-extra' is not installed, so not removed1123: Package 'php-twig-markdown-extra' is not installed, so not removed1124: Package 'php-twig-string-extra' is not installed, so not removed1125: Package 'php8.3-uopz' is not installed, so not removed1126: Package 'php-uopz-all-dev' is not installed, so not removed1127: Package 'php8.3-uploadprogress' is not installed, so not removed1128: Package 'php-uploadprogress-all-dev' is not installed, so not removed1129: Package 'php8.3-uuid' is not installed, so not removed1130: Package 'php-uuid-all-dev' is not installed, so not removed1131: Package 'php-validate' is not installed, so not removed1132: Package 'php-vlucas-phpdotenv' is not installed, so not removed1133: Package 'php-voku-portable-ascii' is not installed, so not removed1134: Package 'php-wmerrors' is not installed, so not removed1135: Package 'php-xdebug-all-dev' is not installed, so not removed
...
1761: (20:14:53) �[32mLoading:�[0m 2 packages loaded1762: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image distributor-image: https://github.com/bazel-contrib/rules_oci/issues/2201763: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image event-bus-image: https://github.com/bazel-contrib/rules_oci/issues/2201764: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image router-image: https://github.com/bazel-contrib/rules_oci/issues/2201765: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image session-map-image: https://github.com/bazel-contrib/rules_oci/issues/2201766: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image session-queue-image: https://github.com/bazel-contrib/rules_oci/issues/2201767: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image chrome-node: https://github.com/bazel-contrib/rules_oci/issues/2201768: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image firefox-node: https://github.com/bazel-contrib/rules_oci/issues/2201769: (20:14:58) �[32mLoading:�[0m 243 packages loaded1770: currently loading: javascript/atoms ... (11 packages)1771: (20:15:02) �[32mAnalyzing:�[0m 2438 targets (254 packages loaded, 0 targets configured)1772: (20:15:02) �[32mAnalyzing:�[0m 2438 targets (254 packages loaded, 0 targets configured)1773: (20:15:08) �[32mAnalyzing:�[0m 2438 targets (420 packages loaded, 61 targets configured)1774: (20:15:10) �[33mDEBUG: �[0m/home/runner/.bazel/external/rules_jvm_external+/private/extensions/maven.bzl:295:14: WARNING: The following maven modules appear in multiple sub-modules with potentially different versions. Consider adding one of these to your root module to ensure consistent versions:1775: com.google.code.findbugs:jsr3051776: com.google.errorprone:error_prone_annotations1777: com.google.guava:guava (versions: 30.1.1-jre, 31.0.1-android)
...
1804: (20:16:09) �[32mAnalyzing:�[0m 2438 targets (1650 packages loaded, 49706 targets configured)1805: �[32m[740 / 841]�[0m 29 / 74 tests;�[0m checking cached actions1806: (20:16:14) �[32mAnalyzing:�[0m 2438 targets (1656 packages loaded, 49798 targets configured)1807: �[32m[740 / 841]�[0m 29 / 74 tests;�[0m checking cached actions1808: (20:16:15) �[32mINFO: �[0mFrom Building external/contrib_rules_jvm+/java/src/com/github/bazel_contrib/contrib_rules_jvm/junit5/libjunit5-compile-class.jar (19 source files):1809: warning: [options] source value 8 is obsolete and will be removed in a future release1810: warning: [options] target value 8 is obsolete and will be removed in a future release1811: warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.1812: (20:16:17) �[35mWARNING: �[0m/home/runner/.bazel/external/io_bazel_rules_closure/java/com/google/javascript/jscomp/BUILD:19:13: in java_library rule @@io_bazel_rules_closure//java/com/google/javascript/jscomp:jscomp: target '@@io_bazel_rules_closure//java/com/google/javascript/jscomp:jscomp' depends on deprecated target '@@io_bazel_rules_closure//java/io/bazel/rules/closure:build_info_java_proto': Use java_proto_library from com_google_protobuf1813: (20:16:17) �[33mDEBUG: �[0m/home/runner/.bazel/external/io_bazel_rules_closure/closure/compiler/closure_js_deps.bzl:38:10: closure_js_deps() and deps.js files are deprecated. Please remove your closure_js_deps rules and, if needed, use the google-closure-deps npm module with bazelbuild/rules_nodejs to generate deps.js files.1814: (20:16:18) �[33mDEBUG: �[0m/home/runner/.bazel/external/io_bazel_rules_closure/closure/compiler/closure_js_deps.bzl:38:10: closure_js_deps() and deps.js files are deprecated. Please remove your closure_js_deps rules and, if needed, use the google-closure-deps npm module with bazelbuild/rules_nodejs to generate deps.js files.1815: (20:16:18) �[33mDEBUG: �[0m/home/runner/.bazel/external/io_bazel_rules_closure/closure/compiler/closure_js_deps.bzl:38:10: closure_js_deps() and deps.js files are deprecated. Please remove your closure_js_deps rules and, if needed, use the google-closure-deps npm module with bazelbuild/rules_nodejs to generate deps.js files.1816: (20:16:19) �[32mAnalyzing:�[0m 2438 targets (1706 packages loaded, 56785 targets configured)1817: �[32m[1,791 / 2,508]�[0m 81 / 91 tests;�[0m Creating source manifest for //rb/spec/integration/selenium/webdriver/bidi:script-firefox-beta-bidi; 0s local ... (6 actions, 4 running)1818: (20:16:20) �[32mINFO: �[0mFrom Building java/src/org/openqa/selenium/remote/libapi-class.jar (63 source files):1819: java/src/org/openqa/selenium/remote/ErrorHandler.java:46: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1820: private final ErrorCodes errorCodes;1821: ^1822: java/src/org/openqa/selenium/remote/ErrorHandler.java:60: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1823: this.errorCodes = new ErrorCodes();1824: ^1825: java/src/org/openqa/selenium/remote/ErrorHandler.java:68: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1826: public ErrorHandler(ErrorCodes codes, boolean includeServerErrors) {1827: ^1828: java/src/org/openqa/selenium/remote/Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1829: ErrorCodes errorCodes = new ErrorCodes();1830: ^1831: java/src/org/openqa/selenium/remote/Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1832: ErrorCodes errorCodes = new ErrorCodes();1833: ^1834: java/src/org/openqa/selenium/remote/ProtocolHandshake.java:181: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1835: response.setStatus(ErrorCodes.SUCCESS);1836: ^1837: java/src/org/openqa/selenium/remote/ProtocolHandshake.java:182: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1838: response.setState(ErrorCodes.SUCCESS_STRING);1839: ^1840: java/src/org/openqa/selenium/remote/W3CHandshakeResponse.java:53: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1841: new ErrorCodes().toStatus((String) rawError, Optional.of(tuple.getStatusCode())));1842: ^1843: java/src/org/openqa/selenium/remote/W3CHandshakeResponse.java:56: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1844: new ErrorCodes().getExceptionType((String) rawError);1845: ^1846: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:44: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1847: private final ErrorCodes errorCodes = new ErrorCodes();1848: ^1849: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:44: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1850: private final ErrorCodes errorCodes = new ErrorCodes();1851: ^1852: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:55: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1853: int status = response.getStatus() == ErrorCodes.SUCCESS ? HTTP_OK : HTTP_INTERNAL_ERROR;1854: ^1855: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:101: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1856: response.setStatus(ErrorCodes.UNKNOWN_COMMAND);1857: ^1858: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:103: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1859: response.setStatus(ErrorCodes.UNHANDLED_ERROR);1860: ^1861: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:117: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1862: response.setStatus(ErrorCodes.SUCCESS);1863: ^1864: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:118: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1865: response.setState(errorCodes.toState(ErrorCodes.SUCCESS));1866: ^1867: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:124: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1868: response.setState(errorCodes.toState(ErrorCodes.SUCCESS));1869: ^1870: 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 removal1871: private final ErrorCodes errorCodes = new ErrorCodes();1872: ^1873: 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 removal1874: private final ErrorCodes errorCodes = new ErrorCodes();1875: ^1876: 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 removal1877: response.setStatus(ErrorCodes.UNKNOWN_COMMAND);1878: ^1879: 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 removal1880: response.setStatus(ErrorCodes.UNHANDLED_ERROR);1881: ^1882: 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 removal1883: response.setStatus(ErrorCodes.SUCCESS);1884: ^
...
1889: (20:16:24) �[32mAnalyzing:�[0m 2438 targets (1709 packages loaded, 61320 targets configured)1890: �[32m[3,408 / 4,512]�[0m 81 / 379 tests;�[0m Creating source manifest for //java/test/org/openqa/selenium/bidi/webextension:WebExtensionTest; 0s local ... (36 actions, 22 running)1891: (20:16:28) �[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/test1892: (20:16:28) �[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/test1893: (20:16:28) �[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/test1894: (20:16:28) �[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/test1895: (20:16:28) �[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/test1896: (20:16:28) �[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/test1897: (20:16:28) �[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/test1898: (20:16:28) �[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/test1899: (20:16:28) �[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/test1900: (20:16:28) �[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/test1901: (20:16:28) �[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/test1902: (20:16:28) �[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/test1903: (20:16:28) �[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/test1904: (20:16:28) �[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/test1905: (20:16:28) �[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
...
2158: �[32m[9,793 / 12,228]�[0m 151 / 1994 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver:action_builder-firefox; 4s ... (50 actions, 0 running)2159: (20:17:15) �[32mAnalyzing:�[0m 2438 targets (1747 packages loaded, 69239 targets configured)2160: �[32m[10,196 / 12,733]�[0m 218 / 2153 tests;�[0m [Prepa] Testing //javascript/selenium-webdriver:test-logging-test.js-chrome ... (50 actions, 13 running)2161: (20:17:20) �[32mAnalyzing:�[0m 2438 targets (1747 packages loaded, 69352 targets configured)2162: �[32m[11,183 / 13,296]�[0m 289 / 2266 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver/firefox:profile-firefox ... (49 actions, 3 running)2163: (20:17:25) �[32mAnalyzing:�[0m 2438 targets (1747 packages loaded, 69468 targets configured)2164: �[32m[11,730 / 13,892]�[0m 353 / 2382 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver:navigation-edge-bidi ... (48 actions, 2 running)2165: (20:17:27) �[32mINFO: �[0mAnalyzed 2438 targets (1748 packages loaded, 69586 targets configured).2166: (20:17:30) �[32m[12,790 / 14,806]�[0m 428 / 2438 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver/remote:element-chrome-beta ... (45 actions, 12 running)2167: (20:17:31) �[32mINFO: �[0mFrom Compiling Rust bin cargo_toml_variable_extractor (1 files) [for tool]:2168: �[0m�[1m�[33mwarning�[0m�[0m�[1m: the gold linker is deprecated and has known bugs with Rust�[0m2169: �[0m �[0m�[0m�[1m�[38;5;12m|�[0m2170: �[0m �[0m�[0m�[1m�[38;5;12m= �[0m�[0m�[1mhelp�[0m�[0m: consider using LLD or ld from GNU binutils instead�[0m2171: �[0m�[1m�[33mwarning�[0m�[0m�[1m: 1 warning emitted�[0m2172: (20:17:31) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/libsmall-tests-test-lib.jar (5 source files) and running annotation processors (AutoServiceProcessor):2173: java/test/org/openqa/selenium/remote/WebDriverFixture.java:170: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2174: response.setStatus(new ErrorCodes().toStatus(state, Optional.of(400)));2175: ^2176: (20:17:32) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/RemotableByTest.jar (1 source file) and running annotation processors (AutoServiceProcessor):2177: java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2178: import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;2179: ^2180: java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2181: import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;2182: ^2183: java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2184: import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;2185: ^2186: java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2187: private final ErrorCodes errorCodes = new ErrorCodes();2188: ^2189: java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2190: private final ErrorCodes errorCodes = new ErrorCodes();2191: ^2192: java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2193: private final ErrorCodes errorCodes = new ErrorCodes();2194: ^2195: java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2196: private final ErrorCodes errorCodes = new ErrorCodes();2197: ^2198: (20:17:32) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/ErrorHandlerTest.jar (1 source file) and running annotation processors (AutoServiceProcessor):2199: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:79: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2200: handler.throwIfResponseFailed(createResponse(ErrorCodes.SUCCESS), 100);2201: ^2202: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:85: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2203: assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_WINDOW, NoSuchWindowException.class);2204: ^2205: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:86: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2206: assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_FRAME, NoSuchFrameException.class);2207: ^2208: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:87: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2209: assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_ELEMENT, NoSuchElementException.class);2210: ^2211: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:88: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2212: assertThrowsCorrectExceptionType(ErrorCodes.UNKNOWN_COMMAND, UnsupportedCommandException.class);2213: ^2214: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:90: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2215: ErrorCodes.METHOD_NOT_ALLOWED, UnsupportedCommandException.class);2216: ^2217: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:92: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2218: ErrorCodes.STALE_ELEMENT_REFERENCE, StaleElementReferenceException.class);2219: ^2220: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:94: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2221: ErrorCodes.INVALID_ELEMENT_STATE, InvalidElementStateException.class);2222: ^2223: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:95: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2224: assertThrowsCorrectExceptionType(ErrorCodes.XPATH_LOOKUP_ERROR, InvalidSelectorException.class);2225: ^2226: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:107: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2227: Response response = createResponse(ErrorCodes.UNHANDLED_ERROR);2228: ^2229: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:120: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2230: createResponse(ErrorCodes.UNHANDLED_ERROR, "boom"), 123))2231: ^2232: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:133: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2233: createResponse(ErrorCodes.UNHANDLED_ERROR, ImmutableMap.of("message", "boom")),2234: ^2235: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:147: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2236: ErrorCodes.UNHANDLED_ERROR,2237: ^2238: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:167: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2239: ErrorCodes.UNHANDLED_ERROR,2240: ^2241: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:193: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2242: createResponse(ErrorCodes.UNHANDLED_ERROR, toMap(serverError)), 123))2243: ^2244: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:214: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2245: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2246: ^2247: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:248: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2248: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2249: ^2250: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:280: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2251: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2252: ^2253: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:308: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2254: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2255: ^2256: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:327: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2257: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2258: ^2259: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:355: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2260: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2261: ^2262: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:394: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2263: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2264: ^2265: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:426: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2266: createResponse(ErrorCodes.UNHANDLED_ERROR, toMap(serverError)), 123))2267: ^2268: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:435: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2269: exceptions.put(ErrorCodes.NO_SUCH_SESSION, NoSuchSessionException.class);2270: ^2271: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:436: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2272: exceptions.put(ErrorCodes.NO_SUCH_ELEMENT, NoSuchElementException.class);2273: ^2274: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:437: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2275: exceptions.put(ErrorCodes.NO_SUCH_FRAME, NoSuchFrameException.class);2276: ^2277: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:438: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2278: exceptions.put(ErrorCodes.UNKNOWN_COMMAND, UnsupportedCommandException.class);2279: ^2280: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:439: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2281: exceptions.put(ErrorCodes.STALE_ELEMENT_REFERENCE, StaleElementReferenceException.class);2282: ^2283: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:440: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2284: exceptions.put(ErrorCodes.INVALID_ELEMENT_STATE, InvalidElementStateException.class);2285: ^2286: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:441: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2287: exceptions.put(ErrorCodes.UNHANDLED_ERROR, WebDriverException.class);2288: ^2289: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:442: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2290: exceptions.put(ErrorCodes.JAVASCRIPT_ERROR, JavascriptException.class);2291: ^2292: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:443: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2293: exceptions.put(ErrorCodes.XPATH_LOOKUP_ERROR, InvalidSelectorException.class);2294: ^2295: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:444: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2296: exceptions.put(ErrorCodes.TIMEOUT, TimeoutException.class);2297: ^2298: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:445: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2299: exceptions.put(ErrorCodes.NO_SUCH_WINDOW, NoSuchWindowException.class);2300: ^2301: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:446: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2302: exceptions.put(ErrorCodes.INVALID_COOKIE_DOMAIN, InvalidCookieDomainException.class);2303: ^2304: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:447: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2305: exceptions.put(ErrorCodes.UNABLE_TO_SET_COOKIE, UnableToSetCookieException.class);2306: ^2307: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:448: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2308: exceptions.put(ErrorCodes.UNEXPECTED_ALERT_PRESENT, UnhandledAlertException.class);2309: ^2310: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:449: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2311: exceptions.put(ErrorCodes.NO_ALERT_PRESENT, NoAlertPresentException.class);2312: ^2313: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:450: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2314: exceptions.put(ErrorCodes.ASYNC_SCRIPT_TIMEOUT, ScriptTimeoutException.class);2315: ^2316: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:451: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2317: exceptions.put(ErrorCodes.INVALID_SELECTOR_ERROR, InvalidSelectorException.class);2318: ^2319: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:452: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2320: exceptions.put(ErrorCodes.SESSION_NOT_CREATED, SessionNotCreatedException.class);2321: ^2322: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:453: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2323: exceptions.put(ErrorCodes.MOVE_TARGET_OUT_OF_BOUNDS, MoveTargetOutOfBoundsException.class);2324: ^2325: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:454: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2326: exceptions.put(ErrorCodes.INVALID_XPATH_SELECTOR, InvalidSelectorException.class);2327: ^2328: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:455: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2329: exceptions.put(ErrorCodes.INVALID_XPATH_SELECTOR_RETURN_TYPER, InvalidSelectorException.class);2330: ^2331: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:469: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2332: ? ErrorCodes.INVALID_SELECTOR_ERROR2333: ^2334: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:471: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2335: assertThat(new ErrorCodes().toStatusCode(e)).isEqualTo(expected);2336: ^2337: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:483: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2338: response.setState(new ErrorCodes().toState(status));2339: ^2340: (20:17:33) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.jar (1 source file):2341: 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 removal2342: import static org.openqa.selenium.remote.ErrorCodes.METHOD_NOT_ALLOWED;2343: ^2344: 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 removal2345: assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.SUCCESS);2346: ^2347: 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 removal2348: assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.UNHANDLED_ERROR);2349: ^2350: 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 removal2351: assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.UNHANDLED_ERROR);2352: ^2353: (20:17:33) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/json/JsonTest.jar (1 source file):2354: java/test/org/openqa/selenium/json/JsonTest.java:430: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2355: assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(0));2356: ^2357: java/test/org/openqa/selenium/json/JsonTest.java:441: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2358: assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(0));2359: ^2360: java/test/org/openqa/selenium/json/JsonTest.java:454: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2361: assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(32));2362: ^
...
2553: (20:22:04) �[32m[17,347 / 17,349]�[0m 2346 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 215s remote, remote-cache ... (2 actions running)2554: (20:22:11) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 223s remote, remote-cache2555: (20:22:17) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 229s remote, remote-cache2556: (20:22:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 259s remote, remote-cache2557: (20:23:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 319s remote, remote-cache2558: (20:24:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 379s remote, remote-cache2559: (20:25:01) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 393s remote, remote-cache2560: (20:25:02) �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi/test_attempts/attempt_1.log)2561: (20:25:06) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 398s remote, remote-cache2562: (20:25:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 439s remote, remote-cache2563: (20:26:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 499s remote, remote-cache2564: (20:27:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 559s remote, remote-cache2565: (20:28:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 619s remote, remote-cache2566: (20:29:24) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 655s remote, remote-cache2567: (20:29:24) �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi/test.log)2568: �[31m�[1mFAILED: �[0m//rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi (Summary)2569: /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi/test.log
...
2576: driver: remote2577: version: stable2578: platform: linux2579: ci: github2580: rbe: true2581: ruby: jruby 10.0.0.0 (3.4.2) 2025-04-13 6ed59bc847 OpenJDK 64-Bit Server VM 21.0.4+7-LTS on 21.0.4+7-LTS [x86_64-linux]2582: Selenium::WebDriver::Network2583: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/handshake/base.rb:40: warning: previous definition of to_s was here2584: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/handshake/base.rb:53: warning: previous definition of valid? was here2585: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/handshake/client.rb:57: warning: previous definition of initialize was here2586: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/handshake/client.rb:90: warning: previous definition of << was here2587: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/frame/base.rb:19: warning: previous definition of initialize was here2588: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/frame/outgoing.rb:28: warning: previous definition of to_s was here2589: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/frame/incoming.rb:40: warning: previous definition of next was here2590: adds an auth handler2591: adds an auth handler with a filter (FAILED - 1)2592: adds an auth handler with multiple filters2593: adds an auth handler with a pattern type2594: removes an auth handler (FAILED - 2)2595: clears all auth handlers2596: continues without auth2597: cancels auth2598: adds a request handler2599: adds a request handler with a filter2600: adds a request handler with multiple filters2601: adds a request handler with a pattern type2602: adds a request handler with attributes (FAILED - 3)2603: fails a request2604: removes a request handler2605: clears all request handlers2606: adds a response handler2607: adds a response handler with a filter2608: adds a response handler with multiple filters2609: adds a response handler with a pattern type2610: adds a response handler with attributes2611: adds an auth handler (FAILED - 4)2612: adds an auth handler with a filter (FAILED - 5)2613: adds an auth handler with multiple filters (FAILED - 6)2614: adds an auth handler with a pattern type (FAILED - 7)2615: removes an auth handler (FAILED - 8)2616: clears all auth handlers (FAILED - 9)2617: continues without auth (FAILED - 10)2618: cancels auth (FAILED - 11)2619: adds a request handler (FAILED - 12)2620: adds a request handler with a filter (FAILED - 13)2621: adds a request handler with multiple filters (FAILED - 14)2622: adds a request handler with a pattern type (FAILED - 15)2623: adds a request handler with attributes (FAILED - 16)2624: fails a request (FAILED - 17)2625: removes a request handler (FAILED - 18)2626: clears all request handlers (FAILED - 19)2627: adds a response handler (FAILED - 20)2628: Failures:2629: 1) Selenium::WebDriver::Network adds an auth handler with a filter2630: Got 0 failures and 2 other errors:2631: 1.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2632: IOError:2633: stream closed in another thread2634: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2635: 1.2) Failure/Error:2636: reset_driver!(web_socket_url: true) do |driver|2637: network = described_class.new(driver)2638: network.add_response_handler do |response|2639: response.status = 2002640: response.headers['foo'] = 'bar'2641: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2642: response.provide_response2643: end2644: driver.navigate.to url_for('formPage.html')2645: source = driver.page_source2646: IOError:2647: stream closed in another thread2648: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2649: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2650: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2651: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2652: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2653: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2654: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2655: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2656: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2657: 2) Selenium::WebDriver::Network removes an auth handler2658: Got 0 failures and 2 other errors:2659: 2.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2660: IOError:2661: stream closed in another thread2662: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2663: 2.2) Failure/Error:2664: reset_driver!(web_socket_url: true) do |driver|2665: network = described_class.new(driver)2666: network.add_response_handler do |response|2667: response.status = 2002668: response.headers['foo'] = 'bar'2669: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2670: response.provide_response2671: end2672: driver.navigate.to url_for('formPage.html')2673: source = driver.page_source2674: IOError:2675: stream closed in another thread2676: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2677: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2678: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2679: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2680: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2681: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2682: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2683: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2684: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2685: 3) Selenium::WebDriver::Network adds a request handler with attributes2686: Got 0 failures and 2 other errors:2687: 3.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2688: IOError:2689: stream closed in another thread2690: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2691: 3.2) Failure/Error:2692: reset_driver!(web_socket_url: true) do |driver|2693: network = described_class.new(driver)2694: network.add_response_handler do |response|2695: response.status = 2002696: response.headers['foo'] = 'bar'2697: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2698: response.provide_response2699: end2700: driver.navigate.to url_for('formPage.html')2701: source = driver.page_source2702: IOError:2703: stream closed in another thread2704: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2705: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2706: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2707: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2708: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2709: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2710: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2711: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2712: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2713: 4) Selenium::WebDriver::Network adds an auth handler2714: Failure/Error:2715: reset_driver!(web_socket_url: true) do |driver|2716: network = described_class.new(driver)2717: network.add_response_handler do |response|2718: response.status = 2002719: response.headers['foo'] = 'bar'2720: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2721: response.provide_response2722: end2723: driver.navigate.to url_for('formPage.html')2724: source = driver.page_source2725: IOError:2726: stream closed in another thread2727: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2728: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2729: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2730: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2731: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2732: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2733: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2734: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2735: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2736: 5) Selenium::WebDriver::Network adds an auth handler with a filter2737: Got 0 failures and 2 other errors:2738: 5.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2739: IOError:2740: stream closed in another thread2741: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2742: 5.2) Failure/Error:2743: reset_driver!(web_socket_url: true) do |driver|2744: network = described_class.new(driver)2745: network.add_response_handler do |response|2746: response.status = 2002747: response.headers['foo'] = 'bar'2748: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2749: response.provide_response2750: end2751: driver.navigate.to url_for('formPage.html')2752: source = driver.page_source2753: IOError:2754: stream closed in another thread2755: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2756: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2757: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2758: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2759: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2760: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2761: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2762: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2763: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2764: 6) Selenium::WebDriver::Network adds an auth handler with multiple filters2765: Failure/Error:2766: reset_driver!(web_socket_url: true) do |driver|2767: network = described_class.new(driver)2768: network.add_response_handler do |response|2769: response.status = 2002770: response.headers['foo'] = 'bar'2771: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2772: response.provide_response2773: end2774: driver.navigate.to url_for('formPage.html')2775: source = driver.page_source2776: IOError:2777: stream closed in another thread2778: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2779: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2780: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2781: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2782: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2783: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2784: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2785: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2786: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2787: 7) Selenium::WebDriver::Network adds an auth handler with a pattern type2788: Failure/Error:2789: reset_driver!(web_socket_url: true) do |driver|2790: network = described_class.new(driver)2791: network.add_response_handler do |response|2792: response.status = 2002793: response.headers['foo'] = 'bar'2794: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2795: response.provide_response2796: end2797: driver.navigate.to url_for('formPage.html')2798: source = driver.page_source2799: IOError:2800: stream closed in another thread2801: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2802: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2803: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2804: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2805: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2806: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2807: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2808: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2809: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2810: 8) Selenium::WebDriver::Network removes an auth handler2811: Got 0 failures and 2 other errors:2812: 8.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2813: IOError:2814: stream closed in another thread2815: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2816: 8.2) Failure/Error:2817: reset_driver!(web_socket_url: true) do |driver|2818: network = described_class.new(driver)2819: network.add_response_handler do |response|2820: response.status = 2002821: response.headers['foo'] = 'bar'2822: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2823: response.provide_response2824: end2825: driver.navigate.to url_for('formPage.html')2826: source = driver.page_source2827: IOError:2828: stream closed in another thread2829: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2830: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2831: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2832: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2833: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2834: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2835: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2836: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2837: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2838: 9) Selenium::WebDriver::Network clears all auth handlers2839: Failure/Error:2840: reset_driver!(web_socket_url: true) do |driver|2841: network = described_class.new(driver)2842: network.add_response_handler do |response|2843: response.status = 2002844: response.headers['foo'] = 'bar'2845: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2846: response.provide_response2847: end2848: driver.navigate.to url_for('formPage.html')2849: source = driver.page_source2850: IOError:2851: stream closed in another thread2852: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2853: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2854: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2855: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2856: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2857: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2858: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2859: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2860: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2861: 10) Selenium::WebDriver::Network continues without auth2862: Failure/Error:2863: reset_driver!(web_socket_url: true) do |driver|2864: network = described_class.new(driver)2865: network.add_response_handler do |response|2866: response.status = 2002867: response.headers['foo'] = 'bar'2868: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2869: response.provide_response2870: end2871: driver.navigate.to url_for('formPage.html')2872: source = driver.page_source2873: IOError:2874: stream closed in another thread2875: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2876: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2877: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2878: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2879: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2880: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2881: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2882: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2883: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2884: 11) Selenium::WebDriver::Network cancels auth2885: Failure/Error:2886: reset_driver!(web_socket_url: true) do |driver|2887: network = described_class.new(driver)2888: network.add_response_handler do |response|2889: response.status = 2002890: response.headers['foo'] = 'bar'2891: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2892: response.provide_response2893: end2894: driver.navigate.to url_for('formPage.html')2895: source = driver.page_source2896: IOError:2897: stream closed in another thread2898: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2899: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2900: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2901: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2902: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2903: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2904: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2905: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2906: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2907: 12) Selenium::WebDriver::Network adds a request handler2908: Failure/Error:2909: reset_driver!(web_socket_url: true) do |driver|2910: network = described_class.new(driver)2911: network.add_response_handler do |response|2912: response.status = 2002913: response.headers['foo'] = 'bar'2914: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2915: response.provide_response2916: end2917: driver.navigate.to url_for('formPage.html')2918: source = driver.page_source2919: IOError:2920: stream closed in another thread2921: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2922: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2923: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2924: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2925: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2926: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2927: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2928: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2929: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2930: 13) Selenium::WebDriver::Network adds a request handler with a filter2931: Failure/Error:2932: reset_driver!(web_socket_url: true) do |driver|2933: network = described_class.new(driver)2934: network.add_response_handler do |response|2935: response.status = 2002936: response.headers['foo'] = 'bar'2937: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2938: response.provide_response2939: end2940: driver.navigate.to url_for('formPage.html')2941: source = driver.page_source2942: IOError:2943: stream closed in another thread2944: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2945: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2946: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2947: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2948: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2949: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2950: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2951: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2952: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2953: 14) Selenium::WebDriver::Network adds a request handler with multiple filters2954: Failure/Error:2955: reset_driver!(web_socket_url: true) do |driver|2956: network = described_class.new(driver)2957: network.add_response_handler do |response|2958: response.status = 2002959: response.headers['foo'] = 'bar'2960: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2961: respo...

@titusfortner

Copy link
Copy Markdown
MemberAuthor

I think these new remote-bidi failures are flaky and will be fixed by #16487
Rerun tests after that is merged.

@titusfortner
titusfortner marked this pull request as draft October 24, 2025 14:58
@titusfortner

Copy link
Copy Markdown
MemberAuthor

Moving to draft, still needs optimizing

@github-actionsgithub-actionsBot added the J-stale Applied to issues that become stale, and eventually closed. label Apr 22, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

B-buildIncludes scripting, bazel and CI integrationsB-devtoolsIncludes everything BiDi or Chrome DevTools relatedC-rbRuby BindingsJ-staleApplied to issues that become stale, and eventually closed.Review effort 2/5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@titusfortner@p0deje@selenium-ci
, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Universal Dark Mode - works on any site\n(function() {\n var enabled = true;\n \n function applyDarkMode() {\n if (!enabled) return;\n \n // Create style element if it doesn't exist\n var style = document.getElementById('universal-dark-mode-style');\n if (!style) {\n style = document.createElement('style');\n style.id = 'universal-dark-mode-style';\n document.head.appendChild(style);\n }\n \n // Dark mode CSS - inverts colors but preserves images/video\n style.textContent = '\n /* Invert everything except media */\n html {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #1a1a2e !important;\n }\n \n /* Restore images, videos, iframes, canvas */\n img, video, iframe, canvas, svg, picture, [style*=\"background-image\"] {\n filter: invert(1) hue-rotate(180deg) !important;\n }\n \n /* Preserve specific elements that should not be inverted */\n .no-dark-mode, .no-dark-mode *,\n [data-theme=\"light\"], [data-theme=\"light\"],\n .ace_editor, .ace_editor *,\n .CodeMirror, .CodeMirror *,\n .monaco-editor, .monaco-editor *,\n .markdown-body pre, .markdown-body pre *,\n .highlight, .highlight *,\n pre code, pre code * {\n filter: none !important;\n }\n \n /* Fix common UI elements */\n .modal, .popup, .dropdown-menu, .tooltip, .popover {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #2d2d44 !important;\n border-color: #444 !important;\n }\n \n /* Scrollbars */\n ::-webkit-scrollbar { background: #1a1a2e !important; }\n ::-webkit-scrollbar-thumb { background: #444 !important; }\n ::-webkit-scrollbar-thumb:hover { background: #555 !important; }\n \n /* Selection */\n ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ';\n }\n \n function removeDarkMode() {\n var style = document.getElementById('universal-dark-mode-style');\n if (style) style.remove();\n }\n \n // Toggle with Alt+Shift+D\n document.addEventListener('keydown', function(e) {\n if (e.altKey && e.shiftKey && e.key === 'D') {\n e.preventDefault();\n enabled = !enabled;\n if (enabled) {\n applyDarkMode();\n console.log('[Universal Dark Mode] Enabled');\n } else {\n removeDarkMode();\n console.log('[Universal Dark Mode] Disabled');\n }\n }\n });\n \n // Apply on load\n applyDarkMode();\n \n // Re-apply on dynamic content\n var observer = new MutationObserver(function(mutations) {\n if (enabled && !document.getElementById('universal-dark-mode-style')) {\n applyDarkMode();\n }\n });\n observer.observe(document.head, { childList: true });\n \n console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle');\n})();", "Universal Dark Mode"); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })();
Skip to content

[build] remove more ruby test targets that do not apply and support r… - #16484

Closed
titusfortner wants to merge 1 commit into
trunkfrom
rb_bidi_remote
Closed

[build] remove more ruby test targets that do not apply and support r…#16484
titusfortner wants to merge 1 commit into
trunkfrom
rb_bidi_remote

Conversation

@titusfortner

@titusfortnertitusfortner commented Oct 21, 2025

Copy link
Copy Markdown
Member

User description

  • Adds -bidi-remote option for each test target
  • Limits tests in bidi directory to just bidi supported browsers
  • Document these things in the README

I did not figure out how to prevent the bidi specific targets in the main webdriver directory from being added to non-supported browsers, but Ruby blocks that from running right now, so it is more housekeeping than performance speedup.
As in, these targets don't matter but will still be generated:

//rb/spec/integration/selenium/webdriver:network-ie
//rb/spec/integration/selenium/webdriver:network-ie-remote
//rb/spec/integration/selenium/webdriver:network-safari
//rb/spec/integration/selenium/webdriver:network-safari-preview

PR Type

Enhancement, Tests


Description

  • Adds remote-bidi test targets for BiDi-supported browsers

  • Restricts bidi tests to explicitly supported browsers via BIDI_BROWSERS

  • Expands bidi test coverage with remote execution capability

  • Updates documentation with bidi testing guidance and examples


Diagram Walkthrough

flowchart LR
A["BIDI_BROWSERS<br/>defined"] -->|filters| B["bidi test<br/>generation"]
B -->|creates| C["local-bidi<br/>targets"]
B -->|creates| D["remote-bidi<br/>targets"]
E["rb_integration_test<br/>function"] -->|checks| A
E -->|generates| C
E -->|generates| D
Loading

File Walkthrough

Relevant files
Enhancement
tests.bzl
Add bidi browser filtering and remote-bidi test targets

rb/spec/tests.bzl

  • Defines BIDI_BROWSERS constant listing supported browsers for bidi
    testing
  • Adds condition to restrict bidi test generation to browsers in
    BIDI_BROWSERS
  • Generates new remote-bidi test targets alongside existing bidi targets
  • Configures remote-bidi targets with proper environment variables and
    dependencies
+35/-1
BUILD.bazel
Restrict bidi tests to supported browsers

rb/spec/integration/selenium/webdriver/bidi/BUILD.bazel

  • Imports BIDI_BROWSERS constant from tests.bzl
  • Restricts bidi integration tests to only supported browsers via
    browsers parameter
+2/-1
Documentation
README.md
Document bidi testing and remote-bidi test targets

README.md

  • Adds documentation for running bidi-specific tests with
    --test_tag_filters bidi
  • Explains dynamic test target generation and BiDi protocol importance
  • Updates test target examples to include bidi and remote-bidi variants
  • Documents WEBDRIVER_BIDI environment variable for enabling web socket
    URLs
  • Adds chrome-beta to supported browsers list
+18/-11

@selenium-ciselenium-ci added C-rb Ruby Bindings B-build Includes scripting, bazel and CI integrations B-devtools Includes everything BiDi or Chrome DevTools related labels Oct 21, 2025
@qodo-code-review

Copy link
Copy Markdown
Contributor

PR Compliance Guide 🔍

Below is a summary of compliance checks for this PR:

Security Compliance
🟢
No security concerns identified No security vulnerabilities detected by AI analysis. Human verification advised for critical code.
Ticket Compliance
🎫 No ticket provided
- [ ] Create ticket/issue <!-- /create_ticket --create_ticket=true -->
</details></td></tr>
Codebase Duplication Compliance
Codebase context is not defined

Follow the guide to enable codebase context checks.

Custom Compliance
No custom compliance provided

Follow the guide to enable custom compliance check.

Compliance status legend 🟢 - Fully Compliant
🟡 - Partial Compliant
🔴 - Not Compliant
⚪ - Requires Further Human Verification
🏷️ - Compliance label

@qodo-code-review

Copy link
Copy Markdown
Contributor

PR Code Suggestions ✨

Explore these optional code suggestions:

CategorySuggestion Impact
Possible issue
Add missing remote browser environment variable

Add the missing WD_REMOTE_BROWSER environment variable to the remote-bidi test
target to specify the browser for remote execution.

rb/spec/tests.bzl [244-269]

 + rb_test(
+ name = "{}-{}-remote-bidi".format(name, browser),
+ size = "large",
+ srcs = srcs,
+ args = ["rb/spec/"],
+ data = BROWSERS[browser]["data"] + data + [
+ "//common/src/web",
+ "//java/src/org/openqa/selenium/grid:selenium_server_deploy.jar",
+ "//rb/spec:java-location",
+ "@bazel_tools//tools/jdk:current_java_runtime",
+ ],
+ env = BROWSERS[browser]["env"] | {
+ "WD_BAZEL_JAVA_LOCATION": "$(rootpath //rb/spec:java-location)",
+ "WD_SPEC_DRIVER": "remote",
++ "WD_REMOTE_BROWSER": browser,
+ "WEBDRIVER_BIDI": "true",
+ },
+ main = "@bundle//bin:rspec",
+ tags = COMMON_TAGS + BROWSERS[browser]["tags"] + tags + ["{}-remote-bidi".format(browser)],
+ deps = depset(
+ ["//rb/spec/integration/selenium/webdriver:spec_helper", "//rb/lib/selenium/webdriver:bidi"] +
+ BROWSERS[browser]["deps"] +
+ deps,
+ ),
+ visibility = ["//rb:__subpackages__"],
+ target_compatible_with = BROWSERS[browser]["target_compatible_with"],
+ )

[To ensure code accuracy, apply this suggestion manually]

Suggestion importance[1-10]: 9

__

Why: The suggestion correctly identifies that the WD_REMOTE_BROWSER environment variable is missing for the new remote-bidi test target, which would cause these tests to fail.

High
High-level
Refactor build logic to reduce duplication

To reduce code duplication in rb/spec/tests.bzl, refactor the build logic by
creating a helper function. This function would generate remote test targets and
accept parameters for BiDi-specific configurations, consolidating the similar
logic for 'remote' and 'remote-bidi' targets.

Examples:

rb/spec/tests.bzl [226-269]
if"bidi"intagsandbrowserinBIDI_BROWSERS:
rb_test(
name="{}-{}-bidi".format(name, browser),
size="large",
srcs=srcs,
args= ["rb/spec/"],
data=BROWSERS[browser]["data"] +data+ ["//common/src/web"],
env=BROWSERS[browser]["env"] | {"WEBDRIVER_BIDI": "true"},
main="@bundle//bin:rspec",
tags=COMMON_TAGS+BROWSERS[browser]["tags"] +tags+ ["{}-bidi".format(browser)],
... (clipped34lines)

Solution Walkthrough:

Before:

# in rb/spec/tests.bzl within rb_integration_testif"bidi"intagsandbrowserinBIDI_BROWSERS:
# local bidi testrb_test(
name="{}-{}-bidi".format(name, browser),
env= {"WEBDRIVER_BIDI": "true"},
tags=tags+ ["{}-bidi".format(browser)],
deps=deps+ ["//rb/lib/selenium/webdriver:bidi"],
...
)
# remote bidi test (newly added, very similar to existing remote tests)rb_test(
name="{}-{}-remote-bidi".format(name, browser),
data=data+ ["//.../selenium_server_deploy.jar", ...],
env= {"WD_SPEC_DRIVER": "remote", "WEBDRIVER_BIDI": "true", ...},
tags=tags+ ["{}-remote-bidi".format(browser)],
deps=deps+ ["//rb/lib/selenium/webdriver:bidi"],
...
)

After:

# in rb/spec/tests.bzldef_create_bidi_test(name, browser, srcs, tags, deps, data, is_remote=False):
remote_suffix="-remote"ifis_remoteelse""env= {"WEBDRIVER_BIDI": "true"}
ifis_remote:
env["WD_SPEC_DRIVER"] ="remote"# ... other remote env varsdata+= ["//.../selenium_server_deploy.jar", ...]
rb_test(
name="{}-{}-bidi{}".format(name, browser, remote_suffix),
env=env,
data=data,
...
)
# in rb/spec/tests.bzl within rb_integration_testif"bidi"intagsandbrowserinBIDI_BROWSERS:
_create_bidi_test(..., is_remote=False)
_create_bidi_test(..., is_remote=True)
Suggestion importance[1-10]: 7

__

Why: The suggestion correctly identifies significant code duplication in the Bazel build file rb/spec/tests.bzl and proposes a valid refactoring that would improve long-term maintainability.

Medium
Learned
best practice
Validate BIDI browser list

Guard against unsupported browsers by asserting that every entry in
BIDI_BROWSERS exists in BROWSERS to prevent misconfiguration and hard-to-debug
build failures.

rb/spec/tests.bzl [12-269]

 BIDI_BROWSERS = [
"chrome",
"chrome-beta",
"edge",
"firefox",
"firefox-beta",
]
++# Validate bidi browser list against known browsers+for _b in BIDI_BROWSERS:+ if _b not in BROWSERS:+ fail("Unknown browser in BIDI_BROWSERS: {}".format(_b))+
...
- if "bidi" in tags and browser in BIDI_BROWSERS:- rb_test(- name = "{}-{}-bidi".format(name, browser),- ...- target_compatible_with = BROWSERS[browser]["target_compatible_with"],- )- rb_test(- name = "{}-{}-remote-bidi".format(name, browser),- ...- target_compatible_with = BROWSERS[browser]["target_compatible_with"],- )+if "bidi" in tags and browser in BIDI_BROWSERS:+ rb_test(+ name = "{}-{}-bidi".format(name, browser),+ ...+ target_compatible_with = BROWSERS[browser]["target_compatible_with"],+ )+ rb_test(+ name = "{}-{}-remote-bidi".format(name, browser),+ ...+ target_compatible_with = BROWSERS[browser]["target_compatible_with"],+ )

[To ensure code accuracy, apply this suggestion manually]

Suggestion importance[1-10]: 6

__

Why:
Relevant best practice - Validate inputs and states early to avoid generating invalid configurations or targets.

Low
  • More

@qodo-code-review

Copy link
Copy Markdown
Contributor

CI Feedback 🧐

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: //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi

Failure summary:

The action failed because the test target
//rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi consistently failed (2
attempts).
- Primary error: IOError: stream closed in another thread raised from
./rb/lib/selenium/webdriver/common/websocket_connection.rb:48 and :102 during BiDi WebSocket
operations, often while closing or attaching the socket listener.
- This caused multiple RSpec
examples in rb/spec/integration/selenium/webdriver/network_spec.rb to fail (20 failures on the
stable Firefox remote BiDi run), e.g.:
- adds an auth handler (network_spec.rb:30)
- adds an
auth handler with a filter (network_spec.rb:40)
- adds a request handler with attributes
(network_spec.rb:145)
- and others listed between lines 3122–3141 of the log.
- Additional
timeouts seen in related BiDi tests (e.g., TimeoutError on navigate) indicate unstable BiDi
communication, but the hard failure was the repeated IOError in the Firefox remote BiDi network
suite.
- Bazel summary: 2437 tests passed, 1 failed remotely; build completed with 1 test FAILED and
process exited with code 3.

Relevant error logs:
1: ##[group]Runner Image Provisioner2: Hosted Compute Agent
...
925: Package 'php-sql-formatter' is not installed, so not removed926: Package 'php8.3-ssh2' is not installed, so not removed927: Package 'php-ssh2-all-dev' is not installed, so not removed928: Package 'php8.3-stomp' is not installed, so not removed929: Package 'php-stomp-all-dev' is not installed, so not removed930: Package 'php-swiftmailer' is not installed, so not removed931: Package 'php-symfony' is not installed, so not removed932: Package 'php-symfony-asset' is not installed, so not removed933: Package 'php-symfony-asset-mapper' is not installed, so not removed934: Package 'php-symfony-browser-kit' is not installed, so not removed935: Package 'php-symfony-clock' is not installed, so not removed936: Package 'php-symfony-debug-bundle' is not installed, so not removed937: Package 'php-symfony-doctrine-bridge' is not installed, so not removed938: Package 'php-symfony-dom-crawler' is not installed, so not removed939: Package 'php-symfony-dotenv' is not installed, so not removed940: Package 'php-symfony-error-handler' is not installed, so not removed941: Package 'php-symfony-event-dispatcher' is not installed, so not removed
...
1119: Package 'php-twig-html-extra' is not installed, so not removed1120: Package 'php-twig-i18n-extension' is not installed, so not removed1121: Package 'php-twig-inky-extra' is not installed, so not removed1122: Package 'php-twig-intl-extra' is not installed, so not removed1123: Package 'php-twig-markdown-extra' is not installed, so not removed1124: Package 'php-twig-string-extra' is not installed, so not removed1125: Package 'php8.3-uopz' is not installed, so not removed1126: Package 'php-uopz-all-dev' is not installed, so not removed1127: Package 'php8.3-uploadprogress' is not installed, so not removed1128: Package 'php-uploadprogress-all-dev' is not installed, so not removed1129: Package 'php8.3-uuid' is not installed, so not removed1130: Package 'php-uuid-all-dev' is not installed, so not removed1131: Package 'php-validate' is not installed, so not removed1132: Package 'php-vlucas-phpdotenv' is not installed, so not removed1133: Package 'php-voku-portable-ascii' is not installed, so not removed1134: Package 'php-wmerrors' is not installed, so not removed1135: Package 'php-xdebug-all-dev' is not installed, so not removed
...
1761: (20:14:53) �[32mLoading:�[0m 2 packages loaded1762: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image distributor-image: https://github.com/bazel-contrib/rules_oci/issues/2201763: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image event-bus-image: https://github.com/bazel-contrib/rules_oci/issues/2201764: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image router-image: https://github.com/bazel-contrib/rules_oci/issues/2201765: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image session-map-image: https://github.com/bazel-contrib/rules_oci/issues/2201766: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image session-queue-image: https://github.com/bazel-contrib/rules_oci/issues/2201767: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image chrome-node: https://github.com/bazel-contrib/rules_oci/issues/2201768: (20:14:55) �[33mDEBUG: �[0m/home/runner/work/selenium/selenium/deploys/docker/docker.bzl:5:14: Ignoring ports on generated image firefox-node: https://github.com/bazel-contrib/rules_oci/issues/2201769: (20:14:58) �[32mLoading:�[0m 243 packages loaded1770: currently loading: javascript/atoms ... (11 packages)1771: (20:15:02) �[32mAnalyzing:�[0m 2438 targets (254 packages loaded, 0 targets configured)1772: (20:15:02) �[32mAnalyzing:�[0m 2438 targets (254 packages loaded, 0 targets configured)1773: (20:15:08) �[32mAnalyzing:�[0m 2438 targets (420 packages loaded, 61 targets configured)1774: (20:15:10) �[33mDEBUG: �[0m/home/runner/.bazel/external/rules_jvm_external+/private/extensions/maven.bzl:295:14: WARNING: The following maven modules appear in multiple sub-modules with potentially different versions. Consider adding one of these to your root module to ensure consistent versions:1775: com.google.code.findbugs:jsr3051776: com.google.errorprone:error_prone_annotations1777: com.google.guava:guava (versions: 30.1.1-jre, 31.0.1-android)
...
1804: (20:16:09) �[32mAnalyzing:�[0m 2438 targets (1650 packages loaded, 49706 targets configured)1805: �[32m[740 / 841]�[0m 29 / 74 tests;�[0m checking cached actions1806: (20:16:14) �[32mAnalyzing:�[0m 2438 targets (1656 packages loaded, 49798 targets configured)1807: �[32m[740 / 841]�[0m 29 / 74 tests;�[0m checking cached actions1808: (20:16:15) �[32mINFO: �[0mFrom Building external/contrib_rules_jvm+/java/src/com/github/bazel_contrib/contrib_rules_jvm/junit5/libjunit5-compile-class.jar (19 source files):1809: warning: [options] source value 8 is obsolete and will be removed in a future release1810: warning: [options] target value 8 is obsolete and will be removed in a future release1811: warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.1812: (20:16:17) �[35mWARNING: �[0m/home/runner/.bazel/external/io_bazel_rules_closure/java/com/google/javascript/jscomp/BUILD:19:13: in java_library rule @@io_bazel_rules_closure//java/com/google/javascript/jscomp:jscomp: target '@@io_bazel_rules_closure//java/com/google/javascript/jscomp:jscomp' depends on deprecated target '@@io_bazel_rules_closure//java/io/bazel/rules/closure:build_info_java_proto': Use java_proto_library from com_google_protobuf1813: (20:16:17) �[33mDEBUG: �[0m/home/runner/.bazel/external/io_bazel_rules_closure/closure/compiler/closure_js_deps.bzl:38:10: closure_js_deps() and deps.js files are deprecated. Please remove your closure_js_deps rules and, if needed, use the google-closure-deps npm module with bazelbuild/rules_nodejs to generate deps.js files.1814: (20:16:18) �[33mDEBUG: �[0m/home/runner/.bazel/external/io_bazel_rules_closure/closure/compiler/closure_js_deps.bzl:38:10: closure_js_deps() and deps.js files are deprecated. Please remove your closure_js_deps rules and, if needed, use the google-closure-deps npm module with bazelbuild/rules_nodejs to generate deps.js files.1815: (20:16:18) �[33mDEBUG: �[0m/home/runner/.bazel/external/io_bazel_rules_closure/closure/compiler/closure_js_deps.bzl:38:10: closure_js_deps() and deps.js files are deprecated. Please remove your closure_js_deps rules and, if needed, use the google-closure-deps npm module with bazelbuild/rules_nodejs to generate deps.js files.1816: (20:16:19) �[32mAnalyzing:�[0m 2438 targets (1706 packages loaded, 56785 targets configured)1817: �[32m[1,791 / 2,508]�[0m 81 / 91 tests;�[0m Creating source manifest for //rb/spec/integration/selenium/webdriver/bidi:script-firefox-beta-bidi; 0s local ... (6 actions, 4 running)1818: (20:16:20) �[32mINFO: �[0mFrom Building java/src/org/openqa/selenium/remote/libapi-class.jar (63 source files):1819: java/src/org/openqa/selenium/remote/ErrorHandler.java:46: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1820: private final ErrorCodes errorCodes;1821: ^1822: java/src/org/openqa/selenium/remote/ErrorHandler.java:60: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1823: this.errorCodes = new ErrorCodes();1824: ^1825: java/src/org/openqa/selenium/remote/ErrorHandler.java:68: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1826: public ErrorHandler(ErrorCodes codes, boolean includeServerErrors) {1827: ^1828: java/src/org/openqa/selenium/remote/Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1829: ErrorCodes errorCodes = new ErrorCodes();1830: ^1831: java/src/org/openqa/selenium/remote/Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1832: ErrorCodes errorCodes = new ErrorCodes();1833: ^1834: java/src/org/openqa/selenium/remote/ProtocolHandshake.java:181: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1835: response.setStatus(ErrorCodes.SUCCESS);1836: ^1837: java/src/org/openqa/selenium/remote/ProtocolHandshake.java:182: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1838: response.setState(ErrorCodes.SUCCESS_STRING);1839: ^1840: java/src/org/openqa/selenium/remote/W3CHandshakeResponse.java:53: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1841: new ErrorCodes().toStatus((String) rawError, Optional.of(tuple.getStatusCode())));1842: ^1843: java/src/org/openqa/selenium/remote/W3CHandshakeResponse.java:56: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1844: new ErrorCodes().getExceptionType((String) rawError);1845: ^1846: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:44: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1847: private final ErrorCodes errorCodes = new ErrorCodes();1848: ^1849: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:44: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1850: private final ErrorCodes errorCodes = new ErrorCodes();1851: ^1852: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:55: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1853: int status = response.getStatus() == ErrorCodes.SUCCESS ? HTTP_OK : HTTP_INTERNAL_ERROR;1854: ^1855: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:101: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1856: response.setStatus(ErrorCodes.UNKNOWN_COMMAND);1857: ^1858: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:103: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1859: response.setStatus(ErrorCodes.UNHANDLED_ERROR);1860: ^1861: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:117: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1862: response.setStatus(ErrorCodes.SUCCESS);1863: ^1864: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:118: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1865: response.setState(errorCodes.toState(ErrorCodes.SUCCESS));1866: ^1867: java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:124: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal1868: response.setState(errorCodes.toState(ErrorCodes.SUCCESS));1869: ^1870: 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 removal1871: private final ErrorCodes errorCodes = new ErrorCodes();1872: ^1873: 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 removal1874: private final ErrorCodes errorCodes = new ErrorCodes();1875: ^1876: 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 removal1877: response.setStatus(ErrorCodes.UNKNOWN_COMMAND);1878: ^1879: 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 removal1880: response.setStatus(ErrorCodes.UNHANDLED_ERROR);1881: ^1882: 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 removal1883: response.setStatus(ErrorCodes.SUCCESS);1884: ^
...
1889: (20:16:24) �[32mAnalyzing:�[0m 2438 targets (1709 packages loaded, 61320 targets configured)1890: �[32m[3,408 / 4,512]�[0m 81 / 379 tests;�[0m Creating source manifest for //java/test/org/openqa/selenium/bidi/webextension:WebExtensionTest; 0s local ... (36 actions, 22 running)1891: (20:16:28) �[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/test1892: (20:16:28) �[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/test1893: (20:16:28) �[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/test1894: (20:16:28) �[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/test1895: (20:16:28) �[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/test1896: (20:16:28) �[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/test1897: (20:16:28) �[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/test1898: (20:16:28) �[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/test1899: (20:16:28) �[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/test1900: (20:16:28) �[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/test1901: (20:16:28) �[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/test1902: (20:16:28) �[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/test1903: (20:16:28) �[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/test1904: (20:16:28) �[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/test1905: (20:16:28) �[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
...
2158: �[32m[9,793 / 12,228]�[0m 151 / 1994 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver:action_builder-firefox; 4s ... (50 actions, 0 running)2159: (20:17:15) �[32mAnalyzing:�[0m 2438 targets (1747 packages loaded, 69239 targets configured)2160: �[32m[10,196 / 12,733]�[0m 218 / 2153 tests;�[0m [Prepa] Testing //javascript/selenium-webdriver:test-logging-test.js-chrome ... (50 actions, 13 running)2161: (20:17:20) �[32mAnalyzing:�[0m 2438 targets (1747 packages loaded, 69352 targets configured)2162: �[32m[11,183 / 13,296]�[0m 289 / 2266 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver/firefox:profile-firefox ... (49 actions, 3 running)2163: (20:17:25) �[32mAnalyzing:�[0m 2438 targets (1747 packages loaded, 69468 targets configured)2164: �[32m[11,730 / 13,892]�[0m 353 / 2382 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver:navigation-edge-bidi ... (48 actions, 2 running)2165: (20:17:27) �[32mINFO: �[0mAnalyzed 2438 targets (1748 packages loaded, 69586 targets configured).2166: (20:17:30) �[32m[12,790 / 14,806]�[0m 428 / 2438 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver/remote:element-chrome-beta ... (45 actions, 12 running)2167: (20:17:31) �[32mINFO: �[0mFrom Compiling Rust bin cargo_toml_variable_extractor (1 files) [for tool]:2168: �[0m�[1m�[33mwarning�[0m�[0m�[1m: the gold linker is deprecated and has known bugs with Rust�[0m2169: �[0m �[0m�[0m�[1m�[38;5;12m|�[0m2170: �[0m �[0m�[0m�[1m�[38;5;12m= �[0m�[0m�[1mhelp�[0m�[0m: consider using LLD or ld from GNU binutils instead�[0m2171: �[0m�[1m�[33mwarning�[0m�[0m�[1m: 1 warning emitted�[0m2172: (20:17:31) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/libsmall-tests-test-lib.jar (5 source files) and running annotation processors (AutoServiceProcessor):2173: java/test/org/openqa/selenium/remote/WebDriverFixture.java:170: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2174: response.setStatus(new ErrorCodes().toStatus(state, Optional.of(400)));2175: ^2176: (20:17:32) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/RemotableByTest.jar (1 source file) and running annotation processors (AutoServiceProcessor):2177: java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2178: import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;2179: ^2180: java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2181: import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;2182: ^2183: java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2184: import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;2185: ^2186: java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2187: private final ErrorCodes errorCodes = new ErrorCodes();2188: ^2189: java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2190: private final ErrorCodes errorCodes = new ErrorCodes();2191: ^2192: java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2193: private final ErrorCodes errorCodes = new ErrorCodes();2194: ^2195: java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2196: private final ErrorCodes errorCodes = new ErrorCodes();2197: ^2198: (20:17:32) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/ErrorHandlerTest.jar (1 source file) and running annotation processors (AutoServiceProcessor):2199: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:79: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2200: handler.throwIfResponseFailed(createResponse(ErrorCodes.SUCCESS), 100);2201: ^2202: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:85: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2203: assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_WINDOW, NoSuchWindowException.class);2204: ^2205: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:86: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2206: assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_FRAME, NoSuchFrameException.class);2207: ^2208: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:87: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2209: assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_ELEMENT, NoSuchElementException.class);2210: ^2211: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:88: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2212: assertThrowsCorrectExceptionType(ErrorCodes.UNKNOWN_COMMAND, UnsupportedCommandException.class);2213: ^2214: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:90: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2215: ErrorCodes.METHOD_NOT_ALLOWED, UnsupportedCommandException.class);2216: ^2217: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:92: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2218: ErrorCodes.STALE_ELEMENT_REFERENCE, StaleElementReferenceException.class);2219: ^2220: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:94: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2221: ErrorCodes.INVALID_ELEMENT_STATE, InvalidElementStateException.class);2222: ^2223: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:95: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2224: assertThrowsCorrectExceptionType(ErrorCodes.XPATH_LOOKUP_ERROR, InvalidSelectorException.class);2225: ^2226: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:107: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2227: Response response = createResponse(ErrorCodes.UNHANDLED_ERROR);2228: ^2229: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:120: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2230: createResponse(ErrorCodes.UNHANDLED_ERROR, "boom"), 123))2231: ^2232: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:133: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2233: createResponse(ErrorCodes.UNHANDLED_ERROR, ImmutableMap.of("message", "boom")),2234: ^2235: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:147: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2236: ErrorCodes.UNHANDLED_ERROR,2237: ^2238: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:167: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2239: ErrorCodes.UNHANDLED_ERROR,2240: ^2241: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:193: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2242: createResponse(ErrorCodes.UNHANDLED_ERROR, toMap(serverError)), 123))2243: ^2244: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:214: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2245: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2246: ^2247: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:248: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2248: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2249: ^2250: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:280: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2251: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2252: ^2253: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:308: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2254: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2255: ^2256: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:327: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2257: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2258: ^2259: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:355: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2260: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2261: ^2262: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:394: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2263: createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))2264: ^2265: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:426: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2266: createResponse(ErrorCodes.UNHANDLED_ERROR, toMap(serverError)), 123))2267: ^2268: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:435: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2269: exceptions.put(ErrorCodes.NO_SUCH_SESSION, NoSuchSessionException.class);2270: ^2271: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:436: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2272: exceptions.put(ErrorCodes.NO_SUCH_ELEMENT, NoSuchElementException.class);2273: ^2274: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:437: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2275: exceptions.put(ErrorCodes.NO_SUCH_FRAME, NoSuchFrameException.class);2276: ^2277: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:438: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2278: exceptions.put(ErrorCodes.UNKNOWN_COMMAND, UnsupportedCommandException.class);2279: ^2280: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:439: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2281: exceptions.put(ErrorCodes.STALE_ELEMENT_REFERENCE, StaleElementReferenceException.class);2282: ^2283: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:440: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2284: exceptions.put(ErrorCodes.INVALID_ELEMENT_STATE, InvalidElementStateException.class);2285: ^2286: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:441: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2287: exceptions.put(ErrorCodes.UNHANDLED_ERROR, WebDriverException.class);2288: ^2289: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:442: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2290: exceptions.put(ErrorCodes.JAVASCRIPT_ERROR, JavascriptException.class);2291: ^2292: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:443: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2293: exceptions.put(ErrorCodes.XPATH_LOOKUP_ERROR, InvalidSelectorException.class);2294: ^2295: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:444: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2296: exceptions.put(ErrorCodes.TIMEOUT, TimeoutException.class);2297: ^2298: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:445: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2299: exceptions.put(ErrorCodes.NO_SUCH_WINDOW, NoSuchWindowException.class);2300: ^2301: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:446: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2302: exceptions.put(ErrorCodes.INVALID_COOKIE_DOMAIN, InvalidCookieDomainException.class);2303: ^2304: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:447: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2305: exceptions.put(ErrorCodes.UNABLE_TO_SET_COOKIE, UnableToSetCookieException.class);2306: ^2307: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:448: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2308: exceptions.put(ErrorCodes.UNEXPECTED_ALERT_PRESENT, UnhandledAlertException.class);2309: ^2310: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:449: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2311: exceptions.put(ErrorCodes.NO_ALERT_PRESENT, NoAlertPresentException.class);2312: ^2313: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:450: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2314: exceptions.put(ErrorCodes.ASYNC_SCRIPT_TIMEOUT, ScriptTimeoutException.class);2315: ^2316: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:451: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2317: exceptions.put(ErrorCodes.INVALID_SELECTOR_ERROR, InvalidSelectorException.class);2318: ^2319: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:452: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2320: exceptions.put(ErrorCodes.SESSION_NOT_CREATED, SessionNotCreatedException.class);2321: ^2322: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:453: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2323: exceptions.put(ErrorCodes.MOVE_TARGET_OUT_OF_BOUNDS, MoveTargetOutOfBoundsException.class);2324: ^2325: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:454: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2326: exceptions.put(ErrorCodes.INVALID_XPATH_SELECTOR, InvalidSelectorException.class);2327: ^2328: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:455: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2329: exceptions.put(ErrorCodes.INVALID_XPATH_SELECTOR_RETURN_TYPER, InvalidSelectorException.class);2330: ^2331: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:469: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2332: ? ErrorCodes.INVALID_SELECTOR_ERROR2333: ^2334: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:471: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2335: assertThat(new ErrorCodes().toStatusCode(e)).isEqualTo(expected);2336: ^2337: java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:483: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2338: response.setState(new ErrorCodes().toState(status));2339: ^2340: (20:17:33) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.jar (1 source file):2341: 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 removal2342: import static org.openqa.selenium.remote.ErrorCodes.METHOD_NOT_ALLOWED;2343: ^2344: 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 removal2345: assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.SUCCESS);2346: ^2347: 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 removal2348: assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.UNHANDLED_ERROR);2349: ^2350: 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 removal2351: assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.UNHANDLED_ERROR);2352: ^2353: (20:17:33) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/json/JsonTest.jar (1 source file):2354: java/test/org/openqa/selenium/json/JsonTest.java:430: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2355: assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(0));2356: ^2357: java/test/org/openqa/selenium/json/JsonTest.java:441: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2358: assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(0));2359: ^2360: java/test/org/openqa/selenium/json/JsonTest.java:454: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal2361: assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(32));2362: ^
...
2553: (20:22:04) �[32m[17,347 / 17,349]�[0m 2346 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 215s remote, remote-cache ... (2 actions running)2554: (20:22:11) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 223s remote, remote-cache2555: (20:22:17) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 229s remote, remote-cache2556: (20:22:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 259s remote, remote-cache2557: (20:23:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 319s remote, remote-cache2558: (20:24:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 379s remote, remote-cache2559: (20:25:01) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 393s remote, remote-cache2560: (20:25:02) �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi/test_attempts/attempt_1.log)2561: (20:25:06) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 398s remote, remote-cache2562: (20:25:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 439s remote, remote-cache2563: (20:26:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 499s remote, remote-cache2564: (20:27:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 559s remote, remote-cache2565: (20:28:47) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 619s remote, remote-cache2566: (20:29:24) �[32m[17,348 / 17,349]�[0m 2347 / 2438 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi; 655s remote, remote-cache2567: (20:29:24) �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi/test.log)2568: �[31m�[1mFAILED: �[0m//rb/spec/integration/selenium/webdriver:network-firefox-remote-bidi (Summary)2569: /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi/test.log
...
2576: driver: remote2577: version: stable2578: platform: linux2579: ci: github2580: rbe: true2581: ruby: jruby 10.0.0.0 (3.4.2) 2025-04-13 6ed59bc847 OpenJDK 64-Bit Server VM 21.0.4+7-LTS on 21.0.4+7-LTS [x86_64-linux]2582: Selenium::WebDriver::Network2583: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/handshake/base.rb:40: warning: previous definition of to_s was here2584: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/handshake/base.rb:53: warning: previous definition of valid? was here2585: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/handshake/client.rb:57: warning: previous definition of initialize was here2586: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/handshake/client.rb:90: warning: previous definition of << was here2587: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/frame/base.rb:19: warning: previous definition of initialize was here2588: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/frame/outgoing.rb:28: warning: previous definition of to_s was here2589: /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/bin/rb/spec/integration/selenium/webdriver/network-firefox-remote-bidi.sh.runfiles/rules_ruby++ruby+bundle/vendor/bundle/jruby/3.4.0/gems/websocket-1.2.11/lib/websocket/frame/incoming.rb:40: warning: previous definition of next was here2590: adds an auth handler2591: adds an auth handler with a filter (FAILED - 1)2592: adds an auth handler with multiple filters2593: adds an auth handler with a pattern type2594: removes an auth handler (FAILED - 2)2595: clears all auth handlers2596: continues without auth2597: cancels auth2598: adds a request handler2599: adds a request handler with a filter2600: adds a request handler with multiple filters2601: adds a request handler with a pattern type2602: adds a request handler with attributes (FAILED - 3)2603: fails a request2604: removes a request handler2605: clears all request handlers2606: adds a response handler2607: adds a response handler with a filter2608: adds a response handler with multiple filters2609: adds a response handler with a pattern type2610: adds a response handler with attributes2611: adds an auth handler (FAILED - 4)2612: adds an auth handler with a filter (FAILED - 5)2613: adds an auth handler with multiple filters (FAILED - 6)2614: adds an auth handler with a pattern type (FAILED - 7)2615: removes an auth handler (FAILED - 8)2616: clears all auth handlers (FAILED - 9)2617: continues without auth (FAILED - 10)2618: cancels auth (FAILED - 11)2619: adds a request handler (FAILED - 12)2620: adds a request handler with a filter (FAILED - 13)2621: adds a request handler with multiple filters (FAILED - 14)2622: adds a request handler with a pattern type (FAILED - 15)2623: adds a request handler with attributes (FAILED - 16)2624: fails a request (FAILED - 17)2625: removes a request handler (FAILED - 18)2626: clears all request handlers (FAILED - 19)2627: adds a response handler (FAILED - 20)2628: Failures:2629: 1) Selenium::WebDriver::Network adds an auth handler with a filter2630: Got 0 failures and 2 other errors:2631: 1.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2632: IOError:2633: stream closed in another thread2634: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2635: 1.2) Failure/Error:2636: reset_driver!(web_socket_url: true) do |driver|2637: network = described_class.new(driver)2638: network.add_response_handler do |response|2639: response.status = 2002640: response.headers['foo'] = 'bar'2641: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2642: response.provide_response2643: end2644: driver.navigate.to url_for('formPage.html')2645: source = driver.page_source2646: IOError:2647: stream closed in another thread2648: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2649: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2650: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2651: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2652: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2653: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2654: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2655: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2656: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2657: 2) Selenium::WebDriver::Network removes an auth handler2658: Got 0 failures and 2 other errors:2659: 2.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2660: IOError:2661: stream closed in another thread2662: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2663: 2.2) Failure/Error:2664: reset_driver!(web_socket_url: true) do |driver|2665: network = described_class.new(driver)2666: network.add_response_handler do |response|2667: response.status = 2002668: response.headers['foo'] = 'bar'2669: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2670: response.provide_response2671: end2672: driver.navigate.to url_for('formPage.html')2673: source = driver.page_source2674: IOError:2675: stream closed in another thread2676: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2677: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2678: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2679: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2680: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2681: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2682: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2683: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2684: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2685: 3) Selenium::WebDriver::Network adds a request handler with attributes2686: Got 0 failures and 2 other errors:2687: 3.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2688: IOError:2689: stream closed in another thread2690: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2691: 3.2) Failure/Error:2692: reset_driver!(web_socket_url: true) do |driver|2693: network = described_class.new(driver)2694: network.add_response_handler do |response|2695: response.status = 2002696: response.headers['foo'] = 'bar'2697: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2698: response.provide_response2699: end2700: driver.navigate.to url_for('formPage.html')2701: source = driver.page_source2702: IOError:2703: stream closed in another thread2704: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2705: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2706: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2707: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2708: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2709: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2710: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2711: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2712: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2713: 4) Selenium::WebDriver::Network adds an auth handler2714: Failure/Error:2715: reset_driver!(web_socket_url: true) do |driver|2716: network = described_class.new(driver)2717: network.add_response_handler do |response|2718: response.status = 2002719: response.headers['foo'] = 'bar'2720: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2721: response.provide_response2722: end2723: driver.navigate.to url_for('formPage.html')2724: source = driver.page_source2725: IOError:2726: stream closed in another thread2727: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2728: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2729: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2730: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2731: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2732: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2733: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2734: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2735: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2736: 5) Selenium::WebDriver::Network adds an auth handler with a filter2737: Got 0 failures and 2 other errors:2738: 5.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2739: IOError:2740: stream closed in another thread2741: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2742: 5.2) Failure/Error:2743: reset_driver!(web_socket_url: true) do |driver|2744: network = described_class.new(driver)2745: network.add_response_handler do |response|2746: response.status = 2002747: response.headers['foo'] = 'bar'2748: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2749: response.provide_response2750: end2751: driver.navigate.to url_for('formPage.html')2752: source = driver.page_source2753: IOError:2754: stream closed in another thread2755: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2756: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2757: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2758: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2759: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2760: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2761: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2762: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2763: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2764: 6) Selenium::WebDriver::Network adds an auth handler with multiple filters2765: Failure/Error:2766: reset_driver!(web_socket_url: true) do |driver|2767: network = described_class.new(driver)2768: network.add_response_handler do |response|2769: response.status = 2002770: response.headers['foo'] = 'bar'2771: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2772: response.provide_response2773: end2774: driver.navigate.to url_for('formPage.html')2775: source = driver.page_source2776: IOError:2777: stream closed in another thread2778: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2779: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2780: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2781: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2782: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2783: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2784: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2785: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2786: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2787: 7) Selenium::WebDriver::Network adds an auth handler with a pattern type2788: Failure/Error:2789: reset_driver!(web_socket_url: true) do |driver|2790: network = described_class.new(driver)2791: network.add_response_handler do |response|2792: response.status = 2002793: response.headers['foo'] = 'bar'2794: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2795: response.provide_response2796: end2797: driver.navigate.to url_for('formPage.html')2798: source = driver.page_source2799: IOError:2800: stream closed in another thread2801: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2802: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2803: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2804: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2805: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2806: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2807: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2808: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2809: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2810: 8) Selenium::WebDriver::Network removes an auth handler2811: Got 0 failures and 2 other errors:2812: 8.1) Failure/Error: Unable to find org/jruby/RubyIO.java to read failed line2813: IOError:2814: stream closed in another thread2815: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:102:in 'block in attach_socket_listener'2816: 8.2) Failure/Error:2817: reset_driver!(web_socket_url: true) do |driver|2818: network = described_class.new(driver)2819: network.add_response_handler do |response|2820: response.status = 2002821: response.headers['foo'] = 'bar'2822: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2823: response.provide_response2824: end2825: driver.navigate.to url_for('formPage.html')2826: source = driver.page_source2827: IOError:2828: stream closed in another thread2829: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2830: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2831: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2832: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2833: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2834: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2835: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2836: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2837: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2838: 9) Selenium::WebDriver::Network clears all auth handlers2839: Failure/Error:2840: reset_driver!(web_socket_url: true) do |driver|2841: network = described_class.new(driver)2842: network.add_response_handler do |response|2843: response.status = 2002844: response.headers['foo'] = 'bar'2845: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2846: response.provide_response2847: end2848: driver.navigate.to url_for('formPage.html')2849: source = driver.page_source2850: IOError:2851: stream closed in another thread2852: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2853: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2854: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2855: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2856: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2857: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2858: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2859: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2860: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2861: 10) Selenium::WebDriver::Network continues without auth2862: Failure/Error:2863: reset_driver!(web_socket_url: true) do |driver|2864: network = described_class.new(driver)2865: network.add_response_handler do |response|2866: response.status = 2002867: response.headers['foo'] = 'bar'2868: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2869: response.provide_response2870: end2871: driver.navigate.to url_for('formPage.html')2872: source = driver.page_source2873: IOError:2874: stream closed in another thread2875: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2876: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2877: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2878: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2879: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2880: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2881: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2882: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2883: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2884: 11) Selenium::WebDriver::Network cancels auth2885: Failure/Error:2886: reset_driver!(web_socket_url: true) do |driver|2887: network = described_class.new(driver)2888: network.add_response_handler do |response|2889: response.status = 2002890: response.headers['foo'] = 'bar'2891: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2892: response.provide_response2893: end2894: driver.navigate.to url_for('formPage.html')2895: source = driver.page_source2896: IOError:2897: stream closed in another thread2898: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2899: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2900: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2901: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2902: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2903: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2904: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2905: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2906: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2907: 12) Selenium::WebDriver::Network adds a request handler2908: Failure/Error:2909: reset_driver!(web_socket_url: true) do |driver|2910: network = described_class.new(driver)2911: network.add_response_handler do |response|2912: response.status = 2002913: response.headers['foo'] = 'bar'2914: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2915: response.provide_response2916: end2917: driver.navigate.to url_for('formPage.html')2918: source = driver.page_source2919: IOError:2920: stream closed in another thread2921: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2922: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2923: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2924: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2925: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2926: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2927: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2928: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2929: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2930: 13) Selenium::WebDriver::Network adds a request handler with a filter2931: Failure/Error:2932: reset_driver!(web_socket_url: true) do |driver|2933: network = described_class.new(driver)2934: network.add_response_handler do |response|2935: response.status = 2002936: response.headers['foo'] = 'bar'2937: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2938: response.provide_response2939: end2940: driver.navigate.to url_for('formPage.html')2941: source = driver.page_source2942: IOError:2943: stream closed in another thread2944: # ./rb/lib/selenium/webdriver/common/websocket_connection.rb:48:in 'close'2945: # ./rb/lib/selenium/webdriver/bidi.rb:39:in 'close'2946: # ./rb/lib/selenium/webdriver/remote/bidi_bridge.rb:51:in 'quit'2947: # ./rb/lib/selenium/webdriver/common/driver.rb:181:in 'quit'2948: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:185:in 'create_driver!'2949: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:65:in 'driver_instance'2950: # ./rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:74:in 'reset_driver!'2951: # ./rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in 'reset_driver!'2952: # ./rb/spec/integration/selenium/webdriver/network_spec.rb:269:in 'block in WebDriver'2953: 14) Selenium::WebDriver::Network adds a request handler with multiple filters2954: Failure/Error:2955: reset_driver!(web_socket_url: true) do |driver|2956: network = described_class.new(driver)2957: network.add_response_handler do |response|2958: response.status = 2002959: response.headers['foo'] = 'bar'2960: response.body = '<html><head><title>Hello World!</title></head><body/></html>'2961: respo...

@titusfortner

Copy link
Copy Markdown
MemberAuthor

I think these new remote-bidi failures are flaky and will be fixed by #16487
Rerun tests after that is merged.

@titusfortner
titusfortner marked this pull request as draft October 24, 2025 14:58
@titusfortner

Copy link
Copy Markdown
MemberAuthor

Moving to draft, still needs optimizing

@github-actionsgithub-actionsBot added the J-stale Applied to issues that become stale, and eventually closed. label Apr 22, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

B-buildIncludes scripting, bazel and CI integrationsB-devtoolsIncludes everything BiDi or Chrome DevTools relatedC-rbRuby BindingsJ-staleApplied to issues that become stale, and eventually closed.Review effort 2/5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@titusfortner@p0deje@selenium-ci