Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 952987 - dev-ruby/actionpack-7.1.5.1: Fails tests
Summary: dev-ruby/actionpack-7.1.5.1: Fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-01 07:18 UTC by Dustin Polke
Modified: 2025-04-02 12:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Full build.log (build.log,24.59 KB, text/x-log)
2025-04-01 07:18 UTC, Dustin Polke
Details
emerge --info (emerge--info.txt,23.36 KB, text/plain)
2025-04-01 07:19 UTC, Dustin Polke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dustin Polke 2025-04-01 07:18:48 UTC
Created attachment 923378 [details]
Full build.log

2025-04-01 09:08:43 ERROR Selenium [:selenium_manager] error sending request for url (https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions-with-downloads.json) 
2025-04-01 09:08:43 ERROR Selenium Exception occurred: Unsuccessful command executed: ["/usr/bin/selenium-manager", "--browser", "chrome", "--language-binding", "ruby", "--output", "json"] - Code 65
{"code"=>65, "message"=>"error sending request for url (https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions-with-downloads.json)", "driver_path"=>"", "browser_path"=>""}

2025-04-01 09:08:43 ERROR Selenium Backtrace:
[...]
/usr/lib64/ruby/gems/3.2.0/gems/selenium-webdriver-4.28.0/lib/selenium/webdriver/common/driver_finder.rb:75:in `rescue in paths': Unable to obtain chromedriver; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_location (Selenium::WebDriver::Error::NoSuchDriverError)
        from /usr/lib64/ruby/gems/3.2.0/gems/selenium-webdriver-4.28.0/lib/
[...]
rake aborted!
Command failed with status (1): [ruby -w -I"lib:test" /usr/lib64/ruby/gems/3.2.0/gems/rake-13.2.1/lib/rake/rake_test_loader.rb "test/abstract/callbacks_test.rb" "test/abstract/collector_test.rb" "test/abstract/translation_test.rb" "test/assertions/response_assertions_test.rb" "test/controller/action_pack_assertions_test.rb" "test/controller/api/conditional_get_test.rb" "test/controller/api/data_streaming_test.rb" "test/controller/api/implicit_render_test.rb" "test/controller/api/params_wrapper_test.rb" "test/controller/api/redirect_to_test.rb" "test/controller/api/renderers_test.rb" "test/controller/api/url_for_test.rb" "test/controller/api/with_cookies_test.rb" "test/controller/api/with_helpers_test.rb" "test/controller/base_test.rb" "test/controller/caching_test.rb" "test/controller/content_type_test.rb" "test/controller/default_url_options_with_before_action_test.rb" "test/controller/filters_test.rb" "test/controller/flash_hash_test.rb" "test/controller/flash_test.rb" "test/controller/form_builder_test.rb" "test/controller/helper_test.rb" "test/controller/http_basic_authentication_test.rb" "test/controller/http_digest_authentication_test.rb" "test/controller/http_token_authentication_test.rb" "test/controller/integration_test.rb" "test/controller/live_stream_test.rb" "test/controller/localized_templates_test.rb" "test/controller/log_subscriber_test.rb" "test/controller/logging_test.rb" "test/controller/metal/renderers_test.rb" "test/controller/metal_test.rb" "test/controller/mime/accept_format_test.rb" "test/controller/mime/respond_to_test.rb" "test/controller/new_base/bare_metal_test.rb" "test/controller/new_base/base_test.rb" "test/controller/new_base/content_negotiation_test.rb" "test/controller/new_base/content_type_test.rb" "test/controller/new_base/middleware_test.rb" "test/controller/new_base/render_action_test.rb" "test/controller/new_base/render_body_test.rb" "test/controller/new_base/render_file_test.rb" "test/controller/new_base/render_html_test.rb" "test/controller/new_base/render_implicit_action_test.rb" "test/controller/new_base/render_layout_test.rb" "test/controller/new_base/render_partial_test.rb" "test/controller/new_base/render_plain_test.rb" "test/controller/new_base/render_streaming_test.rb" "test/controller/new_base/render_template_test.rb" "test/controller/new_base/render_test.rb" "test/controller/new_base/render_xml_test.rb" "test/controller/output_escaping_test.rb" "test/controller/parameter_encoding_test.rb" "test/controller/parameters/accessors_test.rb" "test/controller/parameters/always_permitted_parameters_test.rb" "test/controller/parameters/dup_test.rb" "test/controller/parameters/equality_test.rb" "test/controller/parameters/log_on_unpermitted_params_test.rb" "test/controller/parameters/multi_parameter_attributes_test.rb" "test/controller/parameters/mutators_test.rb" "test/controller/parameters/nested_parameters_permit_test.rb" "test/controller/parameters/parameters_permit_test.rb" "test/controller/parameters/raise_on_unpermitted_params_test.rb" "test/controller/parameters/serialization_test.rb" "test/controller/parameters_integration_test.rb" "test/controller/params_parse_test.rb" "test/controller/params_wrapper_test.rb" "test/controller/permitted_params_test.rb" "test/controller/redirect_test.rb" "test/controller/render_js_test.rb" "test/controller/render_json_test.rb" "test/controller/render_test.rb" "test/controller/render_to_string_test.rb" "test/controller/render_xml_test.rb" "test/controller/renderer_test.rb" "test/controller/renderers_test.rb" "test/controller/request/test_request_test.rb" "test/controller/request_forgery_protection_test.rb" "test/controller/required_params_test.rb" "test/controller/rescue_test.rb" "test/controller/resources_test.rb" "test/controller/route_helpers_test.rb" "test/controller/routing_test.rb" "test/controller/runner_test.rb" "test/controller/send_file_test.rb" "test/controller/show_exceptions_test.rb" "test/controller/streaming_test.rb" "test/controller/test_case_test.rb" "test/controller/url_for_integration_test.rb" "test/controller/url_for_test.rb" "test/controller/webservice_test.rb" "test/dispatch/actionable_exceptions_test.rb" "test/dispatch/assume_ssl_test.rb" "test/dispatch/callbacks_test.rb" "test/dispatch/content_disposition_test.rb" "test/dispatch/content_security_policy_test.rb" "test/dispatch/cookies_test.rb" "test/dispatch/debug_exceptions_test.rb" "test/dispatch/debug_locks_test.rb" "test/dispatch/exception_wrapper_test.rb" "test/dispatch/executor_test.rb" "test/dispatch/header_test.rb" "test/dispatch/host_authorization_test.rb" "test/dispatch/live_response_test.rb" "test/dispatch/mapper_test.rb" "test/dispatch/middleware_stack_test.rb" "test/dispatch/mime_type_test.rb" "test/dispatch/mount_test.rb" "test/dispatch/permissions_policy_test.rb" "test/dispatch/prefix_generation_test.rb" "test/dispatch/rack_cache_test.rb" "test/dispatch/reloader_test.rb" "test/dispatch/request/json_params_parsing_test.rb" "test/dispatch/request/multipart_params_parsing_test.rb" "test/dispatch/request/query_string_parsing_test.rb" "test/dispatch/request/session_test.rb" "test/dispatch/request/url_encoded_params_parsing_test.rb" "test/dispatch/request_id_test.rb" "test/dispatch/request_test.rb" "test/dispatch/response_test.rb" "test/dispatch/routing/concerns_test.rb" "test/dispatch/routing/custom_url_helpers_test.rb" "test/dispatch/routing/inspector_test.rb" "test/dispatch/routing/instrumentation_test.rb" "test/dispatch/routing/ipv6_redirect_test.rb" "test/dispatch/routing/log_subscriber_test.rb" "test/dispatch/routing/non_dispatch_routed_app_test.rb" "test/dispatch/routing/route_set_test.rb" "test/dispatch/routing_assertions_test.rb" "test/dispatch/routing_test.rb" "test/dispatch/runner_test.rb" "test/dispatch/server_timing_test.rb" "test/dispatch/session/abstract_secure_store_test.rb" "test/dispatch/session/abstract_store_test.rb" "test/dispatch/session/cache_store_test.rb" "test/dispatch/session/cookie_store_test.rb" "test/dispatch/session/mem_cache_store_test.rb" "test/dispatch/session/test_session_test.rb" "test/dispatch/show_exceptions_test.rb" "test/dispatch/ssl_test.rb" "test/dispatch/static_test.rb" "test/dispatch/system_testing/driver_test.rb" "test/dispatch/system_testing/screenshot_helper_test.rb" "test/dispatch/system_testing/server_test.rb" "test/dispatch/system_testing/system_test_case_test.rb" "test/dispatch/test_request_test.rb" "test/dispatch/test_response_test.rb" "test/dispatch/uploaded_file_test.rb" "test/dispatch/url_generation_test.rb" "test/journey/gtg/builder_test.rb" "test/journey/gtg/transition_table_test.rb" "test/journey/nodes/ast_test.rb" "test/journey/nodes/symbol_test.rb" "test/journey/path/pattern_test.rb" "test/journey/route/definition/parser_test.rb" "test/journey/route/definition/scanner_test.rb" "test/journey/route_test.rb" "test/journey/router/utils_test.rb" "test/journey/router_test.rb" "test/journey/routes_test.rb" "test/routing/helper_test.rb" ]

Tasks: TOP => test
(See full trace by running task with --trace)
 * ERROR: dev-ruby/actionpack-7.1.5.1::gentoo failed (test phase):
 *   tests failed
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_test
 *   environment, line 2227:  Called ruby-ng_src_test
 *   environment, line 1879:  Called _ruby_each_implementation 'each_ruby_test'
 *   environment, line  416:  Called _ruby_invoke_environment 'ruby32' 'each_ruby_test'
 *   environment, line  523:  Called each_ruby_test
 *   environment, line  980:  Called each_fakegem_test
 *   environment, line  944:  Called die
 * The specific snippet of code:
 *               MT_NO_PLUGINS=true ${RUBY} --disable=did_you_mean -S rake ${RUBY_FAKEGEM_TASK_TEST} || die -n "tests failed"
 * 
 * If you need support, post the output of `emerge --info '=dev-ruby/actionpack-7.1.5.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-ruby/actionpack-7.1.5.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-ruby/actionpack-7.1.5.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/actionpack-7.1.5.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-ruby/actionpack-7.1.5.1/work/ruby32/rails-7.1.5.1/actionpack'
 * S: '/var/tmp/portage/dev-ruby/actionpack-7.1.5.1/work/ruby32/rails-7.1.5.1/actionpack'


