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

test_iso8601_output_and_reparsing test fails on i686 #47832

Closed
Apteryks opened this issue Mar 31, 2023 · 1 comment
Closed

test_iso8601_output_and_reparsing test fails on i686 #47832

Apteryks opened this issue Mar 31, 2023 · 1 comment

Comments

@Apteryks
Copy link

Apteryks commented Mar 31, 2023

Steps to reproduce

Run the test suite on a i686-linux machine.

Expected behavior

All tests should pass.

Actual behavior

The test_iso8601_output_and_reparsing test fails (just on i686, not x86_64):

starting phase `check'
/gnu/store/g6a33hmhk43dsd7a9kqcq1s1mcfc7ich-ruby-2.7.4/bin/ruby -w -I"lib" -I"/gnu/store/g6a33hmhk43dsd7a9kqcq1s1mcfc7ich-ruby-2.7.4/lib/ruby/gems/2.7.0/gems/rake-13.0.1/lib" "/gnu/store/g6a33hmhk43dsd7a9kqcq1s1mcfc7ich-ruby-2.7.4/lib/ruby/gems/2.7.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb" "test/actionable_error_test.rb" "test/array_inquirer_test.rb" "test/autoload_test.rb" "test/benchmarkable_test.rb" "test/broadcast_logger_test.rb" "test/cache/cache_entry_test.rb" "test/cache/cache_key_test.rb" "test/cache/cache_store_logger_test.rb" "test/cache/cache_store_namespace_test.rb" "test/cache/cache_store_setting_test.rb" "test/cache/coder_test.rb" "test/cache/local_cache_middleware_test.rb" "test/cache/stores/null_store_test.rb" "test/callback_inheritance_test.rb" "test/callbacks_test.rb" "test/clean_backtrace_test.rb" "test/clean_logger_test.rb" "test/concern_test.rb" "test/concurrency/load_interlock_aware_monitor_test.rb" "test/configurable_test.rb" "test/configuration_file_test.rb" "test/core_ext/array/access_test.rb" "test/core_ext/array/conversions_test.rb" "test/core_ext/array/extract_options_test.rb" "test/core_ext/array/extract_test.rb" "test/core_ext/array/grouping_test.rb" "test/core_ext/array/wrap_test.rb" "test/core_ext/bigdecimal_test.rb" "test/core_ext/class/attribute_test.rb" "test/core_ext/class_test.rb" "test/core_ext/date_and_time_compatibility_test.rb" "test/core_ext/date_ext_test.rb" "test/core_ext/date_time_ext_test.rb" "test/core_ext/digest/uuid_test.rb" "test/core_ext/duration_test.rb" "test/core_ext/enumerable_test.rb" "test/core_ext/file_test.rb" "test/core_ext/hash/transform_values_test.rb" "test/core_ext/hash_ext_test.rb" "test/core_ext/integer_ext_test.rb" "test/core_ext/kernel/concern_test.rb" "test/core_ext/kernel_test.rb" "test/core_ext/load_error_test.rb" "test/core_ext/module/anonymous_test.rb" "test/core_ext/module/attr_internal_test.rb" "test/core_ext/module/attribute_accessor_per_thread_test.rb" "test/core_ext/module/attribute_accessor_test.rb" "test/core_ext/module/attribute_aliasing_test.rb" "test/core_ext/module/concerning_test.rb" "test/core_ext/module/introspection_test.rb" "test/core_ext/module/remove_method_test.rb" "test/core_ext/module_test.rb" "test/core_ext/name_error_test.rb" "test/core_ext/numeric_ext_test.rb" "test/core_ext/object/acts_like_test.rb" "test/core_ext/object/blank_test.rb" "test/core_ext/object/deep_dup_test.rb" "test/core_ext/object/duplicable_test.rb" "test/core_ext/object/inclusion_test.rb" "test/core_ext/object/instance_variables_test.rb" "test/core_ext/object/json_cherry_pick_test.rb" "test/core_ext/object/json_gem_encoding_test.rb" "test/core_ext/object/to_param_test.rb" "test/core_ext/object/to_query_test.rb" "test/core_ext/object/try_test.rb" "test/core_ext/pathname/existence_test.rb" "test/core_ext/range_ext_test.rb" "test/core_ext/regexp_ext_test.rb" "test/core_ext/secure_random_test.rb" "test/core_ext/string_ext_test.rb" "test/core_ext/symbol_ext_test.rb" "test/core_ext/time_ext_test.rb" "test/core_ext/time_with_zone_test.rb" "test/current_attributes_test.rb" "test/dependencies_test.rb" "test/deprecation/method_wrappers_test.rb" "test/deprecation/proxy_wrappers_test.rb" "test/deprecation_test.rb" "test/descendants_tracker_test.rb" "test/digest_test.rb" "test/encrypted_configuration_test.rb" "test/encrypted_file_test.rb" "test/error_reporter_test.rb" "test/execution_context_test.rb" "test/executor_test.rb" "test/file_update_checker_test.rb" "test/fork_tracker_test.rb" "test/gzip_test.rb" "test/hash_with_indifferent_access_test.rb" "test/i18n_test.rb" "test/inflector_test.rb" "test/isolated_execution_state_test.rb" "test/json/decoding_test.rb" "test/json/encoding_test.rb" "test/key_generator_test.rb" "test/lazy_load_hooks_test.rb" "test/log_subscriber_test.rb" "test/logger_test.rb" "test/message_encryptor_test.rb" "test/message_verifier_test.rb" "test/messages/rotation_configuration_test.rb" "test/multibyte_chars_test.rb" "test/multibyte_proxy_test.rb" "test/notifications/evented_notification_test.rb" "test/notifications/instrumenter_test.rb" "test/notifications_test.rb" "test/number_helper_i18n_test.rb" "test/number_helper_test.rb" "test/option_merger_test.rb" "test/ordered_hash_test.rb" "test/ordered_options_test.rb" "test/parameter_filter_test.rb" "test/per_thread_registry_test.rb" "test/reloader_test.rb" "test/rescuable_test.rb" "test/safe_buffer_test.rb" "test/secure_compare_rotator_test.rb" "test/security_utils_test.rb" "test/share_lock_test.rb" "test/silence_logger_test.rb" "test/string_inquirer_test.rb" "test/subscriber_test.rb" "test/tagged_logging_test.rb" "test/test_case_test.rb" "test/testing/after_teardown_test.rb" "test/testing/constant_lookup_test.rb" "test/testing/file_fixtures_test.rb" "test/testing/method_call_assertions_test.rb" "test/time_travel_test.rb" "test/time_zone_test.rb" "test/transliterate_test.rb" "test/xml_mini/jdom_engine_test.rb" "test/xml_mini/libxml_engine_test.rb" "test/xml_mini/libxmlsax_engine_test.rb" "test/xml_mini/nokogiri_engine_test.rb" "test/xml_mini/nokogirisax_engine_test.rb" "test/xml_mini/rexml_engine_test.rb" "test/xml_mini/xml_mini_engine_test.rb" "test/xml_mini_test.rb" 
/gnu/store/1il0aqb2570nxh9yv3bgkmi6k26c56bb-ruby-libxml-3.0.0/lib/ruby/vendor_ruby/gems/libxml-ruby-3.0.0/lib/libxml/schema/type.rb:8: warning: method redefined; discarding old annotation
/gnu/store/1il0aqb2570nxh9yv3bgkmi6k26c56bb-ruby-libxml-3.0.0/lib/ruby/vendor_ruby/gems/libxml-ruby-3.0.0/lib/libxml/schema/element.rb:18: warning: method redefined; discarding old annotation
Running 3792 tests in parallel using 12 processes
Run options: --seed 12320

# Running:

.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................WARNING: could not load hiredis extension, using (slower) pure Ruby implementation.
....WARNING: could not load hiredis extension, using (slower) pure Ruby implementation.
...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS......SSS.....

Finished in 5.270397s, 719.4905 runs/s, 2324.6828 assertions/s.

  1) Error:
DurationTest#test_iso8601_output_and_reparsing:
Date::Error: invalid date
    /tmp/guix-build-ruby-activesupport-7.0.4.3.drv-0/source/activesupport/lib/active_support/core_ext/date/calculations.rb:115:in `>>'
    /tmp/guix-build-ruby-activesupport-7.0.4.3.drv-0/source/activesupport/lib/active_support/core_ext/date/calculations.rb:115:in `advance'
    /tmp/guix-build-ruby-activesupport-7.0.4.3.drv-0/source/activesupport/lib/active_support/core_ext/time/calculations.rb:193:in `advance'
    /tmp/guix-build-ruby-activesupport-7.0.4.3.drv-0/source/activesupport/lib/active_support/duration.rb:496:in `block in sum'
    /tmp/guix-build-ruby-activesupport-7.0.4.3.drv-0/source/activesupport/lib/active_support/duration.rb:488:in `each'
    /tmp/guix-build-ruby-activesupport-7.0.4.3.drv-0/source/activesupport/lib/active_support/duration.rb:488:in `inject'
    /tmp/guix-build-ruby-activesupport-7.0.4.3.drv-0/source/activesupport/lib/active_support/duration.rb:488:in `sum'
    /tmp/guix-build-ruby-activesupport-7.0.4.3.drv-0/source/activesupport/lib/active_support/duration.rb:431:in `since'
    /tmp/guix-build-ruby-activesupport-7.0.4.3.drv-0/source/activesupport/lib/active_support/core_ext/time/calculations.rb:282:in `plus_with_duration'
    /tmp/guix-build-ruby-activesupport-7.0.4.3.drv-0/source/activesupport/test/core_ext/duration_test.rb:664:in `block in test_iso8601_output_and_reparsing'
    /tmp/guix-build-ruby-activesupport-7.0.4.3.drv-0/source/activesupport/test/core_ext/duration_test.rb:662:in `each'
    /tmp/guix-build-ruby-activesupport-7.0.4.3.drv-0/source/activesupport/test/core_ext/duration_test.rb:662:in `test_iso8601_output_and_reparsing'

3792 runs, 12252 assertions, 0 failures, 1 errors, 55 skips

You have skipped tests. Run with --verbose for details.
rake aborted!

System configuration

Rails version: 7.0.4.3

Ruby version: 2.7.4

@rails-bot
Copy link

rails-bot bot commented Sep 23, 2023

This issue has been automatically marked as stale because it has not been commented on for at least three months.
The resources of the Rails team are limited, and so we are asking for your help.
If you can still reproduce this error on the 7-0-stable branch or on main, please reply with all of the information you have about it in order to keep the issue open.
Thank you for all your contributions.

@rails-bot rails-bot bot added the stale label Sep 23, 2023
@rails-bot rails-bot bot closed this as completed Sep 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants