Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[dotnet][rb][java][js][py] Automated Browser Version Update #13924

Merged
merged 1 commit into from
May 10, 2024

Conversation

selenium-ci
Copy link
Member

@selenium-ci selenium-ci commented May 10, 2024

User description

This is an automated pull request to update pinned browsers and drivers

Merge after verify the new browser versions properly passing the tests and no bugs need to be filed


PR Type

Enhancement


Description

  • Updated the Chrome and ChromeDriver versions for Linux and macOS in common/repositories.bzl.
  • New versions include updated URLs and SHA256 hashes to ensure the latest browser versions are used for testing.

Changes walkthrough 📝

Relevant files
Enhancement
repositories.bzl
Update Chrome and ChromeDriver versions for Linux and macOS

common/repositories.bzl

  • Updated URLs and SHA256 hashes for Chrome and ChromeDriver for both
    Linux and macOS.
  • +8/-8     

    💡 PR-Agent usage:
    Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions

    Copy link

    PR Description updated to latest commit (397da11)

    Copy link

    PR Review 🔍

    ⏱️ Estimated effort to review [1-5]

    2, because the changes are straightforward, involving only updates to URLs and SHA256 hashes for browser and driver versions. The structure and logic of the code remain unchanged, making it easier to review.

    🧪 Relevant tests

    No

    ⚡ Possible issues

    Possible Dependency Issue: Ensure that the updated browser and driver versions are compatible with the existing test suites and do not introduce new issues.

    🔒 Security concerns

    No

    Copy link

    PR Code Suggestions ✨

    CategorySuggestions                                                                                                                                                       
    Maintainability
    Use a variable for the common URL prefix to simplify future updates.

    Consider using a variable for the common URL prefix to avoid repetition and facilitate
    future updates.

    common/repositories.bzl [202]

    -url = "https://storage.googleapis.com/chrome-for-testing-public/124.0.6367.201/linux64/chrome-linux64.zip"
    +CHROME_BASE_URL = "https://storage.googleapis.com/chrome-for-testing-public/"
    +url = CHROME_BASE_URL + "124.0.6367.201/linux64/chrome-linux64.zip"
     
    Use consistent naming conventions for clarity and maintainability.

    Use a consistent naming convention for all archive names to improve readability and
    maintainability.

    common/repositories.bzl [201]

    -name = "linux_chrome"
    +name = "chrome_linux"
     
    Security
    Verify sha256 values against a trusted source to ensure security.

    Ensure that the sha256 values are verified against a trusted source to prevent potential
    security risks from compromised binaries.

    common/repositories.bzl [203]

    +# Ensure to verify this sha256 against a trusted source
     sha256 = "867ea96ed4a92823b75952b1162985e406ace5d133ae97b72441eaf4e3a2d452"
     
    Enhancement
    Add a fallback URL or retry mechanism for critical dependencies.

    Consider adding a fallback URL or retry mechanism for critical dependencies to improve
    robustness in case of network issues or changes in the primary URL.

    common/repositories.bzl [202]

     url = "https://storage.googleapis.com/chrome-for-testing-public/124.0.6367.201/linux64/chrome-linux64.zip"
    +fallback_url = "https://mirror.example.com/chrome-for-testing-public/124.0.6367.201/linux64/chrome-linux64.zip"
     
    Best practice
    Regularly update version numbers and hashes to maintain security and stability.

    Regularly update the version numbers and SHA256 hashes to keep up with the latest stable
    releases and security patches.

    common/repositories.bzl [202]

    +# Updated to the latest version as of [date]
     url = "https://storage.googleapis.com/chrome-for-testing-public/124.0.6367.201/linux64/chrome-linux64.zip"
     

    Copy link

    codiumai-pr-agent-pro bot commented May 10, 2024

    CI Failure Feedback 🧐

    (Checks updated until commit 397da11)

    Action: Ruby / Remote Tests (safari, macos) / Remote Tests (safari, macos)

    Failed stage: Run Bazel [❌]

    Failed test name: element-safari-remote, window-safari-remote

    Failure summary:

    The action failed due to multiple issues across different tests:

  • The Selenium::WebDriver::Error::SessionNotCreatedError occurred frequently, indicating that new
    sessions could not be started because the driver service process died prematurely. This issue was
    pervasive across various tests, suggesting a systemic problem with the Selenium WebDriver setup or
    environment configuration.
  • Specific tests like //rb/spec/integration/selenium/webdriver:element-safari-remote and
    //rb/spec/integration/selenium/webdriver:window-safari-remote failed consistently across multiple
    attempts, indicating persistent issues with these tests. The failures in these tests were due to
    timeouts and session creation issues.
  • Several tests were marked as flaky, which means they passed in some attempts but failed in others.
    This inconsistency could be due to environmental issues, race conditions, or non-deterministic test
    logic.

  • Relevant error logs:
    1:  ##[group]Operating System
    2:  macOS
    ...
    
    759:  �[0m�[1m/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: �[0m�[0;1;30mnote: �[0m'sprintf' has been explicitly marked deprecated here�[0m
    760:  __deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
    761:  �[0;1;32m^
    762:  �[0m�[1m/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: �[0m�[0;1;30mnote: �[0mexpanded from macro '__deprecated_msg'�[0m
    763:  #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
    764:  �[0;1;32m                                                      ^
    765:  �[0m1 warning generated.
    766:  �[32mINFO: �[0mFrom Linking external/protobuf~/libprotobuf.a [for tool]:
    767:  /Applications/Xcode_15.0.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: bazel-out/darwin_x86_64-opt-exec-ST-13d3ddad9198/bin/external/protobuf~/_objs/protobuf/error_listener.o has no symbols
    ...
    
    771:  inline void* Offset(void* base, uint32_t offset) {
    772:  �[0;1;32m             ^
    773:  �[0m1 warning generated.
    774:  �[32mINFO: �[0mFrom Linking external/protobuf~/libprotobuf_lite.a [for tool]:
    775:  /Applications/Xcode_15.0.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: bazel-out/darwin_x86_64-opt-exec-ST-13d3ddad9198/bin/external/protobuf~/_objs/protobuf_lite/io_win32.o has no symbols
    776:  �[32mINFO: �[0mFrom Linking external/protobuf~/protoc [for tool]:
    777:  ld: warning: ignoring duplicate libraries: '-lm', '-lpthread'
    778:  �[32mINFO: �[0mFrom Building java/src/org/openqa/selenium/remote/libapi-class.jar (66 source files):
    779:  java/src/org/openqa/selenium/remote/ErrorHandler.java:46: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    780:  private final ErrorCodes errorCodes;
    781:  ^
    782:  java/src/org/openqa/selenium/remote/ErrorHandler.java:60: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    783:  this.errorCodes = new ErrorCodes();
    784:  ^
    785:  java/src/org/openqa/selenium/remote/ErrorHandler.java:68: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    786:  public ErrorHandler(ErrorCodes codes, boolean includeServerErrors) {
    787:  ^
    788:  java/src/org/openqa/selenium/remote/Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    789:  ErrorCodes errorCodes = new ErrorCodes();
    790:  ^
    791:  java/src/org/openqa/selenium/remote/Response.java:97: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    792:  ErrorCodes errorCodes = new ErrorCodes();
    793:  ^
    794:  java/src/org/openqa/selenium/remote/ProtocolHandshake.java:181: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    795:  response.setStatus(ErrorCodes.SUCCESS);
    796:  ^
    797:  java/src/org/openqa/selenium/remote/ProtocolHandshake.java:182: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    798:  response.setState(ErrorCodes.SUCCESS_STRING);
    799:  ^
    800:  java/src/org/openqa/selenium/remote/W3CHandshakeResponse.java:53: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    801:  new ErrorCodes().toStatus((String) rawError, Optional.of(tuple.getStatusCode())));
    802:  ^
    803:  java/src/org/openqa/selenium/remote/W3CHandshakeResponse.java:56: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    804:  new ErrorCodes().getExceptionType((String) rawError);
    805:  ^
    806:  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
    807:  private final ErrorCodes errorCodes = new ErrorCodes();
    808:  ^
    809:  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
    810:  private final ErrorCodes errorCodes = new ErrorCodes();
    811:  ^
    812:  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
    813:  int status = response.getStatus() == ErrorCodes.SUCCESS ? HTTP_OK : HTTP_INTERNAL_ERROR;
    814:  ^
    815:  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
    816:  response.setStatus(ErrorCodes.UNKNOWN_COMMAND);
    817:  ^
    818:  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
    819:  response.setStatus(ErrorCodes.UNHANDLED_ERROR);
    820:  ^
    821:  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
    822:  response.setStatus(ErrorCodes.SUCCESS);
    823:  ^
    824:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:125: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    825:  response.setState(errorCodes.toState(ErrorCodes.SUCCESS));
    826:  ^
    827:  java/src/org/openqa/selenium/remote/codec/AbstractHttpResponseCodec.java:131: warning: [removal] ErrorCodes in org.openqa.selenium.remote has been deprecated and marked for removal
    828:  response.setState(errorCodes.toState(ErrorCodes.SUCCESS));
    829:  ^
    830:  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
    831:  private final ErrorCodes errorCodes = new ErrorCodes();
    832:  ^
    833:  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
    834:  private final ErrorCodes errorCodes = new ErrorCodes();
    835:  ^
    836:  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
    837:  response.setStatus(ErrorCodes.UNKNOWN_COMMAND);
    838:  ^
    839:  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
    840:  response.setStatus(ErrorCodes.UNHANDLED_ERROR);
    841:  ^
    842:  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
    843:  response.setStatus(ErrorCodes.SUCCESS);
    ...
    
    959:  �[32m[3,076 / 3,077]�[0m 1 / 24 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:driver-safari-remote; 0s local, disk-cache
    960:  �[32m[3,076 / 3,077]�[0m 1 / 24 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:driver-safari-remote; 49s local, disk-cache
    961:  �[32m[3,077 / 3,078]�[0m 2 / 24 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:shadow_root-safari-remote; 1s disk-cache
    962:  �[32m[3,077 / 3,078]�[0m 2 / 24 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:shadow_root-safari-remote; 0s local, disk-cache
    963:  �[32m[3,077 / 3,078]�[0m 2 / 24 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:shadow_root-safari-remote; 73s local, disk-cache
    964:  �[32m[3,078 / 3,079]�[0m 3 / 24 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:timeout-safari-remote; 1s disk-cache
    965:  �[32m[3,078 / 3,079]�[0m 3 / 24 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:timeout-safari-remote; 0s local, disk-cache
    966:  �[32m[3,078 / 3,079]�[0m 3 / 24 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:timeout-safari-remote; 20s local, disk-cache
    967:  �[32m[3,079 / 3,080]�[0m 4 / 24 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:error-safari-remote; 0s disk-cache
    968:  �[32m[3,079 / 3,080]�[0m 4 / 24 tests;�[0m [Sched] Testing //rb/spec/integration/selenium/webdriver:error-safari-remote
    969:  �[32m[3,079 / 3,080]�[0m 4 / 24 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:error-safari-remote; 1s local, disk-cache
    970:  �[32m[3,079 / 3,080]�[0m 4 / 24 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:error-safari-remote; 16s local, disk-cache
    ...
    
    991:  �[35mFLAKY: �[0m//rb/spec/integration/selenium/webdriver/bidi:browsing_context-safari-remote (Summary)
    992:  /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/bidi/browsing_context-safari-remote/test_attempts/attempt_1.log
    993:  �[32mINFO: �[0mFrom Testing //rb/spec/integration/selenium/webdriver/bidi:browsing_context-safari-remote:
    994:  ==================== Test output for //rb/spec/integration/selenium/webdriver/bidi:browsing_context-safari-remote:
    995:  <internal:dir>:134: warning: /var/root/.local/share/gem/ruby/3.0.0/specifications: Permission denied
    996:  <internal:dir>:134: warning: /var/root/.local/share/gem/ruby/3.0.0/specifications: Permission denied
    997:  2024-05-10 01:07:09 INFO Selenium Server Location: /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/bin/rb/spec/integration/selenium/webdriver/bidi/browsing_context-safari-remote.sh.runfiles/_main/java/src/org/openqa/selenium/grid/selenium_server_deploy.jar
    998:  Running Ruby specs:
    999:  An error occurred in a `before(:suite)` hook.
    1000:  Failure/Error: Unable to find [remote server] org.openqa.selenium.grid.node.config.DriverServiceSessionFactory(DriverServiceSessionFactory.java) to read failed line
    1001:  Selenium::WebDriver::Error::SessionNotCreatedError:
    1002:  Could not start a new session. Error while creating session with the driver service. Stopping driver service: Driver server process died prematurely.
    ...
    
    1034:  # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `for'
    1035:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:212:in `remote_driver'
    1036:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:154:in `create_driver!'
    1037:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:61:in `driver_instance'
    1038:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:189:in `current_env'
    1039:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:42:in `print_env'
    1040:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_helper.rb:41:in `block (2 levels) in <top (required)>'
    1041:  Finished in 7.08 seconds (files took 0.26127 seconds to load)
    1042:  0 examples, 0 failures, 1 error occurred outside of examples
    ...
    
    1054:  �[35mFLAKY: �[0m//rb/spec/integration/selenium/webdriver:zipper-safari-remote (Summary)
    1055:  ==================== Test output for //rb/spec/integration/selenium/webdriver:zipper-safari-remote:
    1056:  /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/zipper-safari-remote/test_attempts/attempt_1.log
    1057:  �[32mINFO: �[0mFrom Testing //rb/spec/integration/selenium/webdriver:zipper-safari-remote:
    1058:  <internal:dir>:134: warning: /var/root/.local/share/gem/ruby/3.0.0/specifications: Permission denied
    1059:  <internal:dir>:134: warning: /var/root/.local/share/gem/ruby/3.0.0/specifications: Permission denied
    1060:  2024-05-10 01:08:27 INFO Selenium Server Location: /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/bin/rb/spec/integration/selenium/webdriver/zipper-safari-remote.sh.runfiles/_main/java/src/org/openqa/selenium/grid/selenium_server_deploy.jar
    1061:  Running Ruby specs:
    1062:  An error occurred in a `before(:suite)` hook.
    1063:  Failure/Error: Unable to find [remote server] org.openqa.selenium.grid.node.config.DriverServiceSessionFactory(DriverServiceSessionFactory.java) to read failed line
    1064:  Selenium::WebDriver::Error::SessionNotCreatedError:
    1065:  Could not start a new session. Error while creating session with the driver service. Stopping driver service: Driver server process died prematurely.
    ...
    
    1097:  # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `for'
    1098:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:212:in `remote_driver'
    1099:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:154:in `create_driver!'
    1100:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:61:in `driver_instance'
    1101:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:189:in `current_env'
    1102:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:42:in `print_env'
    1103:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_helper.rb:41:in `block (2 levels) in <top (required)>'
    1104:  Finished in 7.17 seconds (files took 0.26845 seconds to load)
    1105:  0 examples, 0 failures, 1 error occurred outside of examples
    ...
    
    1112:  �[32m[3,087 / 3,088]�[0m 12 / 24 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:element-safari-remote; 10s local, disk-cache
    1113:  �[32m[3,087 / 3,088]�[0m 12 / 24 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:element-safari-remote; 66s local, disk-cache
    1114:  �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:element-safari-remote (see /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/element-safari-remote/test_attempts/attempt_2.log)
    1115:  �[32m[3,087 / 3,088]�[0m 12 / 24 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:element-safari-remote; 67s local, disk-cache
    1116:  �[32m[3,087 / 3,088]�[0m 12 / 24 tests;�[0m Testing //rb/spec/integration/selenium/webdriver:element-safari-remote; 123s local, disk-cache
    1117:  �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:element-safari-remote (see /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/element-safari-remote/test.log)
    1118:  ==================== Test output for //rb/spec/integration/selenium/webdriver:element-safari-remote:
    1119:  <internal:dir>:134: warning: /var/root/.local/share/gem/ruby/3.0.0/specifications: Permission denied
    1120:  �[31m�[1mFAILED: �[0m//rb/spec/integration/selenium/webdriver:element-safari-remote (Summary)
    1121:  /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/element-safari-remote/test.log
    1122:  <internal:dir>:134: warning: /var/root/.local/share/gem/ruby/3.0.0/specifications: Permission denied
    1123:  2024-05-10 01:08:55 INFO Selenium Server Location: /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/bin/rb/spec/integration/selenium/webdriver/element-safari-remote.sh.runfiles/_main/java/src/org/openqa/selenium/grid/selenium_server_deploy.jar
    1124:  /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/element-safari-remote/test_attempts/attempt_1.log
    1125:  /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/element-safari-remote/test_attempts/attempt_2.log
    1126:  Running Ruby specs:
    1127:  �[32mINFO: �[0mFrom Testing //rb/spec/integration/selenium/webdriver:element-safari-remote:
    1128:  An error occurred in a `before(:suite)` hook.
    1129:  Failure/Error: Unable to find [remote server] org.openqa.selenium.grid.node.config.DriverServiceSessionFactory(DriverServiceSessionFactory.java) to read failed line
    1130:  Selenium::WebDriver::Error::SessionNotCreatedError:
    1131:  Could not start a new session. Error while creating session with the driver service. Stopping driver service: Driver server process died prematurely.
    ...
    
    1163:  # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `for'
    1164:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:212:in `remote_driver'
    1165:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:154:in `create_driver!'
    1166:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:61:in `driver_instance'
    1167:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:189:in `current_env'
    1168:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:42:in `print_env'
    1169:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_helper.rb:41:in `block (2 levels) in <top (required)>'
    1170:  Finished in 7.14 seconds (files took 0.27369 seconds to load)
    1171:  0 examples, 0 failures, 1 error occurred outside of examples
    ...
    
    1177:  Running Ruby specs:
    1178:  browser: safari
    1179:  driver: remote
    1180:  version: 17.4.1
    1181:  platform: macosx
    1182:  ci: github
    1183:  ruby: ruby 3.0.6p216 (2023-03-30 revision 23a532679b) [x86_64-darwin22]
    1184:  Selenium::WebDriver::Element
    1185:  clicks (FAILED - 1)
    ...
    
    1206:  returns the same #hash for equal elements when found by Driver#find_element
    1207:  returns the same #hash for equal elements when found by Driver#find_elements
    1208:  #submit
    1209:  valid submit button
    1210:  any input element in form
    1211:  any element in form
    1212:  button with id submit
    1213:  button with name submit
    1214:  errors with button outside form
    ...
    
    1280:  size and location
    1281:  gets current location
    1282:  gets location once scrolled into view
    1283:  gets size
    1284:  gets rect
    1285:  Pending: (Failures listed here are expected and do not affect your suite's status)
    1286:  1) Selenium::WebDriver::Element raises if different element receives click
    1287:  # Test guarded; no reason given
    1288:  Got 1 failure:
    1289:  1.1) Failure/Error: expect { driver.find_element(id: 'contents').click }.to raise_error(Error::ElementClickInterceptedError)
    1290:  expected Selenium::WebDriver::Error::ElementClickInterceptedError, got Selenium::WebDriver::Error::WebDriverError with backtrace:
    ...
    
    1297:  # ./rb/lib/selenium/webdriver/remote/bridge.rb:607:in `execute'
    1298:  # ./rb/lib/selenium/webdriver/remote/bridge.rb:392:in `click_element'
    1299:  # ./rb/lib/selenium/webdriver/common/element.rb:77:in `click'
    1300:  # ./rb/spec/integration/selenium/webdriver/element_spec.rb:34:in `block (3 levels) in <module:WebDriver>'
    1301:  # ./rb/spec/integration/selenium/webdriver/element_spec.rb:34:in `block (2 levels) in <module:WebDriver>'
    1302:  # ./rb/spec/integration/selenium/webdriver/element_spec.rb:34:in `block (2 levels) in <module:WebDriver>'
    1303:  2) Selenium::WebDriver::Element raises if element is partially covered
    1304:  # Test guarded; no reason given
    1305:  Got 1 failure:
    1306:  2.1) Failure/Error: expect { driver.find_element(id: 'other_contents').click }.to raise_error(Error::ElementClickInterceptedError)
    1307:  expected Selenium::WebDriver::Error::ElementClickInterceptedError, got Selenium::WebDriver::Error::WebDriverError with backtrace:
    ...
    
    1314:  # ./rb/lib/selenium/webdriver/remote/bridge.rb:607:in `execute'
    1315:  # ./rb/lib/selenium/webdriver/remote/bridge.rb:392:in `click_element'
    1316:  # ./rb/lib/selenium/webdriver/common/element.rb:77:in `click'
    1317:  # ./rb/spec/integration/selenium/webdriver/element_spec.rb:40:in `block (3 levels) in <module:WebDriver>'
    1318:  # ./rb/spec/integration/selenium/webdriver/element_spec.rb:40:in `block (2 levels) in <module:WebDriver>'
    1319:  # ./rb/spec/integration/selenium/webdriver/element_spec.rb:40:in `block (2 levels) in <module:WebDriver>'
    1320:  3) Selenium::WebDriver::Element sends key presses chords
    1321:  # Test guarded; no reason given
    1322:  Got 1 failure:
    1323:  3.1) Failure/Error: expect(key_reporter.attribute('value')).to eq('Hello')
    1324:  expected: "Hello"
    1325:  got: "ello"
    1326:  (compared using ==)
    1327:  # ./rb/spec/integration/selenium/webdriver/element_spec.rb:128:in `block (2 levels) in <module:WebDriver>'
    1328:  4) Selenium::WebDriver::Element properties and attributes with boolean type of true #dom_attribute returns String
    1329:  # Test guarded; no reason given
    1330:  Got 1 failure:
    1331:  4.1) Failure/Error: expect(element.dom_attribute(prop_or_attr)).to eq 'true'
    1332:  expected: "true"
    1333:  got: "checked"
    1334:  (compared using ==)
    1335:  # ./rb/spec/integration/selenium/webdriver/element_spec.rb:186:in `block (4 levels) in <module:WebDriver>'
    1336:  5) Selenium::WebDriver::Element properties and attributes with boolean type of true #dom_attribute does not update after click
    1337:  # Test guarded; no reason given
    1338:  Got 1 failure:
    1339:  5.1) Failure/Error: expect(element.dom_attribute(prop_or_attr)).to eq 'true'
    1340:  expected: "true"
    1341:  got: "checked"
    1342:  (compared using ==)
    1343:  # ./rb/spec/integration/selenium/webdriver/element_spec.rb:199:in `block (4 levels) in <module:WebDriver>'
    1344:  6) Selenium::WebDriver::Element properties and attributes style #property returns object
    1345:  # Test guarded; no reason given
    1346:  Got 1 failure:
    1347:  6.1) Failure/Error: expect(element.property(prop_or_attr)).to eq %w[width height]
    ...
    
    2761:  +"x" => "",
    2762:  +"y" => "",
    2763:  +"z-index" => "",
    2764:  +"zIndex" => "",
    2765:  +"zoom" => "",
    2766:  # ./rb/spec/integration/selenium/webdriver/element_spec.rb:321:in `block (4 levels) in <module:WebDriver>'
    2767:  7) Selenium::WebDriver::Element properties and attributes property attribute case difference with attribute casing #dom_attribute returns a String
    2768:  # Test guarded; no reason given
    2769:  Got 1 failure:
    2770:  7.1) Failure/Error: expect(element.dom_attribute(prop_or_attr)).to eq 'true'
    2771:  expected: "true"
    2772:  got: "readonly"
    2773:  (compared using ==)
    2774:  # ./rb/spec/integration/selenium/webdriver/element_spec.rb:351:in `block (4 levels) in <module:WebDriver>'
    2775:  8) Selenium::WebDriver::Element properties and attributes property attribute case difference with property casing #dom_attribute returns a String
    2776:  # Test guarded; no reason given
    2777:  Got 1 failure:
    2778:  8.1) Failure/Error: expect(element.dom_attribute(prop_or_attr)).to eq 'true'
    2779:  expected: "true"
    2780:  got: "readonly"
    2781:  (compared using ==)
    2782:  # ./rb/spec/integration/selenium/webdriver/element_spec.rb:371:in `block (4 levels) in <module:WebDriver>'
    2783:  Failures:
    2784:  1) Selenium::WebDriver::Element clicks
    2785:  Failure/Error: reset_driver!(time: 1) if %i[safari safari_preview].include? GlobalTestEnv.browser
    2786:  Selenium::WebDriver::Error::SessionNotCreatedError:
    2787:  Could not start a new session. Error while creating session with the driver service. Stopping driver service: Driver server process died prematurely.
    ...
    
    2819:  # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `for'
    2820:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:212:in `remote_driver'
    2821:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:154:in `create_driver!'
    2822:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:61:in `driver_instance'
    2823:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:67:in `reset_driver!'
    2824:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in `reset_driver!'
    2825:  # ./rb/spec/integration/selenium/webdriver/element_spec.rb:28:in `block (2 levels) in <module:WebDriver>'
    2826:  Finished in 53.5 seconds (files took 0.28019 seconds to load)
    2827:  83 examples, 1 failure, 8 pending
    2828:  Failed examples:
    ...
    
    2835:  Running Ruby specs:
    2836:  browser: safari
    2837:  driver: remote
    2838:  version: 17.4.1
    2839:  platform: macosx
    2840:  ci: github
    2841:  ruby: ruby 3.0.6p216 (2023-03-30 revision 23a532679b) [x86_64-darwin22]
    2842:  Selenium::WebDriver::Element
    2843:  clicks (FAILED - 1)
    ...
    
    2864:  returns the same #hash for equal elements when found by Driver#find_element
    2865:  returns the same #hash for equal elements when found by Driver#find_elements
    2866:  #submit
    2867:  valid submit button
    2868:  any input element in form
    2869:  any element in form
    2870:  button with id submit
    2871:  button with name submit
    2872:  errors with button outside form
    ...
    
    2938:  size and location
    2939:  gets current location
    2940:  gets location once scrolled into view
    2941:  gets size
    2942:  gets rect
    2943:  Pending: (Failures listed here are expected and do not affect your suite's status)
    2944:  1) Selenium::WebDriver::Element raises if different element receives click
    2945:  # Test guarded; no reason given
    2946:  Got 1 failure:
    2947:  1.1) Failure/Error: expect { driver.find_element(id: 'contents').click }.to raise_error(Error::ElementClickInterceptedError)
    2948:  expected Selenium::WebDriver::Error::ElementClickInterceptedError, got Selenium::WebDriver::Error::WebDriverError with backtrace:
    ...
    
    2955:  # ./rb/lib/selenium/webdriver/remote/bridge.rb:607:in `execute'
    2956:  # ./rb/lib/selenium/webdriver/remote/bridge.rb:392:in `click_element'
    2957:  # ./rb/lib/selenium/webdriver/common/element.rb:77:in `click'
    2958:  # ./rb/spec/integration/selenium/webdriver/element_spec.rb:34:in `block (3 levels) in <module:WebDriver>'
    2959:  # ./rb/spec/integration/selenium/webdriver/element_spec.rb:34:in `block (2 levels) in <module:WebDriver>'
    2960:  # ./rb/spec/integration/selenium/webdriver/element_spec.rb:34:in `block (2 levels) in <module:WebDriver>'
    2961:  2) Selenium::WebDriver::Element raises if element is partially covered
    2962:  # Test guarded; no reason given
    2963:  Got 1 failure:
    2964:  2.1) Failure/Error: expect { driver.find_element(id: 'other_contents').click }.to raise_error(Error::ElementClickInterceptedError)
    2965:  expected Selenium::WebDriver::Error::ElementClickInterceptedError, got Selenium::WebDriver::Error::WebDriverError with backtrace:
    ...
    
    2972:  # ./rb/lib/selenium/webdriver/remote/bridge.rb:607:in `execute'
    2973:  # ./rb/lib/selenium/webdriver/remote/bridge.rb:392:in `click_element'
    2974:  # ./rb/lib/selenium/webdriver/common/element.rb:77:in `click'
    2975:  # ./rb/spec/integration/selenium/webdriver/element_spec.rb:40:in `block (3 levels) in <module:WebDriver>'
    2976:  # ./rb/spec/integration/selenium/webdriver/element_spec.rb:40:in `block (2 levels) in <module:WebDriver>'
    2977:  # ./rb/spec/integration/selenium/webdriver/element_spec.rb:40:in `block (2 levels) in <module:WebDriver>'
    2978:  3) Selenium::WebDriver::Element sends key presses chords
    2979:  # Test guarded; no reason given
    2980:  Got 1 failure:
    2981:  3.1) Failure/Error: expect(key_reporter.attribute('value')).to eq('Hello')
    2982:  expected: "Hello"
    2983:  got: "ello"
    2984:  (compared using ==)
    2985:  # ./rb/spec/integration/selenium/webdriver/element_spec.rb:128:in `block (2 levels) in <module:WebDriver>'
    2986:  4) Selenium::WebDriver::Element properties and attributes with boolean type of true #dom_attribute returns String
    2987:  # Test guarded; no reason given
    2988:  Got 1 failure:
    2989:  4.1) Failure/Error: expect(element.dom_attribute(prop_or_attr)).to eq 'true'
    2990:  expected: "true"
    2991:  got: "checked"
    2992:  (compared using ==)
    2993:  # ./rb/spec/integration/selenium/webdriver/element_spec.rb:186:in `block (4 levels) in <module:WebDriver>'
    2994:  5) Selenium::WebDriver::Element properties and attributes with boolean type of true #dom_attribute does not update after click
    2995:  # Test guarded; no reason given
    2996:  Got 1 failure:
    2997:  5.1) Failure/Error: expect(element.dom_attribute(prop_or_attr)).to eq 'true'
    2998:  expected: "true"
    2999:  got: "checked"
    3000:  (compared using ==)
    3001:  # ./rb/spec/integration/selenium/webdriver/element_spec.rb:199:in `block (4 levels) in <module:WebDriver>'
    3002:  6) Selenium::WebDriver::Element properties and attributes style #property returns object
    3003:  # Test guarded; no reason given
    3004:  Got 1 failure:
    3005:  6.1) Failure/Error: expect(element.property(prop_or_attr)).to eq %w[width height]
    ...
    
    4419:  +"x" => "",
    4420:  +"y" => "",
    4421:  +"z-index" => "",
    4422:  +"zIndex" => "",
    4423:  +"zoom" => "",
    4424:  # ./rb/spec/integration/selenium/webdriver/element_spec.rb:321:in `block (4 levels) in <module:WebDriver>'
    4425:  7) Selenium::WebDriver::Element properties and attributes property attribute case difference with attribute casing #dom_attribute returns a String
    4426:  # Test guarded; no reason given
    4427:  Got 1 failure:
    4428:  7.1) Failure/Error: expect(element.dom_attribute(prop_or_attr)).to eq 'true'
    4429:  expected: "true"
    4430:  got: "readonly"
    4431:  (compared using ==)
    4432:  # ./rb/spec/integration/selenium/webdriver/element_spec.rb:351:in `block (4 levels) in <module:WebDriver>'
    4433:  8) Selenium::WebDriver::Element properties and attributes property attribute case difference with property casing #dom_attribute returns a String
    4434:  # Test guarded; no reason given
    4435:  Got 1 failure:
    4436:  8.1) Failure/Error: expect(element.dom_attribute(prop_or_attr)).to eq 'true'
    4437:  expected: "true"
    4438:  got: "readonly"
    4439:  (compared using ==)
    4440:  # ./rb/spec/integration/selenium/webdriver/element_spec.rb:371:in `block (4 levels) in <module:WebDriver>'
    4441:  Failures:
    4442:  1) Selenium::WebDriver::Element clicks
    4443:  Failure/Error: reset_driver!(time: 1) if %i[safari safari_preview].include? GlobalTestEnv.browser
    4444:  Selenium::WebDriver::Error::SessionNotCreatedError:
    4445:  Could not start a new session. Error while creating session with the driver service. Stopping driver service: Driver server process died prematurely.
    ...
    
    4477:  # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `for'
    4478:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:212:in `remote_driver'
    4479:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:154:in `create_driver!'
    4480:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:61:in `driver_instance'
    4481:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:67:in `reset_driver!'
    4482:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in `reset_driver!'
    4483:  # ./rb/spec/integration/selenium/webdriver/element_spec.rb:28:in `block (2 levels) in <module:WebDriver>'
    4484:  Finished in 54.62 seconds (files took 0.26921 seconds to load)
    4485:  83 examples, 1 failure, 8 pending
    4486:  Failed examples:
    4487:  rspec ./rb/spec/integration/selenium/webdriver/element_spec.rb:25 # Selenium::WebDriver::Element clicks
    4488:  ================================================================================
    4489:  �[32m[3,088 / 3,089]�[0m 13 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:storage-safari-remote; 1s disk-cache
    4490:  �[32m[3,088 / 3,089]�[0m 13 / 24 tests, �[31m�[1m1 failed�[0m;�[0m [Sched] Testing //rb/spec/integration/selenium/webdriver:storage-safari-remote
    4491:  �[32m[3,088 / 3,089]�[0m 13 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:storage-safari-remote; 1s local, disk-cache
    4492:  �[32m[3,088 / 3,089]�[0m 13 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:storage-safari-remote; 21s local, disk-cache
    4493:  �[32m[3,089 / 3,090]�[0m 14 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:listener-safari-remote; 1s disk-cache
    4494:  �[32m[3,089 / 3,090]�[0m 14 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:listener-safari-remote; 0s local, disk-cache
    4495:  �[32m[3,089 / 3,090]�[0m 14 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:listener-safari-remote; 9s local, disk-cache
    4496:  �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:listener-safari-remote (see /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/listener-safari-remote/test_attempts/attempt_1.log)
    4497:  �[32m[3,089 / 3,090]�[0m 14 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:listener-safari-remote; 10s local, disk-cache
    4498:  �[32m[3,089 / 3,090]�[0m 14 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:listener-safari-remote; 36s local, disk-cache
    4499:  �[35mFLAKY: �[0m//rb/spec/integration/selenium/webdriver:listener-safari-remote (Summary)
    4500:  ==================== Test output for //rb/spec/integration/selenium/webdriver:listener-safari-remote:
    4501:  /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/listener-safari-remote/test_attempts/attempt_1.log
    4502:  <internal:dir>:134: warning: /var/root/.local/share/gem/ruby/3.0.0/specifications: Permission denied
    4503:  �[32mINFO: �[0mFrom Testing //rb/spec/integration/selenium/webdriver:listener-safari-remote:
    4504:  <internal:dir>:134: warning: /var/root/.local/share/gem/ruby/3.0.0/specifications: Permission denied
    4505:  2024-05-10 01:11:26 INFO Selenium Server Location: /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/bin/rb/spec/integration/selenium/webdriver/listener-safari-remote.sh.runfiles/_main/java/src/org/openqa/selenium/grid/selenium_server_deploy.jar
    4506:  Running Ruby specs:
    4507:  An error occurred in a `before(:suite)` hook.
    4508:  Failure/Error: Unable to find [remote server] org.openqa.selenium.grid.node.config.DriverServiceSessionFactory(DriverServiceSessionFactory.java) to read failed line
    4509:  Selenium::WebDriver::Error::SessionNotCreatedError:
    4510:  Could not start a new session. Error while creating session with the driver service. Stopping driver service: Driver server process died prematurely.
    ...
    
    4542:  # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `for'
    4543:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:212:in `remote_driver'
    4544:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:154:in `create_driver!'
    4545:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:61:in `driver_instance'
    4546:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:189:in `current_env'
    4547:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:42:in `print_env'
    4548:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_helper.rb:41:in `block (2 levels) in <top (required)>'
    4549:  Finished in 7.11 seconds (files took 0.27926 seconds to load)
    4550:  0 examples, 0 failures, 1 error occurred outside of examples
    4551:  ================================================================================
    4552:  �[32m[3,090 / 3,091]�[0m 15 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver/safari:driver-safari-remote; 1s disk-cache
    4553:  �[32m[3,090 / 3,091]�[0m 15 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver/safari:driver-safari-remote; 0s local, disk-cache
    4554:  �[32m[3,090 / 3,091]�[0m 15 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver/safari:driver-safari-remote; 15s local, disk-cache
    4555:  �[32m[3,091 / 3,092]�[0m 16 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver/bidi:log_inspector-safari-remote; 0s disk-cache
    4556:  �[32m[3,091 / 3,092]�[0m 16 / 24 tests, �[31m�[1m1 failed�[0m;�[0m [Sched] Testing //rb/spec/integration/selenium/webdriver/bidi:log_inspector-safari-remote
    4557:  �[32m[3,091 / 3,092]�[0m 16 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver/bidi:log_inspector-safari-remote; 1s local, disk-cache
    4558:  �[32m[3,091 / 3,092]�[0m 16 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver/bidi:log_inspector-safari-remote; 47s local, disk-cache
    4559:  �[32m[3,092 / 3,093]�[0m 17 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:select-safari-remote; 0s disk-cache
    4560:  �[32m[3,092 / 3,093]�[0m 17 / 24 tests, �[31m�[1m1 failed�[0m;�[0m [Sched] Testing //rb/spec/integration/selenium/webdriver:select-safari-remote
    4561:  �[32m[3,092 / 3,093]�[0m 17 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:select-safari-remote; 1s local, disk-cache
    4562:  �[32m[3,092 / 3,093]�[0m 17 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:select-safari-remote; 9s local, disk-cache
    4563:  �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:select-safari-remote (see /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/select-safari-remote/test_attempts/attempt_1.log)
    4564:  �[32m[3,092 / 3,093]�[0m 17 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:select-safari-remote; 10s local, disk-cache
    4565:  �[32m[3,092 / 3,093]�[0m 17 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:select-safari-remote; 30s local, disk-cache
    4566:  �[35mFLAKY: �[0m//rb/spec/integration/selenium/webdriver:select-safari-remote (Summary)
    4567:  ==================== Test output for //rb/spec/integration/selenium/webdriver:select-safari-remote:
    4568:  /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/select-safari-remote/test_attempts/attempt_1.log
    4569:  <internal:dir>:134: warning: /var/root/.local/share/gem/ruby/3.0.0/specifications: Permission denied
    4570:  �[32mINFO: �[0mFrom Testing //rb/spec/integration/selenium/webdriver:select-safari-remote:
    4571:  <internal:dir>:134: warning: /var/root/.local/share/gem/ruby/3.0.0/specifications: Permission denied
    4572:  2024-05-10 01:13:12 INFO Selenium Server Location: /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/bin/rb/spec/integration/selenium/webdriver/select-safari-remote.sh.runfiles/_main/java/src/org/openqa/selenium/grid/selenium_server_deploy.jar
    4573:  Running Ruby specs:
    4574:  An error occurred in a `before(:suite)` hook.
    4575:  Failure/Error: Unable to find [remote server] org.openqa.selenium.grid.node.config.DriverServiceSessionFactory(DriverServiceSessionFactory.java) to read failed line
    4576:  Selenium::WebDriver::Error::SessionNotCreatedError:
    4577:  Could not start a new session. Error while creating session with the driver service. Stopping driver service: Driver server process died prematurely.
    ...
    
    4609:  # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `for'
    4610:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:212:in `remote_driver'
    4611:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:154:in `create_driver!'
    4612:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:61:in `driver_instance'
    4613:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:189:in `current_env'
    4614:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:42:in `print_env'
    4615:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_helper.rb:41:in `block (2 levels) in <top (required)>'
    4616:  Finished in 7.1 seconds (files took 0.26746 seconds to load)
    4617:  0 examples, 0 failures, 1 error occurred outside of examples
    4618:  ================================================================================
    4619:  �[32m[3,093 / 3,094]�[0m 18 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:target_locator-safari-remote; 1s disk-cache
    4620:  �[32m[3,093 / 3,094]�[0m 18 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:target_locator-safari-remote; 0s local, disk-cache
    4621:  �[32m[3,093 / 3,094]�[0m 18 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:target_locator-safari-remote; 130s local, disk-cache
    4622:  �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:target_locator-safari-remote (see /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/target_locator-safari-remote/test_attempts/attempt_1.log)
    4623:  �[32m[3,093 / 3,094]�[0m 18 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:target_locator-safari-remote; 131s local, disk-cache
    4624:  �[32m[3,093 / 3,094]�[0m 18 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:target_locator-safari-remote; 141s local, disk-cache
    4625:  �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:target_locator-safari-remote (see /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/target_locator-safari-remote/test_attempts/attempt_2.log)
    4626:  �[32m[3,093 / 3,094]�[0m 18 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:target_locator-safari-remote; 142s local, disk-cache
    4627:  �[32m[3,093 / 3,094]�[0m 18 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:target_locator-safari-remote; 278s local, disk-cache
    ...
    
    4652:  handles exceptions inside the block
    4653:  switches to a window without a block
    4654:  uses the original window if the block closes the popup
    4655:  #new_window
    4656:  switches to a new window
    4657:  switches to a new tab
    4658:  raises exception when the new window type is not recognized
    4659:  switches to the new window then close it when given a block
    4660:  does not error if switching to a new window with a block that closes window
    ...
    
    4664:  iterates over open windows when current window is not closed (PENDING: Test guarded; no reason given)
    4665:  iterates over open windows when current window is closed (PENDING: Test guarded; no reason given)
    4666:  alerts
    4667:  allows the user to accept an alert
    4668:  allows the user to dismiss an alert
    4669:  allows the user to set the value of a prompt
    4670:  allows the user to get the text of an alert
    4671:  raises when calling #text on a closed alert
    4672:  raises NoAlertOpenError if no alert is present
    4673:  unhandled alert error
    4674:  raises an UnexpectedAlertOpenError if an alert has not been dealt with (FAILED - 1)
    4675:  Pending: (Failures listed here are expected and do not affect your suite's status)
    4676:  1) Selenium::WebDriver::TargetLocator with more than two windows closes current window via block
    4677:  # Test guarded; no reason given
    4678:  Failure/Error: wait.until { driver.window_handles.size == 3 }
    4679:  Selenium::WebDriver::Error::TimeoutError:
    4680:  timed out after 10 seconds
    4681:  # ./rb/lib/selenium/webdriver/common/wait.rb:73:in `until'
    4682:  # ./rb/spec/integration/selenium/webdriver/target_locator_spec.rb:175:in `block (3 levels) in <module:WebDriver>'
    4683:  2) Selenium::WebDriver::TargetLocator with more than two windows closes another window
    4684:  # Test guarded; no reason given
    4685:  Failure/Error: wait.until { driver.window_handles.size == 3 }
    4686:  Selenium::WebDriver::Error::TimeoutError:
    4687:  timed out after 10 seconds
    4688:  # ./rb/lib/selenium/webdriver/common/wait.rb:73:in `until'
    4689:  # ./rb/spec/integration/selenium/webdriver/target_locator_spec.rb:188:in `block (3 levels) in <module:WebDriver>'
    4690:  3) Selenium::WebDriver::TargetLocator with more than two windows iterates over open windows when current window is not closed
    4691:  # Test guarded; no reason given
    4692:  Failure/Error: wait.until { driver.window_handles.size == 3 }
    4693:  Selenium::WebDriver::Error::TimeoutError:
    4694:  timed out after 10 seconds
    4695:  # ./rb/lib/selenium/webdriver/common/wait.rb:73:in `until'
    4696:  # ./rb/spec/integration/selenium/webdriver/target_locator_spec.rb:202:in `block (3 levels) in <module:WebDriver>'
    4697:  4) Selenium::WebDriver::TargetLocator with more than two windows iterates over open windows when current window is closed
    4698:  # Test guarded; no reason given
    4699:  Got 0 failures and 2 other errors:
    4700:  4.1) Failure/Error: wait.until { driver.window_handles.size == 3 }
    4701:  Selenium::WebDriver::Error::TimeoutError:
    4702:  timed out after 10 seconds
    4703:  # ./rb/lib/selenium/webdriver/common/wait.rb:73:in `until'
    4704:  # ./rb/spec/integration/selenium/webdriver/target_locator_spec.rb:221:in `block (3 levels) in <module:WebDriver>'
    4705:  4.2) Failure/Error: Unable to find [remote server] org.openqa.selenium.grid.node.config.DriverServiceSessionFactory(DriverServiceSessionFactory.java) to read failed line
    4706:  Selenium::WebDriver::Error::SessionNotCreatedError:
    4707:  Could not start a new session. Error while creating session with the driver service. Stopping driver service: Driver server process died prematurely.
    ...
    
    4739:  # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `for'
    4740:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:212:in `remote_driver'
    4741:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:154:in `create_driver!'
    4742:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:61:in `driver_instance'
    4743:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:67:in `reset_driver!'
    4744:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in `reset_driver!'
    4745:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_helper.rb:66:in `block (2 levels) in <top (required)>'
    4746:  Failures:
    4747:  1) Selenium::WebDriver::TargetLocator alerts unhandled alert error raises an UnexpectedAlertOpenError if an alert has not been dealt with
    4748:  Failure/Error: after { reset_driver! }
    4749:  Selenium::WebDriver::Error::SessionNotCreatedError:
    4750:  Could not start a new session. Error while creating session with the driver service. Stopping driver service: Driver server process died prematurely.
    ...
    
    4782:  # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `for'
    4783:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:212:in `remote_driver'
    4784:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:154:in `create_driver!'
    4785:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:61:in `driver_instance'
    4786:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:67:in `reset_driver!'
    4787:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in `reset_driver!'
    4788:  # ./rb/spec/integration/selenium/webdriver/target_locator_spec.rb:328:in `block (4 levels) in <module:WebDriver>'
    4789:  Finished in 2 minutes 7.7 seconds (files took 0.26694 seconds to load)
    4790:  26 examples, 1 failure, 4 pending
    4791:  Failed examples:
    4792:  rspec ./rb/spec/integration/selenium/webdriver/target_locator_spec.rb:330 # Selenium::WebDriver::TargetLocator alerts unhandled alert error raises an UnexpectedAlertOpenError if an alert has not been dealt with
    4793:  ================================================================================
    4794:  ==================== Test output for //rb/spec/integration/selenium/webdriver:target_locator-safari-remote:
    4795:  <internal:dir>:134: warning: /var/root/.local/share/gem/ruby/3.0.0/specifications: Permission denied
    4796:  <internal:dir>:134: warning: /var/root/.local/share/gem/ruby/3.0.0/specifications: Permission denied
    4797:  2024-05-10 01:15:56 INFO Selenium Server Location: /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/bin/rb/spec/integration/selenium/webdriver/target_locator-safari-remote.sh.runfiles/_main/java/src/org/openqa/selenium/grid/selenium_server_deploy.jar
    4798:  Running Ruby specs:
    4799:  An error occurred in a `before(:suite)` hook.
    4800:  Failure/Error: Unable to find [remote server] org.openqa.selenium.grid.node.config.DriverServiceSessionFactory(DriverServiceSessionFactory.java) to read failed line
    4801:  Selenium::WebDriver::Error::SessionNotCreatedError:
    4802:  Could not start a new session. Error while creating session with the driver service. Stopping driver service: Driver server process died prematurely.
    ...
    
    4834:  # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `for'
    4835:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:212:in `remote_driver'
    4836:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:154:in `create_driver!'
    4837:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:61:in `driver_instance'
    4838:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:189:in `current_env'
    4839:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:42:in `print_env'
    4840:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_helper.rb:41:in `block (2 levels) in <top (required)>'
    4841:  Finished in 7.78 seconds (files took 0.26824 seconds to load)
    4842:  0 examples, 0 failures, 1 error occurred outside of examples
    4843:  ================================================================================
    4844:  �[32m[3,094 / 3,095]�[0m 19 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:takes_screenshot-safari-remote; 1s disk-cache
    4845:  �[32m[3,094 / 3,095]�[0m 19 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:takes_screenshot-safari-remote; 0s local, disk-cache
    4846:  �[32m[3,094 / 3,095]�[0m 19 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:takes_screenshot-safari-remote; 10s local, disk-cache
    4847:  �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:takes_screenshot-safari-remote (see /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/takes_screenshot-safari-remote/test_attempts/attempt_1.log)
    4848:  �[32m[3,094 / 3,095]�[0m 19 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:takes_screenshot-safari-remote; 11s local, disk-cache
    4849:  �[32m[3,094 / 3,095]�[0m 19 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:takes_screenshot-safari-remote; 27s local, disk-cache
    4850:  ==================== Test output for //rb/spec/integration/selenium/webdriver:takes_screenshot-safari-remote:
    4851:  �[35mFLAKY: �[0m//rb/spec/integration/selenium/webdriver:takes_screenshot-safari-remote (Summary)
    4852:  <internal:dir>:134: warning: /var/root/.local/share/gem/ruby/3.0.0/specifications: Permission denied
    4853:  /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/takes_screenshot-safari-remote/test_attempts/attempt_1.log
    4854:  �[32mINFO: �[0mFrom Testing //rb/spec/integration/selenium/webdriver:takes_screenshot-safari-remote:
    4855:  <internal:dir>:134: warning: /var/root/.local/share/gem/ruby/3.0.0/specifications: Permission denied
    4856:  2024-05-10 01:18:27 INFO Selenium Server Location: /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/bin/rb/spec/integration/selenium/webdriver/takes_screenshot-safari-remote.sh.runfiles/_main/java/src/org/openqa/selenium/grid/selenium_server_deploy.jar
    4857:  Running Ruby specs:
    4858:  An error occurred in a `before(:suite)` hook.
    4859:  Failure/Error: Unable to find [remote server] org.openqa.selenium.grid.node.config.DriverServiceSessionFactory(DriverServiceSessionFactory.java) to read failed line
    4860:  Selenium::WebDriver::Error::SessionNotCreatedError:
    4861:  Could not start a new session. Error while creating session with the driver service. Stopping driver service: Driver server process died prematurely.
    ...
    
    4893:  # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `for'
    4894:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:212:in `remote_driver'
    4895:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:154:in `create_driver!'
    4896:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:61:in `driver_instance'
    4897:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:189:in `current_env'
    4898:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:42:in `print_env'
    4899:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_helper.rb:41:in `block (2 levels) in <top (required)>'
    4900:  Finished in 7.96 seconds (files took 0.41432 seconds to load)
    4901:  0 examples, 0 failures, 1 error occurred outside of examples
    4902:  ================================================================================
    4903:  �[32m[3,095 / 3,096]�[0m 20 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:window-safari-remote; 1s disk-cache
    4904:  �[32m[3,095 / 3,096]�[0m 20 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:window-safari-remote; 0s local, disk-cache
    4905:  �[32m[3,095 / 3,096]�[0m 20 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:window-safari-remote; 38s local, disk-cache
    4906:  �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:window-safari-remote (see /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/window-safari-remote/test_attempts/attempt_1.log)
    4907:  �[32m[3,095 / 3,096]�[0m 20 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:window-safari-remote; 40s local, disk-cache
    4908:  �[32m[3,095 / 3,096]�[0m 20 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:window-safari-remote; 62s local, disk-cache
    4909:  �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:window-safari-remote (see /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/window-safari-remote/test_attempts/attempt_2.log)
    4910:  �[32m[3,095 / 3,096]�[0m 20 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:window-safari-remote; 64s local, disk-cache
    4911:  �[32m[3,095 / 3,096]�[0m 20 / 24 tests, �[31m�[1m1 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:window-safari-remote; 72s local, disk-cache
    4912:  �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:window-safari-remote (see /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/window-safari-remote/test.log)
    4913:  �[31m�[1mFAILED: �[0m//rb/spec/integration/selenium/webdriver:window-safari-remote (Summary)
    ...
    
    4930:  gets the size of the current window
    4931:  sets the size of the current window
    4932:  gets the position of the current window
    4933:  sets the position of the current window
    4934:  gets the rect of the current window
    4935:  sets the rect of the current window
    4936:  can maximize the current window
    4937:  can make window full screen
    4938:  can minimize the window (FAILED - 1)
    4939:  Failures:
    4940:  1) Selenium::WebDriver::Window can minimize the window
    4941:  Failure/Error:
    4942:  expect {
    4943:  wait.until { driver.execute_script('return document.hidden;') }
    4944:  }.not_to raise_error
    4945:  expected no Exception, got #<Selenium::WebDriver::Error::TimeoutError: timed out after 10 seconds> with backtrace:
    4946:  # ./rb/lib/selenium/webdriver/common/wait.rb:73:in `until'
    4947:  # ./rb/spec/integration/selenium/webdriver/window_spec.rb:131:in `block (3 levels) in <module:WebDriver>'
    4948:  # ./rb/spec/integration/selenium/webdriver/window_spec.rb:130:in `block (2 levels) in <module:WebDriver>'
    4949:  # ./rb/spec/integration/selenium/webdriver/window_spec.rb:130:in `block (2 levels) in <module:WebDriver>'
    4950:  Finished in 36.57 seconds (files took 0.28412 seconds to load)
    4951:  9 examples, 1 failure
    4952:  Failed examples:
    ...
    
    4968:  sets the size of the current window
    4969:  gets the position of the current window
    4970:  sets the position of the current window
    4971:  gets the rect of the current window
    4972:  sets the rect of the current window
    4973:  can maximize the current window
    4974:  can make window full screen
    4975:  can minimize the window
    4976:  An error occurred in an `after(:context)` hook.
    4977:  Failure/Error: after(:all) { reset_driver! }
    4978:  Selenium::WebDriver::Error::SessionNotCreatedError:
    4979:  Could not start a new session. Error while creating session with the driver service. Stopping driver service: Driver server process died prematurely.
    ...
    
    5011:  # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `for'
    5012:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:212:in `remote_driver'
    5013:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:154:in `create_driver!'
    5014:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:61:in `driver_instance'
    5015:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:67:in `reset_driver!'
    5016:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/helpers.rb:29:in `reset_driver!'
    5017:  # ./rb/spec/integration/selenium/webdriver/window_spec.rb:25:in `block (2 levels) in <module:WebDriver>'
    5018:  Finished in 21.19 seconds (files took 0.26412 seconds to load)
    5019:  9 examples, 0 failures, 1 error occurred outside of examples
    5020:  ================================================================================
    5021:  ==================== Test output for //rb/spec/integration/selenium/webdriver:window-safari-remote:
    5022:  <internal:dir>:134: warning: /var/root/.local/share/gem/ruby/3.0.0/specifications: Permission denied
    5023:  <internal:dir>:134: warning: /var/root/.local/share/gem/ruby/3.0.0/specifications: Permission denied
    5024:  2024-05-10 01:19:59 INFO Selenium Server Location: /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/bin/rb/spec/integration/selenium/webdriver/window-safari-remote.sh.runfiles/_main/java/src/org/openqa/selenium/grid/selenium_server_deploy.jar
    5025:  Running Ruby specs:
    5026:  An error occurred in a `before(:suite)` hook.
    5027:  Failure/Error: Unable to find [remote server] org.openqa.selenium.grid.node.config.DriverServiceSessionFactory(DriverServiceSessionFactory.java) to read failed line
    5028:  Selenium::WebDriver::Error::SessionNotCreatedError:
    5029:  Could not start a new session. Error while creating session with the driver service. Stopping driver service: Driver server process died prematurely.
    ...
    
    5061:  # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `for'
    5062:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:212:in `remote_driver'
    5063:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:154:in `create_driver!'
    5064:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:61:in `driver_instance'
    5065:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:189:in `current_env'
    5066:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:42:in `print_env'
    5067:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_helper.rb:41:in `block (2 levels) in <top (required)>'
    5068:  Finished in 7.04 seconds (files took 0.25655 seconds to load)
    5069:  0 examples, 0 failures, 1 error occurred outside of examples
    5070:  ================================================================================
    5071:  �[32m[3,096 / 3,097]�[0m 21 / 24 tests, �[31m�[1m2 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:guard-safari-remote; 1s disk-cache
    5072:  �[32m[3,096 / 3,097]�[0m 21 / 24 tests, �[31m�[1m2 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:guard-safari-remote; 0s local, disk-cache
    5073:  �[32m[3,096 / 3,097]�[0m 21 / 24 tests, �[31m�[1m2 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:guard-safari-remote; 15s local, disk-cache
    5074:  �[32m[3,097 / 3,098]�[0m 22 / 24 tests, �[31m�[1m2 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:devtools-safari-remote; 1s disk-cache
    5075:  �[32m[3,097 / 3,098]�[0m 22 / 24 tests, �[31m�[1m2 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:devtools-safari-remote; 1s local, disk-cache
    5076:  �[32m[3,097 / 3,098]�[0m 22 / 24 tests, �[31m�[1m2 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:devtools-safari-remote; 9s local, disk-cache
    5077:  �[31m�[1mFAIL: �[0m//rb/spec/integration/selenium/webdriver:devtools-safari-remote (see /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/devtools-safari-remote/test_attempts/attempt_1.log)
    5078:  �[32m[3,097 / 3,098]�[0m 22 / 24 tests, �[31m�[1m2 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:devtools-safari-remote; 11s local, disk-cache
    5079:  �[32m[3,097 / 3,098]�[0m 22 / 24 tests, �[31m�[1m2 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:devtools-safari-remote; 321s local, disk-cache
    5080:  �[35mFLAKY: �[0m//rb/spec/integration/selenium/webdriver:devtools-safari-remote (Summary)
    5081:  /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/devtools-safari-remote/test_attempts/attempt_1.log
    5082:  �[32mINFO: �[0mFrom Testing //rb/spec/integration/selenium/webdriver:devtools-safari-remote:
    5083:  ==================== Test output for //rb/spec/integration/selenium/webdriver:devtools-safari-remote:
    5084:  <internal:dir>:134: warning: /var/root/.local/share/gem/ruby/3.0.0/specifications: Permission denied
    5085:  <internal:dir>:134: warning: /var/root/.local/share/gem/ruby/3.0.0/specifications: Permission denied
    5086:  2024-05-10 01:20:29 INFO Selenium Server Location: /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/bin/rb/spec/integration/selenium/webdriver/devtools-safari-remote.sh.runfiles/_main/java/src/org/openqa/selenium/grid/selenium_server_deploy.jar
    5087:  Running Ruby specs:
    5088:  An error occurred in a `before(:suite)` hook.
    5089:  Failure/Error: Unable to find [remote server] org.openqa.selenium.grid.node.config.DriverServiceSessionFactory(DriverServiceSessionFactory.java) to read failed line
    5090:  Selenium::WebDriver::Error::SessionNotCreatedError:
    5091:  Could not start a new session. Error while creating session with the driver service. Stopping driver service: Driver server process died prematurely.
    ...
    
    5123:  # ./rb/lib/selenium/webdriver/common/driver.rb:57:in `for'
    5124:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:212:in `remote_driver'
    5125:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:154:in `create_driver!'
    5126:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:61:in `driver_instance'
    5127:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:189:in `current_env'
    5128:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_support/test_environment.rb:42:in `print_env'
    5129:  # /Users/runner/work/selenium/selenium/rb/spec/integration/selenium/webdriver/spec_helper.rb:41:in `block (2 levels) in <top (required)>'
    5130:  Finished in 7.51 seconds (files took 0.28969 seconds to load)
    5131:  0 examples, 0 failures, 1 error occurred outside of examples
    5132:  ================================================================================
    5133:  �[32m[3,098 / 3,099]�[0m 23 / 24 tests, �[31m�[1m2 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:navigation-safari-remote; 1s disk-cache
    5134:  �[32m[3,098 / 3,099]�[0m 23 / 24 tests, �[31m�[1m2 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:navigation-safari-remote; 0s local, disk-cache
    5135:  �[32m[3,098 / 3,099]�[0m 23 / 24 tests, �[31m�[1m2 failed�[0m;�[0m Testing //rb/spec/integration/selenium/webdriver:navigation-safari-remote; 17s local, disk-cache
    5136:  �[32mINFO: �[0mFound 24 test targets...
    5137:  �[32mINFO: �[0mElapsed time: 1708.640s, Critical Path: 352.34s
    5138:  �[32mINFO: �[0m2869 processes: 1630 disk cache hit, 1145 internal, 22 darwin-sandbox, 72 local.
    5139:  //rb/spec/integration/selenium/webdriver:action_builder-safari-remote    �[0m�[32mPASSED�[0m in 118.7s
    5140:  �[32mINFO: �[0mBuild completed, 2 tests FAILED, 2869 total actions
    5141:  //rb/spec/integration/selenium/webdriver:bidi-safari-remote              �[0m�[32mPASSED�[0m in 106.7s
    5142:  //rb/spec/integration/selenium/webdriver:driver-safari-remote            �[0m�[32mPASSED�[0m in 49.7s
    5143:  //rb/spec/integration/selenium/webdriver:error-safari-remote             �[0m�[32mPASSED�[0m in 16.3s
    ...
    
    5147:  //rb/spec/integration/selenium/webdriver:shadow_root-safari-remote       �[0m�[32mPASSED�[0m in 73.4s
    5148:  //rb/spec/integration/selenium/webdriver:storage-safari-remote           �[0m�[32mPASSED�[0m in 21.1s
    5149:  //rb/spec/integration/selenium/webdriver:timeout-safari-remote           �[0m�[32mPASSED�[0m in 20.5s
    5150:  //rb/spec/integration/selenium/webdriver:virtual_authenticator-safari-remote �[0m�[32mPASSED�[0m in 15.2s
    5151:  //rb/spec/integration/selenium/webdriver/bidi:log_inspector-safari-remote �[0m�[32mPASSED�[0m in 47.6s
    5152:  //rb/spec/integration/selenium/webdriver/remote:driver-safari-remote     �[0m�[32mPASSED�[0m in 17.4s
    5153:  //rb/spec/integration/selenium/webdriver/remote:element-safari-remote    �[0m�[32mPASSED�[0m in 15.4s
    5154:  //rb/spec/integration/selenium/webdriver/safari:driver-safari-remote     �[0m�[32mPASSED�[0m in 15.1s
    5155:  //rb/spec/integration/selenium/webdriver:devtools-safari-remote           �[0m�[35mFLAKY�[0m, failed in 1 out of 2 in 311.7s
    5156:  Stats over 2 runs: max = 311.7s, min = 9.9s, avg = 160.8s, dev = 150.9s
    5157:  /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/devtools-safari-remote/test_attempts/attempt_1.log
    5158:  //rb/spec/integration/selenium/webdriver:listener-safari-remote           �[0m�[35mFLAKY�[0m, failed in 1 out of 2 in 26.9s
    5159:  Stats over 2 runs: max = 26.9s, min = 9.5s, avg = 18.2s, dev = 8.7s
    5160:  /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/listener-safari-remote/test_attempts/attempt_1.log
    5161:  //rb/spec/integration/selenium/webdriver:select-safari-remote             �[0m�[35mFLAKY�[0m, failed in 1 out of 2 in 21.0s
    5162:  Stats over 2 runs: max = 21.0s, min = 9.4s, avg = 15.2s, dev = 5.8s
    5163:  /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/select-safari-remote/test_attempts/attempt_1.log
    5164:  //rb/spec/integration/selenium/webdriver:takes_screenshot-safari-remote   �[0m�[35mFLAKY�[0m, failed in 1 out of 2 in 16.5s
    5165:  Stats over 2 runs: max = 16.5s, min = 10.7s, avg = 13.6s, dev = 2.9s
    5166:  /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/takes_screenshot-safari-remote/test_attempts/attempt_1.log
    5167:  //rb/spec/integration/selenium/webdriver:zipper-safari-remote             �[0m�[35mFLAKY�[0m, failed in 1 out of 2 in 15.9s
    5168:  Stats over 2 runs: max = 15.9s, min = 9.8s, avg = 12.8s, dev = 3.0s
    5169:  /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/zipper-safari-remote/test_attempts/attempt_1.log
    5170:  //rb/spec/integration/selenium/webdriver/bidi:browsing_context-safari-remote �[0m�[35mFLAKY�[0m, failed in 1 out of 2 in 47.6s
    5171:  Stats over 2 runs: max = 47.6s, min = 9.4s, avg = 28.5s, dev = 19.1s
    5172:  /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/bidi/browsing_context-safari-remote/test_attempts/attempt_1.log
    5173:  //rb/spec/integration/selenium/webdriver:target_locator-safari-remote     �[0m�[35mFLAKY�[0m, failed in 2 out of 3 in 137.3s
    5174:  Stats over 3 runs: max = 137.3s, min = 10.1s, avg = 92.6s, dev = 58.4s
    5175:  /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/target_locator-safari-remote/test_attempts/attempt_1.log
    5176:  /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/target_locator-safari-remote/test_attempts/attempt_2.log
    5177:  //rb/spec/integration/selenium/webdriver:element-safari-remote           �[0m�[31m�[1mFAILED�[0m in 3 out of 3 in 57.3s
    5178:  Stats over 3 runs: max = 57.3s, min = 9.5s, avg = 41.0s, dev = 22.3s
    5179:  /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/element-safari-remote/test.log
    5180:  /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/element-safari-remote/test_attempts/attempt_1.log
    5181:  /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/element-safari-remote/test_attempts/attempt_2.log
    5182:  //rb/spec/integration/selenium/webdriver:window-safari-remote            �[0m�[31m�[1mFAILED�[0m in 3 out of 3 in 38.9s
    5183:  Stats over 3 runs: max = 38.9s, min = 9.5s, avg = 24.0s, dev = 12.0s
    5184:  /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/window-safari-remote/test.log
    5185:  /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/window-safari-remote/test_attempts/attempt_1.log
    5186:  /Users/runner/.bazel/execroot/_main/bazel-out/darwin_x86_64-fastbuild/testlogs/rb/spec/integration/selenium/webdriver/window-safari-remote/test_attempts/attempt_2.log
    5187:  Executed 24 out of 24 tests: 22 tests pass and �[0m�[31m�[1m2 fail locally�[0m.
    5188:  There were tests whose specified size is too big. Use the --test_verbose_timeout_warnings command line option to see which ones these are.
    5189:  �[0m
    5190:  ##[error]Process completed with exit code 3.
    

    ✨ CI feedback usage guide:

    The CI feedback tool (/checks) automatically triggers when a PR has a failed check.
    The tool analyzes the failed checks and provides several feedbacks:

    • Failed stage
    • Failed test name
    • Failure summary
    • Relevant error logs

    In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:

    /checks "https://github.com/{repo_name}/actions/runs/{run_number}/job/{job_number}"
    

    where {repo_name} is the name of the repository, {run_number} is the run number of the failed check, and {job_number} is the job number of the failed check.

    Configuration options

    • enable_auto_checks_feedback - if set to true, the tool will automatically provide feedback when a check is failed. Default is true.
    • excluded_checks_list - a list of checks to exclude from the feedback, for example: ["check1", "check2"]. Default is an empty list.
    • enable_help_text - if set to true, the tool will provide a help message with the feedback. Default is true.
    • persistent_comment - if set to true, the tool will overwrite a previous checks comment with the new feedback. Default is true.
    • final_update_message - if persistent_comment is true and updating a previous checks message, the tool will also create a new message: "Persistent checks updated to latest commit". Default is true.

    See more information about the checks tool in the docs.

    @diemol diemol merged commit 768cb3d into trunk May 10, 2024
    38 of 40 checks passed
    @diemol diemol deleted the pinned-browser-updates branch May 10, 2024 08:44
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    None yet

    2 participants