Skip to content

[java]: Fix addCredential() in VirtualAuthenticator #15633

New issue

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

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

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: trunk
Choose a base branch
from

Conversation

VietND96
Copy link
Member

@VietND96 VietND96 commented Apr 16, 2025

User description

🔗 Related Issues

💥 What does this PR do?

Example tests in selenium docs failed.

    @Test
    fun testCreateAndAddNonResidentialKey() {
        val options = VirtualAuthenticatorOptions()
            .setProtocol(VirtualAuthenticatorOptions.Protocol.U2F)
            .setHasResidentKey(false)
        val authenticator = (driver as HasVirtualAuthenticator?)!!.addVirtualAuthenticator(options)
        val credentialId = byteArrayOf(1, 2, 3, 4)
        val nonResidentCredential = Credential.createNonResidentCredential(
            credentialId, "localhost", ec256PrivateKey,  /*signCount=*/0
        )
        authenticator.addCredential(nonResidentCredential)
        val credentialList = authenticator.credentials
        Assertions.assertEquals(1, credentialList.size)
        val credential = credentialList[0]
        Assertions.assertArrayEquals(credentialId, credential.id)
    }
[ERROR] dev.selenium.virtualauthenticator.VirtualAuthenticatorTest.testCreateAndAddNonResidentialKey -- Time elapsed: 0.768 s <<< ERROR!
java.lang.IllegalArgumentException: rpId must be set
        at org.openqa.selenium.internal.Require.nonNull(Require.java:64)
        at org.openqa.selenium.virtualauthenticator.Credential.fromMap(Credential.java:69)
        at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:215)
        at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1709)
        at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:570)
        at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:560)
        at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
        at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265)
        at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:727)
        at org.openqa.selenium.remote.RemoteWebDriver$RemoteVirtualAuthenticator.getCredentials(RemoteWebDriver.java:1264)
        at dev.selenium.virtualauthenticator.VirtualAuthenticatorTest.testCreateAndAddNonResidentialKey(VirtualAuthenticatorTest.kt:120)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1597)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1597)

🔧 Implementation Notes

💡 Additional Considerations

🔄 Types of changes

  • Cleanup (formatting, renaming)
  • Bug fix (backwards compatible)
  • New feature (non-breaking change which adds functionality and tests!)
  • Breaking change (fix or feature that would cause existing functionality to change)

PR Type

Bug fix, Tests


Description

  • Fixed rpId null check in Credential.fromMap method.

  • Added calls to authenticator.getCredentials() in multiple test cases.

  • Enhanced test coverage for non-resident and resident credentials.


Changes walkthrough 📝

Relevant files
Bug fix
Credential.java
Made `rpId` optional in `Credential.fromMap`                         

