Update dependency rubocop-rspec to v3.6.0 by renovate[bot] · Pull Request #2274 · SeleniumHQ/seleniumhq.github.io (original) (raw)
CI Feedback 🧐
(Feedback updated until commit 0a9a8bf)
A test triggered by this PR failed. Here is an AI-generated analysis of the failure:
Action: tests (macos, nightly) |
---|
Failed stage: Run tests on macos [❌] |
Failed test name: Remote WebDriver starts remotely |
Failure summary: The action failed due to multiple test failures in the Ruby Selenium tests: 1. The "Scrolling scrolls by given amount with offset" test failed with a "NoSuchElementError" at line 450-452, unable to locate an iframe element. 2. Multiple Remote WebDriver tests failed with the same TypeError: "no implicit conversion of String into Integer" when calling Selenium::Server.get(:latest, background: true, args: %w[--selenium-manager true --enable-managed-downloads true]) at line 477-481 and similar locations. The tests were run twice (retry mechanism) but failed both times with the same errors. In total, there were 4 failing tests out of 185 examples. |
Relevant error logs: 1: ##[group]Operating System 2: macOS ... 310: Creating settings.xml with server-id: github 311: Writing to /Users/runner/.m2/settings.xml 312: ##[group]Run nick-invision/retry@v3.0.2 313: with: 314: timeout_minutes: 20 315: max_attempts: 2 316: command: cd examples/ruby 317: bundle exec rspec 318: 319: new_command_on_retry: cd examples/ruby 320: DEBUG=true bundle exec rspec --only-failures --backtrace 321: 322: retry_wait_seconds: 10 323: polling_interval_seconds: 1 324: warning_on_retry: true 325: continue_on_error: false 326: env: ... 435: # ./spec/elements/locators_spec.rb:43 436: 34) Element Locators with relative locators finds element to the left 437: # These are reference following the documentation example 438: # ./spec/elements/locators_spec.rb:47 439: 35) Element Locators with relative locators finds element to the right 440: # These are reference following the documentation example 441: # ./spec/elements/locators_spec.rb:51 442: 36) Element Locators with relative locators finds near element 443: # These are reference following the documentation example 444: # ./spec/elements/locators_spec.rb:55 445: 37) Element Locators with relative locators chains relative locators 446: # These are reference following the documentation example 447: # ./spec/elements/locators_spec.rb:59 448: Failures: 449: 1) Scrolling scrolls by given amount with offset 450: Failure/Error: iframe = driver.find_element(tag_name: 'iframe') 451: Selenium::WebDriver::Error::NoSuchElementError: 452: no such element: Unable to locate element: {"method":"tag name","selector":"iframe"} 453: (Session info: chrome=134.0.6998.166); For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception 454: # ./spec/actions_api/wheel_spec.rb:68:in `block (2 levels) in <top (required)>' 455: # ------------------ 456: # --- Caused by: --- 457: # Selenium::WebDriver::Error::WebDriverError: 458: # 0 chromedriver 0x000000010108b6c8 cxxbridge1$str$ptr + 2791212 ... 460: 2 chromedriver 0x0000000100bd5e30 cxxbridge1$string$len + 92928 461: 3 chromedriver 0x0000000100c1d170 cxxbridge1$string$len + 384576 462: 4 chromedriver 0x0000000100c5e5f8 cxxbridge1$string$len + 651976 463: 5 chromedriver 0x0000000100c112fc cxxbridge1$string$len + 335820 464: 6 chromedriver 0x00000001010506c4 cxxbridge1$str$ptr + 2549544 465: 7 chromedriver 0x0000000101053988 cxxbridge1$str$ptr + 2562540 466: 8 chromedriver 0x000000010103071c cxxbridge1$str$ptr + 2418560 467: 9 chromedriver 0x00000001010541e8 cxxbridge1$str$ptr + 2564684 468: 10 chromedriver 0x0000000101021750 cxxbridge1$str$ptr + 2357172 469: 11 chromedriver 0x0000000101073f58 cxxbridge1$str$ptr + 2695100 470: 12 chromedriver 0x00000001010740e0 cxxbridge1$str$ptr + 2695492 471: 13 chromedriver 0x0000000101083910 cxxbridge1$str$ptr + 2759028 472: 14 libsystem_pthread.dylib 0x0000000185fedf94 _pthread_start + 136 473: 15 libsystem_pthread.dylib 0x0000000185fe8d34 thread_start + 8 474: 2) Remote WebDriver starts remotely 475: Got 0 failures and 2 other errors: 476: 2.1) Failure/Error: 477: Selenium::Server.get(:latest, 478: background: true, 479: args: %w[--selenium-manager true --enable-managed-downloads true]) 480: TypeError: 481: no implicit conversion of String into Integer 482: # ./spec/drivers/remote_webdriver_spec.rb:10:in `block (2 levels) in <top (required)>' 483: # ./spec/drivers/remote_webdriver_spec.rb:16:in `block (2 levels) in <top (required)>' 484: 2.2) Failure/Error: 485: Selenium::Server.get(:latest, 486: background: true, 487: args: %w[--selenium-manager true --enable-managed-downloads true]) 488: TypeError: 489: no implicit conversion of String into Integer 490: # ./spec/drivers/remote_webdriver_spec.rb:10:in `block (2 levels) in <top (required)>' 491: # ./spec/drivers/remote_webdriver_spec.rb:17:in `block (2 levels) in <top (required)>' 492: 3) Remote WebDriver uploads 493: Got 0 failures and 2 other errors: 494: 3.1) Failure/Error: 495: Selenium::Server.get(:latest, 496: background: true, 497: args: %w[--selenium-manager true --enable-managed-downloads true]) 498: TypeError: 499: no implicit conversion of String into Integer 500: # ./spec/drivers/remote_webdriver_spec.rb:10:in `block (2 levels) in <top (required)>' 501: # ./spec/drivers/remote_webdriver_spec.rb:16:in `block (2 levels) in <top (required)>' 502: 3.2) Failure/Error: 503: Selenium::Server.get(:latest, 504: background: true, 505: args: %w[--selenium-manager true --enable-managed-downloads true]) 506: TypeError: 507: no implicit conversion of String into Integer 508: # ./spec/drivers/remote_webdriver_spec.rb:10:in `block (2 levels) in <top (required)>' 509: # ./spec/drivers/remote_webdriver_spec.rb:17:in `block (2 levels) in <top (required)>' 510: 4) Remote WebDriver downloads 511: Got 0 failures and 2 other errors: 512: 4.1) Failure/Error: 513: Selenium::Server.get(:latest, 514: background: true, 515: args: %w[--selenium-manager true --enable-managed-downloads true]) 516: TypeError: 517: no implicit conversion of String into Integer 518: # ./spec/drivers/remote_webdriver_spec.rb:10:in `block (2 levels) in <top (required)>' 519: # ./spec/drivers/remote_webdriver_spec.rb:16:in `block (2 levels) in <top (required)>' 520: 4.2) Failure/Error: 521: Selenium::Server.get(:latest, 522: background: true, 523: args: %w[--selenium-manager true --enable-managed-downloads true]) 524: TypeError: 525: no implicit conversion of String into Integer 526: # ./spec/drivers/remote_webdriver_spec.rb:10:in `block (2 levels) in <top (required)>' 527: # ./spec/drivers/remote_webdriver_spec.rb:17:in `block (2 levels) in <top (required)>' 528: Finished in 6 minutes 7 seconds (files took 0.18034 seconds to load) 529: 185 examples, 4 failures, 37 pending 530: Failed examples: 531: rspec ./spec/actions_api/wheel_spec.rb:60 # Scrolling scrolls by given amount with offset 532: rspec ./spec/drivers/remote_webdriver_spec.rb:19 # Remote WebDriver starts remotely 533: rspec ./spec/drivers/remote_webdriver_spec.rb:26 # Remote WebDriver uploads 534: rspec ./spec/drivers/remote_webdriver_spec.rb:42 # Remote WebDriver downloads 535: ##[warning]Attempt 1 failed. Reason: Child_process exited with error code 1 536: ##[endgroup] 537: ##[group]Attempt 2 538: 2025-04-18 11:05:34 INFO Selenium [:logger_info] Details on how to use and modify Selenium logger: 539: https://selenium.dev/documentation/webdriver/troubleshooting/logging 540: 2025-04-18 11:05:34 DEBUG Selenium Running with Guard 'platform' set to: macosx 541: 2025-04-18 11:05:34 DEBUG Selenium Running with Guard 'ci' set to: github 542: 2025-04-18 11:05:34 DEBUG Selenium [:selenium_manager] Selenium Manager binary found at /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.32.0.nightly.20250418/bin/macos/selenium-manager 543: 2025-04-18 11:05:34 DEBUG Selenium [:selenium_manager] Executing Process ["/Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/selenium-webdriver-4.32.0.nightly.20250418/bin/macos/selenium-manager", "--browser", "chrome", "--language-binding", "ruby", "--output", "json", "--debug"] 544: Run options: include {:last_run_status=>"failed"} 545: 2025-04-18 11:05:34 DEBUG Selenium [:selenium_manager] chromedriver not found in PATH ... 604: 2025-04-18 11:05:39 DEBUG Selenium [:process] Checking if 20729 is exited: 605: 2025-04-18 11:05:39 DEBUG Selenium [:process] -> exit code is 0 606: 2025-04-18 11:05:39 DEBUG Selenium [:process] Checking if 20729 is exited: 607: 2025-04-18 11:05:39 DEBUG Selenium [:process] -> exit code is 0 608: 2025-04-18 11:05:39 DEBUG Selenium [:process] Checking if 20729 is exited: 609: 2025-04-18 11:05:39 DEBUG Selenium [:process] -> exit code is 0 610: .2025-04-18 11:05:39 DEBUG Selenium Running with Guard 'platform' set to: macosx 611: 2025-04-18 11:05:39 DEBUG Selenium Running with Guard 'ci' set to: github 612: F2025-04-18 11:05:39 DEBUG Selenium Running with Guard 'platform' set to: macosx 613: 2025-04-18 11:05:39 DEBUG Selenium Running with Guard 'ci' set to: github 614: F2025-04-18 11:05:40 DEBUG Selenium Running with Guard 'platform' set to: macosx 615: 2025-04-18 11:05:40 DEBUG Selenium Running with Guard 'ci' set to: github 616: F 617: Failures: 618: 1) Remote WebDriver starts remotely 619: Got 0 failures and 2 other errors: 620: 1.1) Failure/Error: 621: Selenium::Server.get(:latest, 622: background: true, 623: args: %w[--selenium-manager true --enable-managed-downloads true]) 624: TypeError: 625: no implicit conversion of String into Integer ... 681: # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/rspec-core-3.13.0/lib/rspec/core/runner.rb:45:in `invoke' 682: # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/rspec-core-3.13.0/exe/rspec:4:in `<top (required)>' 683: # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/bin/rspec:25:in `load' 684: # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/bin/rspec:25:in `<top (required)>' 685: # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli/exec.rb:58:in `load' 686: # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli/exec.rb:58:in `kernel_load' 687: # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli/exec.rb:23:in `run' 688: # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli.rb:451:in `exec' 689: # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/vendor/thor/lib/thor/command.rb:28:in `run' 690: # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command' 691: # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/vendor/thor/lib/thor.rb:527:in `dispatch' 692: # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli.rb:34:in `dispatch' 693: # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/vendor/thor/lib/thor/base.rb:584:in `start' 694: # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/cli.rb:28:in `start' 695: # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/exe/bundle:28:in `block in <top (required)>' 696: # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors' 697: # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/lib/ruby/gems/3.1.0/gems/bundler-2.5.6/exe/bundle:20:in `<top (required)>' 698: # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/bin/bundle:25:in `load' 699: # /Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/bin/bundle:25:in ` |