[DRE-maint] Bug#1005423: ruby-sshkit: FTBFS: ERROR: Test "ruby2.7" failed: /<<PKGBUILDDIR>>/test/unit/runners/test_parallel.rb:9:in `block in test_wraps_ruby_standard_error_in_execute_error': oh no! (RuntimeError)

Lucas Nussbaum lucas at debian.org
Sun Feb 13 07:07:32 GMT 2022


Source: ruby-sshkit
Version: 1.20.0-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220212 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> /<<PKGBUILDDIR>>/test/unit/runners/test_parallel.rb:9:in `block in test_wraps_ruby_standard_error_in_execute_error': oh no! (RuntimeError)
> 	from /<<PKGBUILDDIR>>/lib/sshkit/backends/abstract.rb:31:in `instance_exec'
> 	from /<<PKGBUILDDIR>>/lib/sshkit/backends/abstract.rb:31:in `run'
> 	from /<<PKGBUILDDIR>>/lib/sshkit/runners/parallel.rb:12:in `block (2 levels) in execute'
>  PASS (0.00s)
> 
> SSHKit::TestPretty
>   test_debug_output_with_color                                    PASS (0.00s)
> 
> SSHKit::TestPretty
>   test_info_output_with_color                                     PASS (0.00s)
> 
> SSHKit::TestPretty
>   test_debug_output_without_color                                 PASS (0.00s)
> 
> SSHKit::TestPretty
>   test_does_not_log_message_when_verbosity_is_too_low             PASS (0.00s)
> 
> SSHKit::TestPretty
>   test_can_write_to_output_which_just_supports_append             PASS (0.00s)
> 
> SSHKit::TestPretty
>   test_does_not_log_command_when_verbosity_is_too_low             PASS (0.00s)
> 
> SSHKit::TestPretty
>   test_info_output_without_color                                  PASS (0.00s)
> 
> SSHKit::TestPretty
>   test_command_lifecycle_logging_with_color                       PASS (0.00s)
> 
> SSHKit::TestPretty
>   test_fatal_output_with_color                                    PASS (0.00s)
> 
> SSHKit::TestPretty
>   test_warn_output_with_color                                     PASS (0.00s)
> 
> SSHKit::TestPretty
>   test_error_output_without_color                                 PASS (0.00s)
> 
> SSHKit::TestPretty
>   test_log_output_without_color                                   PASS (0.00s)
> 
> SSHKit::TestPretty
>   test_warn_output_without_color                                  PASS (0.00s)
> 
> SSHKit::TestPretty
>   test_logging_message_with_leading_and_trailing_space            PASS (0.00s)
> 
> SSHKit::TestPretty
>   test_fatal_output_without_color                                 PASS (0.00s)
> 
> SSHKit::TestPretty
>   test_log_output_with_color                                      PASS (0.00s)
> 
> SSHKit::TestCustom
>   test_accepts_options_hash                                       PASS (0.00s)
> 
> SSHKit::TestCustom
>   test_log_logging                                                PASS (0.00s)
> 
> SSHKit::TestCustom
>   test_debug_logging                                              PASS (0.00s)
> 
> SSHKit::TestCustom
>   test_error_logging                                              PASS (0.00s)
> 
> SSHKit::TestCustom
>   test_info_logging                                               PASS (0.00s)
> 
> SSHKit::TestCustom
>   test_warn_logging                                               PASS (0.00s)
> 
> SSHKit::TestCustom
>   test_double_chevron_logs_commands                               PASS (0.00s)
> 
> SSHKit::TestCustom
>   test_write_logs_commands                                        PASS (0.00s)
> 
> SSHKit::TestCustom
>   test_fatal_logging                                              PASS (0.00s)
> 
> SSHKit::TestDeprecationLogger
>   test_handles_nil_output                                        ERROR (0.00s)
> Minitest::UnexpectedError:         NameError: uninitialized constant SSHKit::DeprecationLogger::Set
>         Did you mean?  Net
>             /<<PKGBUILDDIR>>/lib/sshkit/deprecation_logger.rb:5:in `initialize'
>             /<<PKGBUILDDIR>>/test/unit/test_deprecation_logger.rb:16:in `new'
>             /<<PKGBUILDDIR>>/test/unit/test_deprecation_logger.rb:16:in `test_handles_nil_output'
> 
> 
> SSHKit::TestCoordinator
>   test_connection_manager_resolves_hosts                          PASS (0.00s)
> 
> SSHKit::TestCoordinator
>   test_the_connection_manager_can_run_things_in_sequence_with_wait PASS (10.01s)
> 
> SSHKit::TestCoordinator
>   test_the_connection_manager_handles_empty_argument              PASS (0.00s)
> 
> SSHKit::TestCoordinator
>   test_connection_manager_handles_a_single_argument               PASS (0.00s)
> 
> SSHKit::TestCoordinator
>   test_the_connection_manager_yields_the_host_to_each_connection_instance PASS (0.00s)
> 
> SSHKit::TestCoordinator
>   test_the_connection_manager_can_run_things_in_sequence          PASS (2.00s)
> 
> SSHKit::Backend::TestAbstract
>   test_rake                                                       PASS (0.00s)
> 
> SSHKit::Backend::TestAbstract
>   test_abstract_backend_can_be_configured                         PASS (0.00s)
> 
> SSHKit::Backend::TestAbstract
>   test_test_allows_to_override_verbosity                          PASS (0.00s)
> 
> SSHKit::Backend::TestAbstract
>   test_within_properly_clears                                     PASS (0.00s)
> 
> SSHKit::Backend::TestAbstract
>   test_calling_abstract_with_undefined_execute_command_raises_exception PASS (0.00s)
> 
> SSHKit::Backend::TestAbstract
>   test_within_home                                                PASS (0.00s)
> 
> SSHKit::Backend::TestAbstract
>   test_capture_supports_disabling_strip                           PASS (0.00s)
> 
> SSHKit::Backend::TestAbstract
>   test_invoke_raises_no_method_error                              PASS (0.00s)
> 
> SSHKit::Backend::TestAbstract
>   test_test_creates_and_executes_command_with_false_raise_on_non_zero_exit PASS (0.00s)
> 
> SSHKit::Backend::TestAbstract
>   test_current_is_nil_outside_of_the_block                        PASS (0.00s)
> 
> SSHKit::Backend::TestAbstract
>   test_capture_creates_and_executes_command_and_returns_stripped_output PASS (0.00s)
> 
> SSHKit::Backend::TestAbstract
>   test_current_refers_to_currently_executing_backend              PASS (0.00s)
> 
> SSHKit::Backend::TestAbstract
>   test_execute_creates_and_executes_command_with_default_options  PASS (0.00s)
> 
> SSHKit::Backend::TestAbstract
>   test_make                                                       PASS (0.00s)
> 
> SSHKit::Backend::TestAbstract
>   test_background_logs_deprecation_warnings                      ERROR (0.00s)
> Minitest::UnexpectedError:         NameError: uninitialized constant SSHKit::DeprecationLogger::Set
>         Did you mean?  Net
>             /<<PKGBUILDDIR>>/lib/sshkit/deprecation_logger.rb:5:in `initialize'
>             /<<PKGBUILDDIR>>/lib/sshkit/configuration.rb:21:in `new'
>             /<<PKGBUILDDIR>>/lib/sshkit/configuration.rb:21:in `deprecation_output='
>             /<<PKGBUILDDIR>>/test/unit/backends/test_abstract.rb:116:in `test_background_logs_deprecation_warnings'
> 
> 
> SSHKit::TestLogger
>   test_logger_severity_constants                                  PASS (0.00s)
> 
> SSHKit::TestCommandMap
>   test_defaults                                                   PASS (0.00s)
> 
> SSHKit::TestCommandMap
>   test_prefix                                                     PASS (0.00s)
> 
> SSHKit::TestCommandMap
>   test_prefix_unshift                                             PASS (0.00s)
> 
> SSHKit::TestCommandMap
>   test_indifferent_setter                                         PASS (0.00s)
> 
> SSHKit::TestCommandMap
>   test_setter                                                     PASS (0.00s)
> 
> SSHKit::TestCommandMap
>   test_prefix_procs                                               PASS (0.00s)
> 
> SSHKit::TestCommandMap
>   test_indifferent_prefix                                         PASS (0.00s)
> 
> SSHKit::TestCommandMap
>   test_prefix_initialization_is_thread_safe                       PASS (0.01s)
> 
> SSHKit::TestCommandMap
>   test_setter_procs                                               PASS (0.00s)
> 
> SSHKit::TestDSL
>   test_dsl_run_locally                                            PASS (0.00s)
> 
> SSHKit::TestDSL
>   test_dsl_on                                                     PASS (0.00s)
> 
> SSHKit::Runner::TestParallel
>   test_wraps_ruby_standard_error_in_execute_error                 PASS (0.00s)
> 
> SSHKit::TestMappingInteractionHandler
>   test_calls_send_data_with_mapped_input_when_stderr_matches      PASS (0.00s)
> 
> SSHKit::TestMappingInteractionHandler
>   test_supports_lambda_mapping                                    PASS (0.00s)
> 
> SSHKit::TestMappingInteractionHandler
>   test_logs_matched_interaction_if_constructed_with_a_log_level   PASS (0.00s)
> 
> SSHKit::TestMappingInteractionHandler
>   test_matches_keys_in_ofer                                       PASS (0.00s)
> 
> SSHKit::TestMappingInteractionHandler
>   test_raises_for_unsupported_mapping_type                        PASS (0.00s)
> 
> SSHKit::TestMappingInteractionHandler
>   test_supports_regex_keys                                        PASS (0.00s)
> 
> SSHKit::TestMappingInteractionHandler
>   test_raises_for_unsupported_channel_type                        PASS (0.00s)
> 
> SSHKit::TestMappingInteractionHandler
>   test_calls_send_data_with_mapped_input_when_stdout_matches      PASS (0.00s)
> 
> SSHKit::TestMappingInteractionHandler
>   test_logs_unmatched_interaction_if_constructed_with_a_log_level PASS (0.00s)
> 
> SSHKit::TestMappingInteractionHandler
>   test_supports_default_mapping                                   PASS (0.00s)
> 
> SSHKit::Runner::TestSequential
>   test_wraps_ruby_standard_error_in_execute_error                 PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_overriding_verbosity_level_with_a_constant                 PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_working_as_a_given_weird_group                             PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_working_in_a_given_directory_with_env                      PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_umask_with_working_directory_and_user                      PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_successful?                                                PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_umask_with_env_and_working_directory_and_user              PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_failure?                                                   PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_wont_take_no_args                                          PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_including_the_env_with_string_keys                         PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_maps_a_command                                             PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_working_in_a_given_weird_directory                         PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_command_raises_command_failed_error_when_non_zero_exit     PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_global_env                                                 PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_multiple_lines_are_stripped_of_extra_space_and_joined_by_semicolons PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_verbosity_defaults_to_logger_info                          PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_leading_and_trailing_space_is_stripped                     PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_double_quotes_are_escaped_in_env                           PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_umask                                                      PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_not_mapping_a_builtin                                      PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_including_the_env                                          PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_including_the_env_with_multiple_keys                       PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_shares_same_uuid_before_and_after_redaction                PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_working_in_home_directory                                  PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_setting_exit_status                                        PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_percentage_symbol_handled_in_env                           PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_working_as_a_given_group                                   PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_on_stderr                                                  PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_umask_with_working_directory                               PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_working_in_a_given_directory                               PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_default_env_is_overwritten_with_locally_defined            PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_command_has_a_guid                                         PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_on_stdout                                                  PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_working_as_a_given_user                                    PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_working_as_a_given_weird_user                              PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_complete?                                                  PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_deprecated_stdtream_accessors                             ERROR (0.00s)
> Minitest::UnexpectedError:         NameError: uninitialized constant SSHKit::DeprecationLogger::Set
>         Did you mean?  Net
>             /<<PKGBUILDDIR>>/lib/sshkit/deprecation_logger.rb:5:in `initialize'
>             /<<PKGBUILDDIR>>/lib/sshkit/configuration.rb:21:in `new'
>             /<<PKGBUILDDIR>>/lib/sshkit/configuration.rb:21:in `deprecation_output='
>             /<<PKGBUILDDIR>>/test/unit/test_command.rb:215:in `test_deprecated_stdtream_accessors'
> 
> 
> SSHKit::TestCommand
>   test_overriding_verbosity_level_with_a_symbol                   PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_working_as_a_given_user_and_group                          PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_having_a_host_passed                                       PASS (0.00s)
> 
> SSHKit::TestCommand
>   test_including_the_env_doesnt_addressively_escape               PASS (0.00s)
> 
> Finished in 17.25579s
> 196 tests, 3342 assertions, 0 failures, 6 errors, 0 skips
> rake aborted!
> Command failed with status (1): [ruby -w -I"lib:test" /usr/share/rubygems-integration/all/gems/rake-13.0.6/lib/rake/rake_test_loader.rb "test/unit/backends/test_abstract.rb" "test/unit/backends/test_connection_pool.rb" "test/unit/backends/test_local.rb" "test/unit/backends/test_netssh.rb" "test/unit/backends/test_printer.rb" "test/unit/formatters/test_custom.rb" "test/unit/formatters/test_dot.rb" "test/unit/formatters/test_pretty.rb" "test/unit/formatters/test_simple_text.rb" "test/unit/runners/test_group.rb" "test/unit/runners/test_parallel.rb" "test/unit/runners/test_sequential.rb" "test/unit/test_color.rb" "test/unit/test_command.rb" "test/unit/test_command_map.rb" "test/unit/test_configuration.rb" "test/unit/test_coordinator.rb" "test/unit/test_deprecation_logger.rb" "test/unit/test_dsl.rb" "test/unit/test_host.rb" "test/unit/test_logger.rb" "test/unit/test_mapping_interaction_handler.rb" ]
> /usr/share/rubygems-integration/all/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
> Tasks: TOP => default => test
> (See full trace by running task with --trace)
> ERROR: Test "ruby2.7" failed: 


The full build log is available from:
http://qa-logs.debian.net/2022/02/12/ruby-sshkit_1.20.0-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-ruby-extras-maintainers mailing list