java/src/org/openqa/selenium/virtualauthenticator/Credential.java

  • Removed mandatory null check for rpId.
  • Allowed rpId to be optional in Credential.fromMap.
  • +1/-1     
    Tests
    VirtualAuthenticatorTest.java
    Enhanced tests for VirtualAuthenticator credentials           

    java/test/org/openqa/selenium/virtualauthenticator/VirtualAuthenticatorTest.java

  • Added authenticator.getCredentials() calls to validate credential
    addition.
  • Updated multiple test cases for non-resident and resident credentials.
  • Improved test assertions for credential handling.
  • +4/-0     

    Need help?
  • Type /help how to ... in the comments thread for any questions about Qodo Merge usage.
  • Check out the documentation for more information.
  • @VietND96 VietND96 requested a review from pujagani April 16, 2025 17:48
    @selenium-ci selenium-ci added the C-java Java Bindings label Apr 16, 2025
    Copy link
    Contributor

    PR Reviewer Guide 🔍

    Here are some key observations to aid the review process:

    🎫 Ticket compliance analysis ❌

    1234 - Not compliant

    Non-compliant requirements:

    • Fix issue where Selenium 2.48 doesn't trigger JavaScript in link's href on click()

    Requires further human verification:

    • Need to verify if the VirtualAuthenticator changes have any relation to the JavaScript click issue in Firefox

    5678 - Not compliant

    Non-compliant requirements:

    • Fix "Error: ConnectFailure (Connection refused)" when instantiating ChromeDriver

    Requires further human verification:

    • Need to verify if the VirtualAuthenticator changes have any relation to the ChromeDriver connection issues

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

    Potential Regression

    Making rpId optional might cause issues with other credential types or implementations that expect rpId to be present. Need to verify this change doesn't break existing functionality.

    Object rpId = map.get("rpId");
    Object privateKey = Require.nonNull("privateKey", map.get("privateKey"));

    Copy link
    Contributor

    qodo-merge-pro bot commented Apr 16, 2025

    PR Code Suggestions ✨

    Explore these optional code suggestions:

    CategorySuggestion                                                                                                                                    Impact
    Possible issue
    Prevent null rpId
    Suggestion Impact:The suggestion recommended handling null rpId values, and the commit addressed this by using Require.nonNull() to ensure rpId is not null, which achieves the same goal of preventing NullPointerExceptions but with a different implementation approach

    code diff:

    -    Object rpId = map.get("rpId");
    +    Object rpId = Require.nonNull("rpId", map.get("rpId"));

    The code now allows rpId to be null, but the rest of the method likely assumes
    it's non-null. This could lead to NullPointerExceptions when the value is used
    later in the method or in other parts of the code that expect rpId to be valid.

    java/src/org/openqa/selenium/virtualauthenticator/Credential.java [69]

     Object rpId = map.get("rpId");
    +if (rpId == null) {
    +  rpId = "";  // or another appropriate default value
    +}

    [Suggestion has been applied]

    Suggestion importance[1-10]: 8

    __

    Why: This suggestion addresses a potential NullPointerException that could occur after removing the null check for rpId. Since the PR explicitly makes rpId optional, providing a default value when it's null is important for maintaining robust behavior and preventing runtime errors.

    Medium
    • Update

    Copy link
    Contributor

    qodo-merge-pro bot commented Apr 16, 2025

    CI Feedback 🧐

    (Feedback updated until commit e2d02a1)

    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: org.openqa.selenium.virtualauthenticator.VirtualAuthenticatorTest.testAddNonResidentCredential

    Failure summary:

    The action failed because two tests in the VirtualAuthenticatorTest class failed with the same
    error: "java.lang.IllegalArgumentException: rpId must be set". The error occurs in the
    testAddNonResidentCredential() method at line 192, where the Credential.fromMap() method is
    expecting an rpId parameter that is missing or null. This happens when trying to get credentials
    from the virtual authenticator.

    Relevant error logs:
    1:  ##[group]Operating System
    2:  Ubuntu
    ...
    
    945:  Package 'php-sql-formatter' is not installed, so not removed
    946:  Package 'php8.3-ssh2' is not installed, so not removed
    947:  Package 'php-ssh2-all-dev' is not installed, so not removed
    948:  Package 'php8.3-stomp' is not installed, so not removed
    949:  Package 'php-stomp-all-dev' is not installed, so not removed
    950:  Package 'php-swiftmailer' is not installed, so not removed
    951:  Package 'php-symfony' is not installed, so not removed
    952:  Package 'php-symfony-asset' is not installed, so not removed
    953:  Package 'php-symfony-asset-mapper' is not installed, so not removed
    954:  Package 'php-symfony-browser-kit' is not installed, so not removed
    955:  Package 'php-symfony-clock' is not installed, so not removed
    956:  Package 'php-symfony-debug-bundle' is not installed, so not removed
    957:  Package 'php-symfony-doctrine-bridge' is not installed, so not removed
    958:  Package 'php-symfony-dom-crawler' is not installed, so not removed
    959:  Package 'php-symfony-dotenv' is not installed, so not removed
    960:  Package 'php-symfony-error-handler' is not installed, so not removed
    961:  Package 'php-symfony-event-dispatcher' is not installed, so not removed
    ...
    
    1139:  Package 'php-twig-html-extra' is not installed, so not removed
    1140:  Package 'php-twig-i18n-extension' is not installed, so not removed
    1141:  Package 'php-twig-inky-extra' is not installed, so not removed
    1142:  Package 'php-twig-intl-extra' is not installed, so not removed
    1143:  Package 'php-twig-markdown-extra' is not installed, so not removed
    1144:  Package 'php-twig-string-extra' is not installed, so not removed
    1145:  Package 'php8.3-uopz' is not installed, so not removed
    1146:  Package 'php-uopz-all-dev' is not installed, so not removed
    1147:  Package 'php8.3-uploadprogress' is not installed, so not removed
    1148:  Package 'php-uploadprogress-all-dev' is not installed, so not removed
    1149:  Package 'php8.3-uuid' is not installed, so not removed
    1150:  Package 'php-uuid-all-dev' is not installed, so not removed
    1151:  Package 'php-validate' is not installed, so not removed
    1152:  Package 'php-vlucas-phpdotenv' is not installed, so not removed
    1153:  Package 'php-voku-portable-ascii' is not installed, so not removed
    1154:  Package 'php-wmerrors' is not installed, so not removed
    1155:  Package 'php-xdebug-all-dev' is not installed, so not removed
    ...
    
    2110:  127 |     for (int i = 0; i < path.size(); ++i) {
    2111:  |                     ~~^~~~~~~~~~~~~
    2112:  (17:55:51) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/action_test.html -> javascript/atoms/test/action_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    2113:  (17:55:51) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/attribute_test.html -> javascript/atoms/test/attribute_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    2114:  (17:55:51) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/child_locator_test.html -> javascript/atoms/test/child_locator_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    2115:  (17:55:51) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/click_link_test.html -> javascript/atoms/test/click_link_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    2116:  (17:55:51) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/click_submit_test.html -> javascript/atoms/test/click_submit_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    2117:  (17:55:51) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/click_test.html -> javascript/atoms/test/click_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    2118:  (17:55:51) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/clientrect_test.html -> javascript/atoms/test/clientrect_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    2119:  (17:55:51) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/color_test.html -> javascript/atoms/test/color_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    2120:  (17:55:51) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/deps.js -> javascript/atoms/test/deps.js obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    2121:  (17:55:51) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/dom_test.html -> javascript/atoms/test/dom_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    2122:  (17:55:51) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/drag_test.html -> javascript/atoms/test/drag_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    2123:  (17:55:51) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/enabled_test.html -> javascript/atoms/test/enabled_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    2124:  (17:55:51) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/enter_submit_test.html -> javascript/atoms/test/enter_submit_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    2125:  (17:55:51) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/atoms/BUILD.bazel:397:19: runfiles symlink javascript/atoms/test/error_test.html -> javascript/atoms/test/error_test.html obscured by javascript/atoms/test -> bazel-out/k8-fastbuild/bin/javascript/atoms/test
    2126:  (17:55:51) �[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
    ...
    
    2223:  (17:55:53) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/webdriver/BUILD.bazel:66:19: runfiles symlink javascript/webdriver/test/atoms/storage/local_storage_test.html -> javascript/webdriver/test/atoms/storage/local_storage_test.html obscured by javascript/webdriver/test -> bazel-out/k8-fastbuild/bin/javascript/webdriver/test
    2224:  (17:55:53) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/webdriver/BUILD.bazel:66:19: runfiles symlink javascript/webdriver/test/atoms/storage/session_storage_test.html -> javascript/webdriver/test/atoms/storage/session_storage_test.html obscured by javascript/webdriver/test -> bazel-out/k8-fastbuild/bin/javascript/webdriver/test
    2225:  (17:55:53) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/webdriver/BUILD.bazel:66:19: runfiles symlink javascript/webdriver/test/http/corsclient_test.js -> javascript/webdriver/test/http/corsclient_test.js obscured by javascript/webdriver/test -> bazel-out/k8-fastbuild/bin/javascript/webdriver/test
    2226:  (17:55:53) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/webdriver/BUILD.bazel:66:19: runfiles symlink javascript/webdriver/test/http/http_test.js -> javascript/webdriver/test/http/http_test.js obscured by javascript/webdriver/test -> bazel-out/k8-fastbuild/bin/javascript/webdriver/test
    2227:  (17:55:53) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/webdriver/BUILD.bazel:66:19: runfiles symlink javascript/webdriver/test/http/xhrclient_test.js -> javascript/webdriver/test/http/xhrclient_test.js obscured by javascript/webdriver/test -> bazel-out/k8-fastbuild/bin/javascript/webdriver/test
    2228:  (17:55:53) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/webdriver/BUILD.bazel:66:19: runfiles symlink javascript/webdriver/test/logging_test.js -> javascript/webdriver/test/logging_test.js obscured by javascript/webdriver/test -> bazel-out/k8-fastbuild/bin/javascript/webdriver/test
    2229:  (17:55:53) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/webdriver/BUILD.bazel:66:19: runfiles symlink javascript/webdriver/test/stacktrace_test.js -> javascript/webdriver/test/stacktrace_test.js obscured by javascript/webdriver/test -> bazel-out/k8-fastbuild/bin/javascript/webdriver/test
    2230:  (17:55:53) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/webdriver/BUILD.bazel:66:19: runfiles symlink javascript/webdriver/test/test_bootstrap.js -> javascript/webdriver/test/test_bootstrap.js obscured by javascript/webdriver/test -> bazel-out/k8-fastbuild/bin/javascript/webdriver/test
    2231:  (17:55:53) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/webdriver/BUILD.bazel:66:19: runfiles symlink javascript/webdriver/test/testutil.js -> javascript/webdriver/test/testutil.js obscured by javascript/webdriver/test -> bazel-out/k8-fastbuild/bin/javascript/webdriver/test
    2232:  (17:55:53) �[35mWARNING: �[0m/home/runner/work/selenium/selenium/javascript/webdriver/BUILD.bazel:66:19: runfiles symlink javascript/webdriver/test/testutil_test.js -> javascript/webdriver/test/testutil_test.js obscured by javascript/webdriver/test -> bazel-out/k8-fastbuild/bin/javascript/webdriver/test
    2233:  (17:55:54) �[32mINFO: �[0mFrom Building external/protobuf+/java/core/libcore.jar (43 source files, 1 source jar) [for tool]:
    2234:  external/protobuf+/java/core/src/main/java/com/google/protobuf/RepeatedFieldBuilderV3.java:28: warning: [dep-ann] deprecated item is not annotated with @Deprecated
    2235:  public class RepeatedFieldBuilderV3<
    2236:  ^
    2237:  (17:55:56) �[32mINFO: �[0mFrom Building java/src/org/openqa/selenium/remote/libapi-class.jar (70 source files):
    2238:  java/src/org/openqa/selenium/remote/ErrorHandler.java:46: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2239:  private final ErrorCodes errorCodes;
    2240:  ^
    2241:  java/src/org/openqa/selenium/remote/ErrorHandler.java:60: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2242:  this.errorCodes = new ErrorCodes();
    2243:  ^
    2244:  java/src/org/openqa/selenium/remote/ErrorHandler.java:68: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2245:  public ErrorHandler(ErrorCodes codes, boolean includeServerErrors) {
    2246:  ^
    2247:  java/src/org/openqa/selenium/remote/Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2248:  ErrorCodes errorCodes = new ErrorCodes();
    2249:  ^
    2250:  java/src/org/openqa/selenium/remote/Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2251:  ErrorCodes errorCodes = new ErrorCodes();
    2252:  ^
    2253:  java/src/org/openqa/selenium/remote/ProtocolHandshake.java:181: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2254:  response.setStatus(ErrorCodes.SUCCESS);
    2255:  ^
    2256:  java/src/org/openqa/selenium/remote/ProtocolHandshake.java:182: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2257:  response.setState(ErrorCodes.SUCCESS_STRING);
    2258:  ^
    2259:  java/src/org/openqa/selenium/remote/W3CHandshakeResponse.java:53: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2260:  new ErrorCodes().toStatus((String) rawError, Optional.of(tuple.getStatusCode())));
    2261:  ^
    2262:  java/src/org/openqa/selenium/remote/W3CHandshakeResponse.java:56: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2263:  new ErrorCodes().getExceptionType((String) rawError);
    2264:  ^
    2265:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:44: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2266:  private final ErrorCodes errorCodes = new ErrorCodes();
    2267:  ^
    2268:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:44: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2269:  private final ErrorCodes errorCodes = new ErrorCodes();
    2270:  ^
    2271:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:55: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2272:  int status = response.getStatus() == ErrorCodes.SUCCESS ? HTTP_OK : HTTP_INTERNAL_ERROR;
    2273:  ^
    2274:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:101: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2275:  response.setStatus(ErrorCodes.UNKNOWN_COMMAND);
    2276:  ^
    2277:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:103: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2278:  response.setStatus(ErrorCodes.UNHANDLED_ERROR);
    2279:  ^
    2280:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:117: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2281:  response.setStatus(ErrorCodes.SUCCESS);
    2282:  ^
    2283:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:118: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2284:  response.setState(errorCodes.toState(ErrorCodes.SUCCESS));
    2285:  ^
    2286:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:124: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2287:  response.setState(errorCodes.toState(ErrorCodes.SUCCESS));
    2288:  ^
    2289:  java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:70: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2290:  private final ErrorCodes errorCodes = new ErrorCodes();
    2291:  ^
    2292:  java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:70: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2293:  private final ErrorCodes errorCodes = new ErrorCodes();
    2294:  ^
    2295:  java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:93: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2296:  response.setStatus(ErrorCodes.UNKNOWN_COMMAND);
    2297:  ^
    2298:  java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:98: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2299:  response.setStatus(ErrorCodes.UNHANDLED_ERROR);
    2300:  ^
    2301:  java/src/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodec.java:145: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2302:  response.setStatus(ErrorCodes.SUCCESS);
    2303:  ^
    ...
    
    2353:  dotnet/src/webdriver/DevTools/v134/V134Network.cs(320,94): warning CS8601: Possible null reference assignment.
    2354:  (17:56:02) �[32mAnalyzing:�[0m 2270 targets (1652 packages loaded, 62779 targets configured)
    2355:  �[32m[9,237 / 9,770]�[0m 99 / 1349 tests;�[0m Extracting npm package @mui/[email protected]_60647716; 4s remote, remote-cache ... (4 actions, 0 running)
    2356:  (17:56:07) �[32mAnalyzing:�[0m 2270 targets (1652 packages loaded, 62898 targets configured)
    2357:  �[32m[9,261 / 9,831]�[0m 104 / 1358 tests;�[0m Extracting npm package @mui/[email protected]_60647716; 9s remote, remote-cache ... (11 actions, 0 running)
    2358:  (17:56:12) �[32mAnalyzing:�[0m 2270 targets (1652 packages loaded, 63096 targets configured)
    2359:  �[32m[9,343 / 9,912]�[0m 106 / 1366 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver:target_locator-firefox-beta-bidi ... (48 actions, 0 running)
    2360:  (17:56:17) �[32mAnalyzing:�[0m 2270 targets (1652 packages loaded, 63283 targets configured)
    2361:  �[32m[9,381 / 10,004]�[0m 114 / 1378 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver:fedcm-firefox-beta; 6s ... (50 actions, 0 running)
    2362:  (17:56:22) �[32mAnalyzing:�[0m 2270 targets (1652 packages loaded, 63388 targets configured)
    2363:  �[32m[9,467 / 10,296]�[0m 135 / 1476 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver/remote:element-firefox; 4s ... (49 actions, 0 running)
    2364:  (17:56:25) �[32mINFO: �[0mFrom PackageZip javascript/grid-ui/react-zip.jar:
    2365:  /mnt/engflow/worker/work/1/exec/bazel-out/k8-opt-exec-ST-a934f86a68ba/bin/external/rules_pkg+/pkg/private/zip/build_zip.runfiles/rules_python++python+python_3_9_x86_64-unknown-linux-gnu/lib/python3.9/zipfile.py:1522: UserWarning: Duplicate name: 'grid-ui/'
    2366:  return self._open_to_write(zinfo, force_zip64=force_zip64)
    2367:  (17:56:27) �[32mAnalyzing:�[0m 2270 targets (1652 packages loaded, 63542 targets configured)
    2368:  �[32m[9,516 / 10,450]�[0m 149 / 1515 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver:error-edge; 5s ... (50 actions, 0 running)
    2369:  (17:56:32) �[32mAnalyzing:�[0m 2270 targets (1652 packages loaded, 63612 targets configured)
    2370:  �[32m[9,595 / 10,616]�[0m 162 / 1584 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver:driver-edge; 5s ... (49 actions, 1 running)
    2371:  (17:56:37) �[32mAnalyzing:�[0m 2270 targets (1652 packages loaded, 63715 targets configured)
    2372:  �[32m[9,838 / 11,650]�[0m 190 / 1974 tests;�[0m [Prepa] Testing //rb/spec/unit/selenium/webdriver/support:color ... (50 actions, 0 running)
    2373:  (17:56:42) �[32mAnalyzing:�[0m 2270 targets (1652 packages loaded, 63749 targets configured)
    2374:  �[32m[9,984 / 12,041]�[0m 232 / 2149 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver:navigation-firefox-beta ... (47 actions, 0 running)
    2375:  (17:56:47) �[32mAnalyzing:�[0m 2270 targets (1652 packages loaded, 63792 targets configured)
    2376:  �[32m[10,202 / 12,206]�[0m 314 / 2192 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver/remote:driver-chrome-bidi ... (47 actions, 1 running)
    2377:  (17:56:52) �[32mAnalyzing:�[0m 2270 targets (1652 packages loaded, 63808 targets configured)
    2378:  �[32m[10,710 / 12,617]�[0m 376 / 2206 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver/edge:profile-edge ... (50 actions, 1 running)
    2379:  (17:56:57) �[32mAnalyzing:�[0m 2270 targets (1652 packages loaded, 63848 targets configured)
    2380:  �[32m[11,183 / 12,923]�[0m 477 / 2248 tests;�[0m [Prepa] Testing //py:common-firefox-test/selenium/webdriver/common/click_scrolling_tests.py ... (49 actions, 2 running)
    2381:  (17:56:59) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/ErrorHandlerTest.jar (1 source file) and running annotation processors (AutoServiceProcessor):
    2382:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:79: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2383:  handler.throwIfResponseFailed(createResponse(ErrorCodes.SUCCESS), 100);
    2384:  ^
    2385:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:85: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2386:  assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_WINDOW, NoSuchWindowException.class);
    2387:  ^
    2388:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:86: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2389:  assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_FRAME, NoSuchFrameException.class);
    2390:  ^
    2391:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:87: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2392:  assertThrowsCorrectExceptionType(ErrorCodes.NO_SUCH_ELEMENT, NoSuchElementException.class);
    2393:  ^
    2394:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:88: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2395:  assertThrowsCorrectExceptionType(ErrorCodes.UNKNOWN_COMMAND, UnsupportedCommandException.class);
    2396:  ^
    2397:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:90: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2398:  ErrorCodes.METHOD_NOT_ALLOWED, UnsupportedCommandException.class);
    2399:  ^
    2400:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:92: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2401:  ErrorCodes.STALE_ELEMENT_REFERENCE, StaleElementReferenceException.class);
    2402:  ^
    2403:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:94: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2404:  ErrorCodes.INVALID_ELEMENT_STATE, InvalidElementStateException.class);
    2405:  ^
    2406:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:95: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2407:  assertThrowsCorrectExceptionType(ErrorCodes.XPATH_LOOKUP_ERROR, InvalidSelectorException.class);
    2408:  ^
    2409:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:107: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2410:  Response response = createResponse(ErrorCodes.UNHANDLED_ERROR);
    2411:  ^
    2412:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:120: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2413:  createResponse(ErrorCodes.UNHANDLED_ERROR, "boom"), 123))
    2414:  ^
    2415:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:133: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2416:  createResponse(ErrorCodes.UNHANDLED_ERROR, ImmutableMap.of("message", "boom")),
    2417:  ^
    2418:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:147: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2419:  ErrorCodes.UNHANDLED_ERROR,
    2420:  ^
    2421:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:167: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2422:  ErrorCodes.UNHANDLED_ERROR,
    2423:  ^
    2424:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:193: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2425:  createResponse(ErrorCodes.UNHANDLED_ERROR, toMap(serverError)), 123))
    2426:  ^
    2427:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:214: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2428:  createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))
    2429:  ^
    2430:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:248: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2431:  createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))
    2432:  ^
    2433:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:280: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2434:  createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))
    2435:  ^
    2436:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:308: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2437:  createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))
    2438:  ^
    2439:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:327: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2440:  createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))
    2441:  ^
    2442:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:355: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2443:  createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))
    2444:  ^
    2445:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:394: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2446:  createResponse(ErrorCodes.UNHANDLED_ERROR, data), 123))
    2447:  ^
    2448:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:426: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2449:  createResponse(ErrorCodes.UNHANDLED_ERROR, toMap(serverError)), 123))
    2450:  ^
    2451:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:435: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2452:  exceptions.put(ErrorCodes.NO_SUCH_SESSION, NoSuchSessionException.class);
    2453:  ^
    2454:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:436: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2455:  exceptions.put(ErrorCodes.NO_SUCH_ELEMENT, NoSuchElementException.class);
    2456:  ^
    2457:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:437: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2458:  exceptions.put(ErrorCodes.NO_SUCH_FRAME, NoSuchFrameException.class);
    2459:  ^
    2460:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:438: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2461:  exceptions.put(ErrorCodes.UNKNOWN_COMMAND, UnsupportedCommandException.class);
    2462:  ^
    2463:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:439: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2464:  exceptions.put(ErrorCodes.STALE_ELEMENT_REFERENCE, StaleElementReferenceException.class);
    2465:  ^
    2466:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:440: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2467:  exceptions.put(ErrorCodes.INVALID_ELEMENT_STATE, InvalidElementStateException.class);
    2468:  ^
    2469:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:441: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2470:  exceptions.put(ErrorCodes.UNHANDLED_ERROR, WebDriverException.class);
    2471:  ^
    2472:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:442: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2473:  exceptions.put(ErrorCodes.JAVASCRIPT_ERROR, JavascriptException.class);
    2474:  ^
    2475:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:443: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2476:  exceptions.put(ErrorCodes.XPATH_LOOKUP_ERROR, InvalidSelectorException.class);
    2477:  ^
    2478:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:444: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2479:  exceptions.put(ErrorCodes.TIMEOUT, TimeoutException.class);
    2480:  ^
    2481:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:445: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2482:  exceptions.put(ErrorCodes.NO_SUCH_WINDOW, NoSuchWindowException.class);
    2483:  ^
    2484:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:446: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2485:  exceptions.put(ErrorCodes.INVALID_COOKIE_DOMAIN, InvalidCookieDomainException.class);
    2486:  ^
    2487:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:447: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2488:  exceptions.put(ErrorCodes.UNABLE_TO_SET_COOKIE, UnableToSetCookieException.class);
    2489:  ^
    2490:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:448: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2491:  exceptions.put(ErrorCodes.UNEXPECTED_ALERT_PRESENT, UnhandledAlertException.class);
    2492:  ^
    2493:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:449: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2494:  exceptions.put(ErrorCodes.NO_ALERT_PRESENT, NoAlertPresentException.class);
    2495:  ^
    2496:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:450: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2497:  exceptions.put(ErrorCodes.ASYNC_SCRIPT_TIMEOUT, ScriptTimeoutException.class);
    2498:  ^
    2499:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:451: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2500:  exceptions.put(ErrorCodes.INVALID_SELECTOR_ERROR, InvalidSelectorException.class);
    2501:  ^
    2502:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:452: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2503:  exceptions.put(ErrorCodes.SESSION_NOT_CREATED, SessionNotCreatedException.class);
    2504:  ^
    2505:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:453: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2506:  exceptions.put(ErrorCodes.MOVE_TARGET_OUT_OF_BOUNDS, MoveTargetOutOfBoundsException.class);
    2507:  ^
    2508:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:454: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2509:  exceptions.put(ErrorCodes.INVALID_XPATH_SELECTOR, InvalidSelectorException.class);
    2510:  ^
    2511:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:455: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2512:  exceptions.put(ErrorCodes.INVALID_XPATH_SELECTOR_RETURN_TYPER, InvalidSelectorException.class);
    2513:  ^
    2514:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:469: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2515:  ? ErrorCodes.INVALID_SELECTOR_ERROR
    2516:  ^
    2517:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:471: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2518:  assertThat(new ErrorCodes().toStatusCode(e)).isEqualTo(expected);
    2519:  ^
    2520:  java/test/org/openqa/selenium/remote/ErrorHandlerTest.java:483: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2521:  response.setState(new ErrorCodes().toState(status));
    2522:  ^
    2523:  (17:57:01) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/RemotableByTest.jar (1 source file) and running annotation processors (AutoServiceProcessor):
    2524:  java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2525:  import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;
    2526:  ^
    2527:  java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2528:  import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;
    2529:  ^
    2530:  java/test/org/openqa/selenium/remote/RemotableByTest.java:23: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2531:  import static org.openqa.selenium.remote.ErrorCodes.SUCCESS_STRING;
    2532:  ^
    2533:  java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2534:  private final ErrorCodes errorCodes = new ErrorCodes();
    2535:  ^
    2536:  java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2537:  private final ErrorCodes errorCodes = new ErrorCodes();
    2538:  ^
    2539:  java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2540:  private final ErrorCodes errorCodes = new ErrorCodes();
    2541:  ^
    2542:  java/test/org/openqa/selenium/remote/RemotableByTest.java:45: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2543:  private final ErrorCodes errorCodes = new ErrorCodes();
    2544:  ^
    2545:  (17:57:02) �[32mAnalyzing:�[0m 2270 targets (1652 packages loaded, 63852 targets configured)
    2546:  �[32m[11,824 / 13,367]�[0m 584 / 2252 tests;�[0m [Prepa] Testing //rb/spec/integration/selenium/webdriver:target_locator-chrome ... (44 actions, 4 running)
    2547:  (17:57:03) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/libsmall-tests-test-lib.jar (5 source files) and running annotation processors (AutoServiceProcessor):
    2548:  java/test/org/openqa/selenium/remote/WebDriverFixture.java:170: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2549:  response.setStatus(new ErrorCodes().toStatus(state, Optional.of(400)));
    2550:  ^
    2551:  (17:57:07) �[32mAnalyzing:�[0m 2270 targets (1652 packages loaded, 63852 targets configured)
    2552:  �[32m[12,075 / 13,561]�[0m 626 / 2252 tests;�[0m Testing //dotnet/test/common:SvgDocumentTest-chrome; 2s remote, remote-cache ... (50 actions, 1 running)
    2553:  (17:57:08) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.jar (1 source file):
    2554:  java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.java:26: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2555:  import static org.openqa.selenium.remote.ErrorCodes.METHOD_NOT_ALLOWED;
    2556:  ^
    2557:  java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.java:55: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2558:  assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.SUCCESS);
    2559:  ^
    2560:  java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.java:81: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2561:  assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.UNHANDLED_ERROR);
    2562:  ^
    2563:  java/test/org/openqa/selenium/remote/codec/w3c/W3CHttpResponseCodecTest.java:107: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2564:  assertThat(decoded.getStatus()).isEqualTo(ErrorCodes.UNHANDLED_ERROR);
    2565:  ^
    2566:  (17:57:09) �[32mINFO: �[0mFrom Building java/test/org/openqa/selenium/json/JsonTest.jar (1 source file):
    2567:  java/test/org/openqa/selenium/json/JsonTest.java:430: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2568:  assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(0));
    2569:  ^
    2570:  java/test/org/openqa/selenium/json/JsonTest.java:441: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2571:  assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(0));
    2572:  ^
    2573:  java/test/org/openqa/selenium/json/JsonTest.java:454: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    2574:  assertThat(response.getState()).isEqualTo(new ErrorCodes().toState(32));
    2575:  ^
    ...
    
    2625:  (18:01:39) �[32m[15,087 / 15,862]�[0m 1418 / 2270 tests;�[0m Testing //dotnet/test/common:BiDi/Script/CallFunctionParameterTest-firefox; 185s remote, remote-cache ... (50 actions, 44 running)
    2626:  (18:01:44) �[32m[15,175 / 15,873]�[0m 1499 / 2270 tests;�[0m Testing //dotnet/test/common:BiDi/BrowsingContext/BrowsingContextTest-firefox; 135s remote, remote-cache ... (50 actions, 37 running)
    2627:  (18:01:49) �[32m[15,353 / 15,906]�[0m 1646 / 2270 tests;�[0m Testing //dotnet/test/common:BiDi/BrowsingContext/BrowsingContextTest-firefox; 140s remote, remote-cache ... (50 actions, 28 running)
    2628:  (18:01:56) �[32m[15,395 / 15,906]�[0m 1688 / 2270 tests;�[0m Testing //dotnet/test/common:BiDi/BrowsingContext/BrowsingContextTest-firefox; 146s remote, remote-cache ... (50 actions, 29 running)
    2629:  (18:02:01) �[32m[15,400 / 15,906]�[0m 1693 / 2270 tests;�[0m Testing //dotnet/test/common:BiDi/BrowsingContext/BrowsingContextTest-firefox; 151s remote, remote-cache ... (50 actions, 32 running)
    2630:  (18:02:07) �[32m[15,421 / 15,906]�[0m 1714 / 2270 tests;�[0m Testing //dotnet/test/common:BiDi/BrowsingContext/BrowsingContextTest-firefox; 157s remote, remote-cache ... (50 actions, 35 running)
    2631:  (18:02:12) �[32m[15,421 / 15,906]�[0m 1714 / 2270 tests;�[0m Testing //dotnet/test/common:BiDi/BrowsingContext/BrowsingContextTest-firefox; 162s remote, remote-cache ... (50 actions, 42 running)
    2632:  (18:02:15) �[31m�[1mFAIL: �[0m//java/test/org/openqa/selenium/virtualauthenticator:VirtualAuthenticatorTest-edge (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/java/test/org/openqa/selenium/virtualauthenticator/VirtualAuthenticatorTest-edge/test_attempts/attempt_1.log)
    2633:  (18:02:18) �[32m[15,437 / 15,906]�[0m 1730 / 2270 tests;�[0m Testing //dotnet/test/common:BiDi/BrowsingContext/BrowsingContextTest-firefox; 168s remote, remote-cache ... (50 actions, 40 running)
    2634:  (18:02:23) �[32m[15,484 / 15,906]�[0m 1777 / 2270 tests;�[0m Testing //dotnet/test/common:BiDi/BrowsingContext/BrowsingContextTest-firefox; 173s remote, remote-cache ... (50 actions, 36 running)
    2635:  (18:02:28) �[32m[15,502 / 15,909]�[0m 1793 / 2270 tests;�[0m Testing //dotnet/test/common:BiDi/BrowsingContext/BrowsingContextTest-firefox; 178s remote, remote-cache ... (50 actions, 36 running)
    2636:  (18:02:31) �[31m�[1mFAIL: �[0m//java/test/org/openqa/selenium/virtualauthenticator:VirtualAuthenticatorTest (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/java/test/org/openqa/selenium/virtualauthenticator/VirtualAuthenticatorTest/test_attempts/attempt_1.log)
    2637:  (18:02:33) �[32m[15,540 / 15,927]�[0m 1813 / 2270 tests;�[0m Testing //dotnet/test/common:BiDi/BrowsingContext/BrowsingContextTest-firefox; 183s remote, remote-cache ... (50 actions, 35 running)
    2638:  (18:02:40) �[32m[15,549 / 15,927]�[0m 1822 / 2270 tests;�[0m Testing //dotnet/test/common:BiDi/BrowsingContext/BrowsingContextTest-firefox; 190s remote, remote-cache ... (50 actions, 34 running)
    2639:  (18:02:44) �[31m�[1mFAIL: �[0m//java/test/org/openqa/selenium/virtualauthenticator:VirtualAuthenticatorTest-edge (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/java/test/org/openqa/selenium/virtualauthenticator/VirtualAuthenticatorTest-edge/test.log)
    2640:  �[31m�[1mFAILED: �[0m//java/test/org/openqa/selenium/virtualauthenticator:VirtualAuthenticatorTest-edge (Summary)
    2641:  /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/java/test/org/openqa/selenium/virtualauthenticator/VirtualAuthenticatorTest-edge/test.log
    ...
    
    2689:  2) testAddNonResidentCredential() (org.openqa.selenium.virtualauthenticator.VirtualAuthenticatorTest)
    2690:  java.lang.IllegalArgumentException: rpId must be set
    2691:  at org.openqa.selenium.internal.Require.nonNull(Require.java:64)
    2692:  at org.openqa.selenium.virtualauthenticator.Credential.fromMap(Credential.java:69)
    2693:  at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
    2694:  at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
    2695:  at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
    2696:  at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
    2697:  at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
    2698:  at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    2699:  at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
    2700:  at org.openqa.selenium.remote.RemoteWebDriver$RemoteVirtualAuthenticator.getCredentials(RemoteWebDriver.java:1262)
    2701:  at org.openqa.selenium.virtualauthenticator.VirtualAuthenticatorTest.testAddNonResidentCredential(VirtualAuthenticatorTest.java:192)
    2702:  Execution result: https://gypsum.cluster.engflow.com/actions/executions/ChDqgJOySc9fvaLUBpi3SQsPEgdkZWZhdWx0GiUKINJb-UCmA7IMpMrTuyYyEkw2QmLHzJnNRudw8msKXCPoELwD
    2703:  ================================================================================
    2704:  (18:02:45) �[32m[15,603 / 15,933]�[0m 1870 / 2270 tests, �[31m�[1m1 failed�[0m;�[0m Testing //dotnet/test/common:BiDi/BrowsingContext/BrowsingContextTest-firefox; 195s remote, remote-cache ... (50 actions, 33 running)
    2705:  (18:02:52) �[32m[15,612 / 15,933]�[0m 1879 / 2270 tests, �[31m�[1m1 failed�[0m;�[0m Testing //dotnet/test/common:BiDi/Script/CallFunctionLocalValueTest-firefox; 103s remote, remote-cache ... (50 actions, 32 running)
    2706:  (18:02:57) �[32m[15,612 / 15,933]�[0m 1879 / 2270 tests, �[31m�[1m1 failed�[0m;�[0m Testing //dotnet/test/common:BiDi/Script/CallFunctionLocalValueTest-firefox; 108s remote, remote-cache ... (50 actions, 37 running)
    2707:  (18:02:57) �[31m�[1mFAIL: �[0m//java/test/org/openqa/selenium/virtualauthenticator:VirtualAuthenticatorTest (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/java/test/org/openqa/selenium/virtualauthenticator/VirtualAuthenticatorTest/test.log)
    2708:  ==================== Test output for //java/test/org/openqa/selenium/virtualauthenticator:VirtualAuthenticatorTest:
    2709:  �[31m�[1mFAILED: �[0m//java/test/org/openqa/selenium/virtualauthenticator:VirtualAuthenticatorTest (Summary)
    2710:  /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild/testlogs/java/test/org/openqa/selenium/virtualauthenticator/VirtualAuthenticatorTest/test.log
    ...
    
    2757:  2) testAddNonResidentCredential() (org.openqa.selenium.virtualauthenticator.VirtualAuthenticatorTest)
    2758:  java.lang.IllegalArgumentException: rpId must be set
    2759:  at org.openqa.selenium.internal.Require.nonNull(Require.java:64)
    2760:  at org.openqa.selenium.virtualauthenticator.Credential.fromMap(Credential.java:69)
    2761:  at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
    2762:  at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
    2763:  at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
    2764:  at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
    2765:  at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
    2766:  at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    2767:  at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
    2768:  at org.openqa.selenium.remote.RemoteWebDriver$RemoteVirtualAuthenticator.getCredentials(RemoteWebDriver.java:1262)
    2769:  at org.openqa.selenium.virtualauthenticator.VirtualAuthenticatorTest.testAddNonResidentCredential(VirtualAuthenticatorTest.java:192)
    2770:  Execution result: https://gypsum.cluster.engflow.com/actions/executions/ChDEhWsG3AVW9Y5tryP8R8C6EgdkZWZhdWx0GiUKIJJmw6OXGBeWPkZaZh_3RUnBDABdWEXQ9pxADOoksGjeELwD
    2771:  ================================================================================
    2772:  (18:03:02) �[32m[15,625 / 15,933]�[0m 1893 / 2270 tests, �[31m�[1m2 failed�[0m;�[0m Testing //dotnet/test/common:BiDi/Script/CallFunctionLocalValueTest-firefox; 113s remote, remote-cache ... (50 actions, 34 running)
    2773:  (18:03:08) �[32m[15,636 / 15,933]�[0m 1903 / 2270 tests, �[31m�[1m2 failed�[0m;�[0m Testing //dotnet/test/common:BiDi/Script/CallFunctionLocalValueTest-firefox; 119s remote, remote-cache ... (50 actions, 35 running)
    2774:  (18:03:13) �[32m[15,648 / 15,933]�[0m 1916 / 2270 tests, �[31m�[1m2 failed�[0m;�[0m Testing //dotnet/test/common:BiDi/Script/CallFunctionLocalValueTest-firefox; 124s remote, remote-cache ... (50 actions, 33 running)
    2775:  (18:03:18) �[32m[15,653 / 15,933]�[0m 1920 / 2270 tests, �[31m�[1m2 failed�[0m;�[0m Testing //dotnet/test/common:BiDi/Script/CallFunctionLocalValueTest-firefox; 129s remote, remote-cache ... (50 actions, 35 running)
    2776:  (18:03:24) �[32m[15,653 / 15,933]�[0m 1920 / 2270 tests, �[31m�[1m2 failed�[0m;�[0m Testing //dotnet/test/common:BiDi/Script/CallFunctionLocalValueTest-firefox; 135s remote, remote-cache ... (50 actions, 40 running)
    2777:  (18:03:29) �[32m[15,661 / 15,933]�[0m 1928 / 2270 tests, �[31m�[1m2 failed�[0m;�[0m Testing //dotnet/test/common:BiDi/Script/CallFunctionLocalValueTest-firefox; 140s remote, remote-cache ... (50 actions, 42 running)
    2778:  (18:03:34) �[32m[15,680 / 15,933]�[0m 1947 / 2270 tests, �[31m�[1m2 failed�[0m;�[0m Testing //dotnet/test/common:SessionHandlingTest-firefox; 121s remote, remote-cache ... (50 actions, 37 running)
    2779:  (18:03:39) �[32m[15,688 / 15,933]�[0m 1955 / 2270 tests, �[31m�[1m2 failed�[0m;�[0m Testing //dotnet/test/common:SessionHandlingTest-firefox; 126s remote, remote-cache ... (50 actions, 41 running)
    2780:  (18:03:44) �[32m[15,709 / 15,933]�[0m 1976 / 2270 tests, �[31m�[1m2 failed�[0m;�[0m Testing //dotnet/test/common:SessionHandlingTest-firefox; 132s remote, remote-cache ... (50 actions, 44 running)
    2781:  (18:03:49) �[32m[15,759 / 15,933]�[0m 2026 / 2270 tests, �[31m�[1m2 failed�[0m;�[0m Testing //dotnet/test/common:SessionHandlingTest-firefox; 137s remote, remote-cache ... (50 actions, 42 running)
    2782:  (18:03:54) �[32m[15,777 / 15,933]�[0m 2044 / 2270 tests, �[31m�[1m2 failed�[0m;�[0m Testing //dotnet/test/common:SessionHandlingTest-firefox; 142s remote, remote-cache ... (50 actions, 42 running)
    2783:  (18:03:59) �[32m[15,788 / 15,933]�[0m 2055 / 2270 tests, �[31m�[1m2 failed�[0m;�[0m Testing //dotnet/test/common:SessionHandlingTest-firefox; 147s remote, remote-cache ... (50 actions, 42 running)
    2784:  (18:04:04) �[32m[15,797 / 15,933]�[0m 2064 / 2270 tests, �[31m�[1m2 failed�[0m;�[0m Testing //dotnet/test/common:SessionHandlingTest-firefox; 152s remote, remote-cache ... (50 actions, 44 running)
    2785:  (18:04:09) �[32m[15,850 / 15,933]�[0m 2117 / 2270 tests, �[31m�[1m2 failed�[0m;�[0m Testing //dotnet/test/common:PageLoadingTest-firefox; 126s remote, remote-cache ... (50 actions, 38 running)
    2786:  (18:04:14) �[32m[15,916 / 15,951]�[0m 2164 / 2270 tests, �[31m�[1m2 failed�[0m;�[0m Testing //dotnet/test/common:PageLoadingTest-firefox; 131s remote, remote-cache ... (35 actions running)
    2787:  (18:04:19) �[32m[15,927 / 15,951]�[0m 2174 / 2270 tests, �[31m�[1m2 failed�[0m;�[0m Testing //dotnet/test/common:PageLoadingTest-firefox; 136s remote, remote-cache ... (24 actions running)
    2788:  (18:04:26) �[32m[15,939 / 15,951]�[0m 2186 / 2270 tests, �[31m�[1m2 failed�[0m;�[0m Testing //dotnet/test/common:PageLoadingTest-firefox; 142s remote, remote-cache ... (12 actions running)
    2789:  (18:04:31) �[32m[15,943 / 15,951]�[0m 2190 / 2270 tests, �[31m�[1m2 failed�[0m;�[0m Testing //dotnet/test/common:PageLoadingTest-firefox; 148s remote, remote-cache ... (8 actions running)
    2790:  (18:04:36) �[32m[15,944 / 15,951]�[0m 2191 / 2270 tests, �[31m�[1m2 failed�[0m;�[0m Testing //dotnet/test/common:PageLoadingTest-firefox; 153s remote, remote-cache ... (7 actions running)
    2791:  (18:04:42) �[32m[15,945 / 15,951]�[0m 2192 / 2270 tests, �[31m�[1m2 failed�[0m;�[0m Testing //dotnet/test/common:PageLoadingTest-firefox; 158s remote, remote-cache ... (6 actions running)
    2792:  (18:04:52) �[32m[15,946 / 15,951]�[0m 2193 / 2270 tests, �[31m�[1m2 failed�[0m;�[0m Testing //dotnet/test/common:PageLoadingTest-firefox; 168s remote, remote-cache ... (5 actions running)
    2793:  (18:04:56) �[31m�[1mFAIL: �[0m//dotnet/test/common:PageLoadingTest-firefox (see /home/runner/.bazel/execroot/_main/bazel-out/k8-fastbuild-ST-7636bdc63bf0/testlogs/dotnet/test/common/PageLoadingTest-firefox/test_attempts/attempt_1.log)
    2794:  (18:04:57) �[32m[15,946 / 15,951]�[0m 2193 / 2270 tests, �[31m�[1m2 failed�[0m;�[0m Testing //dotnet/test/common:PageLoadingTest-firefox; 174s remote, remote-cache ... (5 actions running)
    2795:  (18:05:05) �[32m[15,947 / 15,951]�[0m 2194 / 2270 tests, �[31m�[1m2 failed�[0m;�[0m Testing //dotnet/test/common:PageLoadingTest-firefox; 182s remote, remote-cache ... (4 actions running)
    2796:  (18:05:12) �[32m[15,948 / 15,951]�[0m 2195 / 2270 tests, �[31m�[1m2 failed�[0m;�[0m Testing //dotnet/test/common:PageLoadingTest-firefox; 188s remote, remote-cache ... (3 actions running)
    2797:  (18:05:22) �[32m[15,949 / 15,951]�[0m 2196 / 2270 tests, �[31m�[1m2 failed�[0m;�[0m Testing //dotnet/test/common:PageLoadingTest-firefox; 198s remote, remote-cache ... (2 actions running)
    2798:  (18:05:27) �[32m[15,949 / 15,951]�[0m 2196 / 2270 tests, �[31m�[1m2 failed�[0m;�[0m Testing //dotnet/test/common:PageLoadingTest-firefox; 203s remote, remote-cache ... (2 actions running)
    2799:  (18:05:56) �[32m[15,949 / 15,951]�[0m 2196 / 2270 tests, �[31m�[1m2 failed�[0m;�[0m Testing //dotnet/test/common:PageLoadingTest-firefox; 233s remote, remote-cache ... (2 actions running)
    2800:  (18:06:56) �[32m[15,949 / 15,951]�[0m 2196 / 2270 tests, �[31m�[1m2 failed�[0m;�[0m Testing //dotnet/test/common:PageLoadingTest-firefox; 293s remote, remote-cache ... (2 actions running)
    2801:  (18:07:50) �[32m[15,949 / 15,951]�[0m 2196 / 2270 tests, �[31m�[1m2 failed�[0m;�[0m Testing //dotnet/test/common:PageLoadingTest-firefox; 347s remote, remote-cache ... (2 actions running)
    2802:  �[35mFLAKY: �[0m//dotnet/test/common:PageLoadingTest-firefox (Summary)
    ...
    
    2815:  End time: 2025-04-18 18:02:05Z
    2816:  Duration: 0.236 seconds
    2817:  1744999328215	geckodriver	INFO	Listening on 127.0.0.1:36863
    2818:  => OpenQA.Selenium.PageLoadingTest
    2819:  18:02:08.225 DEBUG HttpCommandExecutor: Executing command: []: newSession
    2820:  1744999328285	mozrunner::runner	INFO	Running command: MOZ_CRASHREPORTER="1" MOZ_CRASHREPORTER_NO_REPORT="1" MOZ_CRASHREPORTER_SHUTDOWN="1" "external/+pin_browsers ... te" "--remote-debugging-port" "37851" "--remote-allow-hosts" "localhost" "-no-remote" "-profile" "/tmp/rust_mozprofileGp0ZYN"
    2821:  18:02:08.287 TRACE HttpCommandExecutor: >> POST RequestUri: http://localhost:36863/session, Content: System.Net.Http.ByteArrayContent, Headers: 2
    2822:  {"capabilities":{"firstMatch":[{"browserName":"firefox","acceptInsecureCerts":true,"moz:firefoxOptions":{"binary":"external/\u002Bpin_browsers_extension\u002Blinux_firefox/firefox/firefox","prefs":{"remote.active-protocols":3}},"moz:debuggerAddress":true}]}}
    2823:  console.warn: services.settings: Ignoring preference override of remote settings server
    2824:  console.warn: services.settings: Allow by setting MOZ_REMOTE_SETTINGS_DEVTOOLS=1 in the environment
    2825:  [GFX1-]: glxtest: libpci missing
    2826:  1744999328974	Marionette	INFO	Marionette enabled
    2827:  1744999329174	Marionette	INFO	Listening on port 38791
    2828:  Read port: 38791
    2829:  WebDriver BiDi listening on ws://127.0.0.1:37851
    2830:  [Parent 4274, Main Thread] WARNING: Failed to create DBus proxy for org.a11y.Bus: Failed to execute child process “dbus-launch” (No such file or directory)
    2831:  : 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:201
    2832:  ** (firefox:4274): WARNING **: 18:02:09.216: Failed to create DBus proxy for org.a11y.Bus: Failed to execute child process “dbus-launch” (No such file or directory)
    2833:  1744999329309	RemoteAgent	WARN	TLS certificate errors will be ignored for this session
    2834:  console.error: ({})
    2835:  DevTools listening on ws://127.0.0.1:37851/devtools/browser/3df1cce5-5b55-49a1-b00f-0de0199fc4a3
    2836:  18:02:13.374 TRACE HttpCommandExecutor: << StatusCode: 200, ReasonPhrase: OK, Content: System.Net.Http.HttpConnectionResponseContent, Headers: 2
    2837:  18:02:13.383 DEBUG HttpCommandExecutor: Response: (01e2a04f-6a6e-4ffc-9427-5782015ef419 Success: System.Collections.Generic.Dictionary`2[System.String,System.Object])
    2838:  => OpenQA.Selenium.PageLoadingTest.CanHandleSequentialPageLoadTimeouts
    2839:  18:02:13.393 DEBUG HttpCommandExecutor: Executing command: [01e2a04f-6a6e-4ffc-9427-5782015ef419]: setTimeouts
    2840:  18:02:13.398 TRACE HttpCommandExecutor: >> POST RequestUri: http://localhost:36863/session/01e2a04f-6a6e-4ffc-9427-5782015ef419/timeouts, Content: System.Net.Http.ByteArrayContent, Headers: 2
    2841:  {"pageLoad":2000}
    2842:  18:02:13.398 TRACE HttpCommandExecutor: << StatusCode: 200, ReasonPhrase: OK, Content: System.Net.Http.HttpConnectionResponseContent, Headers: 2
    2843:  18:02:13.399 DEBUG HttpCommandExecutor: Response: ( Success: )
    2844:  18:02:13.412 DEBUG HttpCommandExecutor: Executing command: [01e2a04f-6a6e-4ffc-9427-5782015ef419]: get
    2845:  18:02:13.414 TRACE HttpCommandExecutor: >> POST RequestUri: http://localhost:36863/session/01e2a04f-6a6e-4ffc-9427-5782015ef419/url, Content: System.Net.Http.ByteArrayContent, Headers: 2
    2846:  {"url":"http://localhost:34013/common/sleep?time=12"}
    2847:  18:02:15.485 TRACE HttpCommandExecutor: << StatusCode: 500, ReasonPhrase: Internal Server Error, Content: System.Net.Http.HttpConnectionResponseContent, Headers: 2
    2848:  {"value":{"error":"timeout","message":"Navigation timed out after 2000 ms","stacktrace":"RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8\nWebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:199:5\nTimeoutError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:812:5\nbail@chrome://remote/content/marionette/sync.sys.mjs:197:19\n"}}
    2849:  18:02:15.492 DEBUG HttpCommandExecutor: Response: ( Timeout: System.Collections.Generic.Dictionary`2[System.String,System.Object])
    2850:  18:02:15.501 DEBUG HttpCommandExecutor: Executing command: [01e2a04f-6a6e-4ffc-9427-5782015ef419]: get
    2851:  18:02:15.502 TRACE HttpCommandExecutor: >> POST RequestUri: http://localhost:36863/session/01e2a04f-6a6e-4ffc-9427-5782015ef419/url, Content: System.Net.Http.ByteArrayContent, Headers: 2
    2852:  {"url":"http://localhost:34013/common/sleep?time=12"}
    2853:  18:02:17.506 TRACE HttpCommandExecutor: << StatusCode: 500, ReasonPhrase: Internal Server Error, Content: System.Net.Http.HttpConnectionResponseContent, Headers: 2
    2854:  {"value":{"error":"timeout","message":"Navigation timed out after 2000 ms","stacktrace":"RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8\nWebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:199:5\nTimeoutError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:812:5\nbail@chrome://remote/content/marionette/sync.sys.mjs:197:19\n"}}
    2855:  18:02:17.507 DEBUG HttpCommandExecutor: Response: ( Timeout: System.Collections.Generic.Dictionary`2[System.String,System.Object])
    2856:  18:02:17.509 DEBUG HttpCommandExecutor: Executing command: [01e2a04f-6a6e-4ffc-9427-5782015ef419]: quit
    2857:  18:02:17.509 TRACE HttpCommandExecutor: >> DELETE RequestUri: http://localhost:36863/session/01e2a04f-6a6e-4ffc-9427-5782015ef419, Content: null, Headers: 2
    2858:  1744999337511	Marionette	INFO	Stopped listening on port 38791
    2859:  [GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt
    2860:  18:02:18.490 TRACE HttpCommandExecutor: << StatusCode: 200, ReasonPhrase: OK, Content: System.Net.Http.HttpConnectionResponseContent, Headers: 2
    2861:  18:02:18.490 DEBUG HttpCommandExecutor: Response: ( Success: )
    2862:  1744999338605	geckodriver	INFO	Listening on 127.0.0.1:46349
    2863:  18:02:18.628 DEBUG HttpCommandExecutor: Executing command: []: newSession
    2864:  18:02:18.629 TRACE HttpCommandExecutor: >> POST RequestUri: http://localhost:46349/session, Content: System.Net.Http.ByteArrayContent, Headers: 2
    2865:  {"capabilities":{"firstMatch":[{"browserName":"firefox","acceptInsecureCerts":true,"moz:firefoxOptions":{"binary":"external/\u002Bpin_browsers_extension\u002Blinux_firefox/firefox/firefox","prefs":{"remote.active-protocols":3}},"moz:debuggerAddress":true}]}}
    2866:  1744999338634	mozrunner::runner	INFO	Running command: MOZ_CRASHREPORTER="1" MOZ_CRASHREPORTER_NO_REPORT="1" MOZ_CRASHREPORTER_SHUTDOWN="1" "external/+pin_browsers ... te" "--remote-debugging-port" "32969" "--remote-allow-hosts" "localhost" "-no-remote" "-profile" "/tmp/rust_mozprofilevQhCu2"
    2867:  console.warn: services.settings: Ignoring preference override of remote settings server
    2868:  console.warn: services.settings: Allow by setting MOZ_REMOTE_SETTINGS_DEVTOOLS=1 in the environment
    2869:  [GFX1-]: glxtest: libpci missing
    2870:  1744999339345	Marionette	INFO	Marionette enabled
    2871:  1744999339534	Marionette	INFO	Listening on port 41769
    2872:  WebDriver BiDi listening on ws://127.0.0.1:32969
    2873:  [Parent 4500, Main Thread] WARNING: Failed to create DBus proxy for org.a11y.Bus: Failed to execute child process “dbus-launch” (No such file or directory)
    2874:  : 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:201
    2875:  ** (firefox:4500): WARNING **: 18:02:19.574: Failed to create DBus proxy for org.a11y.Bus: Failed to execute child process “dbus-launch” (No such file or directory)
    2876:  Read port: 41769
    2877:  1744999339803	RemoteAgent	WARN	TLS certificate errors will be ignored for this session
    2878:  console.error: ({})
    2879:  DevTools listening on ws://127.0.0.1:32969/devtools/browser/237e338d-b904-4b71-ae06-5fc7790a286a
    2880:  18:02:23.837 TRACE HttpCommandExecutor: << StatusCode: 200, ReasonPhrase: OK, Content: System.Net.Http.HttpConnectionResponseContent, Headers: 2
    2881:  18:02:23.837 DEBUG HttpCommandExecutor: Response: (094bf487-44fb-4635-9f9d-d3f1e288e340 Success: System.Collections.Generic.Dictionary`2[System.String,System.Object])
    2882:  => OpenQA.Selenium.PageLoadingTest.EagerStrategyShouldNotWaitForResources
    2883:  18:02:23.844 DEBUG HttpCommandExecutor: Executing command: [094bf487-44fb-4635-9f9d-d3f1e288e340]: quit
    2884:  18:02:23.844 TRACE HttpCommandExecutor: >> DELETE RequestUri: http://localhost:46349/session/094bf487-44fb-4635-9f9d-d3f1e288e340, Content: null, Headers: 2
    2885:  1744999343846	Marionette	INFO	Stopped listening on port 41769
    2886:  [GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt
    2887:  18:02:24.811 TRACE HttpCommandExecutor: << StatusCode: 200, ReasonPhrase: OK, Content: System.Net.Http.HttpConnectionResponseContent, Headers: 2
    2888:  18:02:24.813 DEBUG HttpCommandExecutor: Response: ( Success: )
    2889:  1744999344923	geckodriver	INFO	Listening on 127.0.0.1:38403
    2890:  18:02:24.929 DEBUG HttpCommandExecutor: Executing command: []: newSession
    2891:  18:02:24.930 TRACE HttpCommandExecutor: >> POST RequestUri: http://localhost:38403/session, Content: System.Net.Http.ByteArrayContent, Headers: 2
    2892:  {"capabilities":{"firstMatch":[{"browserName":"firefox","acceptInsecureCerts":true,"pageLoadStrategy":"eager","moz:firefoxOptions":{"binary":"external/\u002Bpin_browsers_extension\u002Blinux_firefox/firefox/firefox","prefs":{"remote.active-protocols":3}},"moz:debuggerAddress":true}]}}
    2893:  1744999344935	mozrunner::runner	INFO	Running command: MOZ_CRASHREPORTER="1" MOZ_CRASHREPORTER_NO_REPORT="1" MOZ_CRASHREPORTER_SHUTDOWN="1" "external/+pin_browsers ... te" "--remote-debugging-port" "41237" "--remote-allow-hosts" "localhost" "-no-remote" "-profile" "/tmp/rust_mozprofileT7FCAs"
    2894:  console.warn: services.settings: Ignoring preference override of remote settings server
    2895:  console.warn: services.settings: Allow by setting MOZ_REMOTE_SETTINGS_DEVTOOLS=1 in the environment
    2896:  [GFX1-]: glxtest: libpci missing
    2897:  1744999345630	Marionette	INFO	Marionette enabled
    2898:  1744999345817	Marionette	INFO	Listening on port 35763
    2899:  Read port: 35763
    2900:  WebDriver BiDi listening on ws://127.0.0.1:41237
    2901:  [Parent 4713, Main Thread] WARNING: Failed to create DBus proxy for org.a11y.Bus: Failed to execute child process “dbus-launch” (No such file or directory)
    2902:  : 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:201
    2903:  ** (firefox:4713): WARNING **: 18:02:25.858: Failed to create DBus proxy for org.a11y.Bus: Failed to execute child process “dbus-launch” (No such file or directory)
    2904:  1744999345955	RemoteAgent	WARN	TLS certificate errors will be ignored for this session
    2905:  console.error: ({})
    2906:  DevTools listening on ws://127.0.0.1:41237/devtools/browser/3e9b3229-ab6b-4cc4-84d1-120e9d22fd17
    2907:  18:02:30.378 TRACE HttpCommandExecutor: << StatusCode: 200, ReasonPhrase: OK, Content: System.Net.Http.HttpConnectionResponseContent, Headers: 2
    2908:  18:02:30.379 DEBUG HttpCommandExecutor: Response: (05256c28-340a-4e00-ab8f-5254c672072b Success: System.Collections.Generic.Dictionary`2[System.String,System.Object])
    2909:  18:02:30.379 DEBUG HttpCommandExecutor: Executing command: [05256c28-340a-4e00-ab8f-5254c672072b]: get
    2910:  18:02:30.380 TRACE HttpCommandExecutor: >> POST RequestUri: http://localhost:38403/session/05256c28-340a-4e00-ab8f-5254c672072b/url, Content: System.Net.Http.ByteArrayContent, Headers: 2
    2911:  {"url":"http://localhost:34013/common/slowLoadingResourcePage.html"}
    2912:  18:02:30.576 TRACE HttpCommandExecutor: << StatusCode: 200, ReasonPhrase: OK, Content: System.Net.Http.HttpConnectionResponseContent, Headers: 2
    2913:  18:02:30.577 DEBUG HttpCommandExecutor: Response: ( Success: )
    2914:  18:02:30.605 DEBUG HttpCommandExecutor: Executing command: [05256c28-340a-4e00-ab8f-5254c672072b]: findElement
    2915:  18:02:30.606 TRACE HttpCommandExecutor: >> POST RequestUri: http://localhost:38403/session/05256c28-340a-4e00-ab8f-5254c672072b/element, Content: System.Net.Http.ByteArrayContent, Headers: 2
    2916:  {"using":"css selector","value":"#peas"}
    2917:  18:02:30.680 TRACE HttpCommandExecutor: << StatusCode: 200, ReasonPhrase: OK, Content: System.Net.Http.HttpConnectionResponseContent, Headers: 2
    2918:  18:02:30.681 DEBUG HttpCommandExecutor: Response: ( Success: System.Collections.Generic.Dictionary`2[System.String,System.Object])
    2919:  18:02:30.683 DEBUG Ht...

    @titusfortner
    Copy link
    Member

    I don't understand what this PR is doing. Do we need to allow rpId to be null? Otherwise we should be using the same pattern as everything else. I don't understand why we are adding getCredentials method to each test? I'm sure I'm missing context.

    @VietND96
    Copy link
    Member Author

    VietND96 commented Apr 17, 2025

    @titusfortner this is used to fix example tests failed in docs repo - https://github.com/SeleniumHQ/seleniumhq.github.io/actions/runs/14504046362/job/40689974955
    This is a broken after another PR enforce check nonNull - #15119 (which just increases the code quality).
    I add method getCredentials() to every test to align with example tests in docs repo. I think this helps detect the breakage early in this repo itself before shipping and seeing error in other places.
    The test author is @pujagani, so let her feedback on this, we update code here, or update the example tests in docs repo.

    @pujagani
    Copy link
    Contributor

    As per the spec, https://www.w3.org/TR/webauthn-2/#sctn-automation-add-credential, its needs to be present else a WebDriver error is thrown.

    @VietND96
    Copy link
    Member Author

    Oh ok, so something is wrong in addCredential(), since a credential was created with rpId = "localhost", but it becomes null after that.

            val nonResidentCredential = Credential.createNonResidentCredential(
                credentialId, "localhost", ec256PrivateKey,  /*signCount=*/0
            )
            authenticator.addCredential(nonResidentCredential)
            val credentialList = authenticator.credentials
    

    @VietND96 VietND96 changed the title [java]: Fix getCredentials from VirtualAuthenticator [java]: Fix addCredential from VirtualAuthenticator Apr 18, 2025
    @VietND96 VietND96 changed the title [java]: Fix addCredential from VirtualAuthenticator [java]: Fix addCredential() in VirtualAuthenticator Apr 18, 2025
    @VietND96
    Copy link
    Member Author

    @titusfortner, the root cause was in method addCredential(), which tries to add a credential (where rpId is set properly) to authenticator. Not sure why much more steps were added, while a credential supports toMap(). Those were added in a commit that tried to remove Guava.
    Now, check nonNull is added back for rpId, so I think tests make sense to test both add and get credential to see if it really works. What do you think?

    .collect(Collectors.toUnmodifiableMap(Map.Entry::getKey, Map.Entry::getValue)));
    Map<String, Object> map = new HashMap<>(credential.toMap());
    map.put("authenticatorId", id);
    execute(DriverCommand.ADD_CREDENTIAL, map);
    Copy link
    Member

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    do we want Map.copyOf(map) here to ensure immutability? Not certain it matters.

    @titusfortner
    Copy link
    Member

    titusfortner commented Apr 18, 2025

    I guess I'm confused why we need the added getCredentials() calls since we're already have a testGetCredentials that should catch the problem. If it doesn't catch the problem, why not?

    As a slightly separate note, I'm not sure about the value of having these in our docs, either, since it doesn't really give any useful information on how credentials work, or when you need them or what is a real-world scenario, so they just read like unit tests.

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    4 participants