# emerge -pqv =dev-ruby/actionpack-7.1.5.1::gentoo
[ebuild   R   ] dev-ruby/actionpack-7.1.5.1  USE="test* -doc" RUBY_TARGETS="ruby32 (-ruby31) (-ruby33)" 

# emerge -pqv selenium
[ebuild   R   ] dev-python/selenium-4.29.0  USE="test (test-rust)" PYTHON_TARGETS="python3_12 python3_13 (-pypy3) (-pypy3_11) -python3_10 -python3_11"
Comment 1 Dustin Polke 2025-04-01 07:19:23 UTC
Created attachment 923379 [details]
emerge --info
Comment 2 Hans de Graaff gentoo-dev Security 2025-04-02 08:02:45 UTC
Can you confirm that you don’t have chrome or chromium installed?
Comment 3 Dustin Polke 2025-04-02 09:28:12 UTC
That is right. No chrome or chromium installed.

$ eix www-client/*-chrom* -cI
No matches found
Comment 4 Dustin Polke 2025-04-02 09:29:46 UTC
$ eix www-client/chromium -cI
No matches found
Comment 5 Larry the Git Cow gentoo-dev 2025-04-02 12:08:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cca711f34a31bd9e7fd984c474e6fa7a6360c005

commit cca711f34a31bd9e7fd984c474e6fa7a6360c005
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2025-04-02 12:05:27 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2025-04-02 12:08:01 +0000

    dev-ruby/actionpack: fix tests
    
    Fix tests when chrome and firefox are not present.
    Making both browsers test dependencies for just a few
    tests seems excessive.
    
    Closes: https://bugs.gentoo.org/952987
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-ruby/actionpack/actionpack-7.1.5.1.ebuild | 5 +++++
 dev-ruby/actionpack/actionpack-7.2.2.1.ebuild | 7 ++++++-
 dev-ruby/actionpack/actionpack-8.0.2.ebuild   | 5 +++++
 3 files changed, 16 insertions(+), 1 deletion(-)