-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Bump json from 2.10.1 to 2.10.2 in /examples/ruby #2220
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
Conversation
Bumps [json](https://github.com/ruby/json) from 2.10.1 to 2.10.2. - [Release notes](https://github.com/ruby/json/releases) - [Changelog](https://github.com/ruby/json/blob/master/CHANGES.md) - [Commits](ruby/json@v2.10.1...v2.10.2) --- updated-dependencies: - dependency-name: json dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
✅ Deploy Preview for selenium-dev ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
CI Feedback 🧐
(Feedback updated until commit 3be243b)
A test triggered by this PR failed. Here is an AI-generated analysis of the failure:
Action: tests (ubuntu, stable)
Failed stage: Run tests [❌]
Failed test name: Chrome Options sets location of binary
Failure summary:
The action failed because multiple RSpec tests in the Ruby examples failed consistently across 3
retry attempts:
1. Chrome session creation failures:
- "Chrome Options sets location of binary"
(spec/browsers/chrome_spec.rb:22)
- "Service specifies driver location"
(spec/drivers/service_spec.rb:18)
Both failed with the same error: "session not created: probably
user data directory is already in use, please specify a unique value for --user-data-dir argument,
or don't use --user-data-dir"
2. Inconsistent test failures across retry attempts:
- First attempt: Only the Chrome session
tests failed
- Second attempt: "Mouse move by offset offset from viewport" also failed
(spec/actions_api/mouse_spec.rb:111)
- Third attempt: "Keys copy and paste" failed
(spec/actions_api/keys_spec.rb:59) with expected "SeleniumSelenium!" but got "eleniumelenium!"
The primary issue appears to be related to Chrome browser configuration and user data directory
conflicts.
Relevant error logs:
1: ##[group]Operating System 2: Ubuntu ... 148: > Warning: Could not resolve keysym XF86CameraAccessToggle 149: > Warning: Could not resolve keysym XF86NextElement 150: > Warning: Could not resolve keysym XF86PreviousElement 151: > Warning: Could not resolve keysym XF86AutopilotEngageToggle 152: > Warning: Could not resolve keysym XF86MarkWaypoint 153: > Warning: Could not resolve keysym XF86Sos 154: > Warning: Could not resolve keysym XF86NavChart 155: > Warning: Could not resolve keysym XF86FishingChart 156: > Warning: Could not resolve keysym XF86SingleRangeRadar 157: > Warning: Could not resolve keysym XF86DualRangeRadar 158: > Warning: Could not resolve keysym XF86RadarOverlay 159: > Warning: Could not resolve keysym XF86TraditionalSonar 160: > Warning: Could not resolve keysym XF86ClearvuSonar 161: > Warning: Could not resolve keysym XF86SidevuSonar 162: > Warning: Could not resolve keysym XF86NavInfo 163: Errors from xkbcomp are not fatal to the X server 164: ##[group]Run ruby/setup-ruby@v1 ... 307: Version: 11.0.26+4 308: Path: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/11.0.26-4/x64 309: ##[endgroup] 310: Creating settings.xml with server-id: github 311: Writing to /home/runner/.m2/settings.xml 312: ##[group]Run nick-invision/retry@v3.0.2 313: with: 314: timeout_minutes: 20 315: max_attempts: 3 316: command: cd examples/ruby 317: bundle exec rspec 318: 319: retry_wait_seconds: 10 320: polling_interval_seconds: 1 321: warning_on_retry: true 322: continue_on_error: false 323: env: ... 636: # ./spec/elements/locators_spec.rb:43 637: 40) Element Locators with relative locators finds element to the left 638: # These are reference following the documentation example 639: # ./spec/elements/locators_spec.rb:47 640: 41) Element Locators with relative locators finds element to the right 641: # These are reference following the documentation example 642: # ./spec/elements/locators_spec.rb:51 643: 42) Element Locators with relative locators finds near element 644: # These are reference following the documentation example 645: # ./spec/elements/locators_spec.rb:55 646: 43) Element Locators with relative locators chains relative locators 647: # These are reference following the documentation example 648: # ./spec/elements/locators_spec.rb:59 649: Failures: 650: 1) Chrome Options sets location of binary 651: Failure/Error: @driver = Selenium::WebDriver.for :chrome, options: options 652: Selenium::WebDriver::Error::SessionNotCreatedError: 653: session not created: probably user data directory is already in use, please specify a unique value for --user-data-dir argument, or don't use --user-data-dir 654: # ./spec/browsers/chrome_spec.rb:27:in 'block (3 levels) in <top (required)>' 655: # ------------------ 656: # --- Caused by: --- 657: # Selenium::WebDriver::Error::WebDriverError: 658: # #0 0x55a137b4fe6a <unknown> ... 663: #5 0x55a1376865f6 <unknown> 664: #6 0x55a137678523 <unknown> 665: #7 0x55a137644ef3 <unknown> 666: #8 0x55a137645b51 <unknown> 667: #9 0x55a137b14d2b <unknown> 668: #10 0x55a137b18c01 <unknown> 669: #11 0x55a137afc512 <unknown> 670: #12 0x55a137b19774 <unknown> 671: #13 0x55a137ae090f <unknown> 672: #14 0x55a137b3dfb8 <unknown> 673: #15 0x55a137b3e196 <unknown> 674: #16 0x55a137b4ecb6 <unknown> 675: #17 0x7f4d32a9caa4 <unknown> 676: #18 0x7f4d32b29c3c <unknown> 677: 2) Service specifies driver location 678: Failure/Error: @driver = Selenium::WebDriver.for :chrome, service: service, options: options 679: Selenium::WebDriver::Error::SessionNotCreatedError: 680: session not created: probably user data directory is already in use, please specify a unique value for --user-data-dir argument, or don't use --user-data-dir 681: # ./spec/drivers/service_spec.rb:24:in 'block (2 levels) in <top (required)>' 682: # ------------------ 683: # --- Caused by: --- 684: # Selenium::WebDriver::Error::WebDriverError: 685: # #0 0x557149509e6a <unknown> ... 690: #5 0x5571490405f6 <unknown> 691: #6 0x557149032523 <unknown> 692: #7 0x557148ffeef3 <unknown> 693: #8 0x557148fffb51 <unknown> 694: #9 0x5571494ced2b <unknown> 695: #10 0x5571494d2c01 <unknown> 696: #11 0x5571494b6512 <unknown> 697: #12 0x5571494d3774 <unknown> 698: #13 0x55714949a90f <unknown> 699: #14 0x5571494f7fb8 <unknown> 700: #15 0x5571494f8196 <unknown> 701: #16 0x557149508cb6 <unknown> 702: #17 0x7fe96b09caa4 <unknown> 703: #18 0x7fe96b129c3c <unknown> 704: Finished in 4 minutes 18.2 seconds (files took 2.34 seconds to load) 705: 185 examples, 2 failures, 43 pending 706: Failed examples: 707: rspec ./spec/browsers/chrome_spec.rb:22 # Chrome Options sets location of binary 708: rspec ./spec/drivers/service_spec.rb:18 # Service specifies driver location 709: ##[warning]Attempt 1 failed. Reason: Child_process exited with error code 1 710: ##[endgroup] ... 830: # ./spec/elements/locators_spec.rb:43 831: 40) Element Locators with relative locators finds element to the left 832: # These are reference following the documentation example 833: # ./spec/elements/locators_spec.rb:47 834: 41) Element Locators with relative locators finds element to the right 835: # These are reference following the documentation example 836: # ./spec/elements/locators_spec.rb:51 837: 42) Element Locators with relative locators finds near element 838: # These are reference following the documentation example 839: # ./spec/elements/locators_spec.rb:55 840: 43) Element Locators with relative locators chains relative locators 841: # These are reference following the documentation example 842: # ./spec/elements/locators_spec.rb:59 843: Failures: 844: 1) Mouse move by offset offset from viewport 845: Failure/Error: expect(x_coord).to be_within(1).of(8) 846: expected 630 to be within 1 of 8 847: # ./spec/actions_api/mouse_spec.rb:119:in 'block (3 levels) in <top (required)>' 848: 2) Chrome Options sets location of binary 849: Failure/Error: @driver = Selenium::WebDriver.for :chrome, options: options 850: Selenium::WebDriver::Error::SessionNotCreatedError: 851: session not created: probably user data directory is already in use, please specify a unique value for --user-data-dir argument, or don't use --user-data-dir 852: # ./spec/browsers/chrome_spec.rb:27:in 'block (3 levels) in <top (required)>' 853: # ------------------ 854: # --- Caused by: --- 855: # Selenium::WebDriver::Error::WebDriverError: 856: # #0 0x5560d7206e6a <unknown> ... 861: #5 0x5560d6d3d5f6 <unknown> 862: #6 0x5560d6d2f523 <unknown> 863: #7 0x5560d6cfbef3 <unknown> 864: #8 0x5560d6cfcb51 <unknown> 865: #9 0x5560d71cbd2b <unknown> 866: #10 0x5560d71cfc01 <unknown> 867: #11 0x5560d71b3512 <unknown> 868: #12 0x5560d71d0774 <unknown> 869: #13 0x5560d719790f <unknown> 870: #14 0x5560d71f4fb8 <unknown> 871: #15 0x5560d71f5196 <unknown> 872: #16 0x5560d7205cb6 <unknown> 873: #17 0x7f0740c9caa4 <unknown> 874: #18 0x7f0740d29c3c <unknown> 875: 3) Service specifies driver location 876: Failure/Error: @driver = Selenium::WebDriver.for :chrome, service: service, options: options 877: Selenium::WebDriver::Error::SessionNotCreatedError: 878: session not created: probably user data directory is already in use, please specify a unique value for --user-data-dir argument, or don't use --user-data-dir 879: # ./spec/drivers/service_spec.rb:24:in 'block (2 levels) in <top (required)>' 880: # ------------------ 881: # --- Caused by: --- 882: # Selenium::WebDriver::Error::WebDriverError: 883: # #0 0x563041c98e6a <unknown> ... 888: #5 0x5630417cf5f6 <unknown> 889: #6 0x5630417c1523 <unknown> 890: #7 0x56304178def3 <unknown> 891: #8 0x56304178eb51 <unknown> 892: #9 0x563041c5dd2b <unknown> 893: #10 0x563041c61c01 <unknown> 894: #11 0x563041c45512 <unknown> 895: #12 0x563041c62774 <unknown> 896: #13 0x563041c2990f <unknown> 897: #14 0x563041c86fb8 <unknown> 898: #15 0x563041c87196 <unknown> 899: #16 0x563041c97cb6 <unknown> 900: #17 0x7f970d89caa4 <unknown> 901: #18 0x7f970d929c3c <unknown> 902: Finished in 3 minutes 14.6 seconds (files took 1.26 seconds to load) 903: 185 examples, 3 failures, 43 pending 904: Failed examples: 905: rspec ./spec/actions_api/mouse_spec.rb:111 # Mouse move by offset offset from viewport 906: rspec ./spec/browsers/chrome_spec.rb:22 # Chrome Options sets location of binary 907: rspec ./spec/drivers/service_spec.rb:18 # Service specifies driver location 908: ##[warning]Attempt 2 failed. Reason: Child_process exited with error code 1 909: ##[endgroup] ... 1029: # ./spec/elements/locators_spec.rb:43 1030: 40) Element Locators with relative locators finds element to the left 1031: # These are reference following the documentation example 1032: # ./spec/elements/locators_spec.rb:47 1033: 41) Element Locators with relative locators finds element to the right 1034: # These are reference following the documentation example 1035: # ./spec/elements/locators_spec.rb:51 1036: 42) Element Locators with relative locators finds near element 1037: # These are reference following the documentation example 1038: # ./spec/elements/locators_spec.rb:55 1039: 43) Element Locators with relative locators chains relative locators 1040: # These are reference following the documentation example 1041: # ./spec/elements/locators_spec.rb:59 1042: Failures: 1043: 1) Keys copy and paste 1044: Failure/Error: expect(driver.find_element(id: 'textInput').attribute('value')).to eq 'SeleniumSelenium!' 1045: expected: "SeleniumSelenium!" 1046: got: "eleniumelenium!" 1047: (compared using ==) 1048: # ./spec/actions_api/keys_spec.rb:75:in 'block (2 levels) in <top (required)>' 1049: 2) Chrome Options sets location of binary 1050: Failure/Error: @driver = Selenium::WebDriver.for :chrome, options: options 1051: Selenium::WebDriver::Error::SessionNotCreatedError: 1052: session not created: probably user data directory is already in use, please specify a unique value for --user-data-dir argument, or don't use --user-data-dir 1053: # ./spec/browsers/chrome_spec.rb:27:in 'block (3 levels) in <top (required)>' 1054: # ------------------ 1055: # --- Caused by: --- 1056: # Selenium::WebDriver::Error::WebDriverError: 1057: # #0 0x5596ec79de6a <unknown> ... 1062: #5 0x5596ec2d45f6 <unknown> 1063: #6 0x5596ec2c6523 <unknown> 1064: #7 0x5596ec292ef3 <unknown> 1065: #8 0x5596ec293b51 <unknown> 1066: #9 0x5596ec762d2b <unknown> 1067: #10 0x5596ec766c01 <unknown> 1068: #11 0x5596ec74a512 <unknown> 1069: #12 0x5596ec767774 <unknown> 1070: #13 0x5596ec72e90f <unknown> 1071: #14 0x5596ec78bfb8 <unknown> 1072: #15 0x5596ec78c196 <unknown> 1073: #16 0x5596ec79ccb6 <unknown> 1074: #17 0x7fe83da9caa4 <unknown> 1075: #18 0x7fe83db29c3c <unknown> 1076: 3) Service specifies driver location 1077: Failure/Error: @driver = Selenium::WebDriver.for :chrome, service: service, options: options 1078: Selenium::WebDriver::Error::SessionNotCreatedError: 1079: session not created: probably user data directory is already in use, please specify a unique value for --user-data-dir argument, or don't use --user-data-dir 1080: # ./spec/drivers/service_spec.rb:24:in 'block (2 levels) in <top (required)>' 1081: # ------------------ 1082: # --- Caused by: --- 1083: # Selenium::WebDriver::Error::WebDriverError: 1084: # #0 0x560700c0fe6a <unknown> ... 1089: #5 0x5607007465f6 <unknown> 1090: #6 0x560700738523 <unknown> 1091: #7 0x560700704ef3 <unknown> 1092: #8 0x560700705b51 <unknown> 1093: #9 0x560700bd4d2b <unknown> 1094: #10 0x560700bd8c01 <unknown> 1095: #11 0x560700bbc512 <unknown> 1096: #12 0x560700bd9774 <unknown> 1097: #13 0x560700ba090f <unknown> 1098: #14 0x560700bfdfb8 <unknown> 1099: #15 0x560700bfe196 <unknown> 1100: #16 0x560700c0ecb6 <unknown> 1101: #17 0x7f161b49caa4 <unknown> 1102: #18 0x7f161b529c3c <unknown> 1103: Finished in 3 minutes 13 seconds (files took 1.26 seconds to load) 1104: 185 examples, 3 failures, 43 pending 1105: Failed examples: 1106: rspec ./spec/actions_api/keys_spec.rb:59 # Keys copy and paste 1107: rspec ./spec/browsers/chrome_spec.rb:22 # Chrome Options sets location of binary 1108: rspec ./spec/drivers/service_spec.rb:18 # Service specifies driver location 1109: ##[endgroup] 1110: ##[error]Final attempt failed. Child_process exited with error code 1 1111: Post job cleanup.
Bumps json from 2.10.1 to 2.10.2.
Release notes
Sourced from json's releases.
Changelog
Sourced from json's changelog.
Commits
350c1fdRelease 2.10.2c56db31Merge commit from forkcf242d8Fix potential out of bound read injson_string_unescape.57911f1Merge pull request #762 from byroot/invalid-escape7d0637bRaise a ParserError on all incomplete unicode escape sequence.c079793Avoid fast-path IO writes when IO has ext encac30b69Merge pull request #757 from rahim/fix-generator-error-no-method-error2e015ffFix JSON::GeneratorError#detailed_message with Ruby < 3.2f3e1136Merge pull request #756 from byroot/utf8-snippetse144793Ensure parser error snippets are valid UTF-8Dependabot compatibility score
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.