Package: src:magic-wormhole
Version: 0.17.0-1.1
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with python3 --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:311: python3.13 setup.py clean 
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:270: UserWarning: 
Unknown distribution option: 'test_suite'
  warnings.warn(msg)
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_magic-wormhole/build' (and 
everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.13' does not exist -- can't clean it
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --with python3 --buildsystem=pybuild

[... snipped ...]

    test_baseline ...                                                      [OK]
    test_code ...                                                          [OK]
    test_code_length ...                                                   [OK]
    test_dump_timing ...                                                   [OK]
    test_hide_progress ...                                                 [OK]
    test_nolisten ...                                                      [OK]
    test_only_text ...                                                     [OK]
    test_output_file ...                                                   [OK]
    test_relay_env_var ...                                                 [OK]
    test_tor ...                                                           [OK]
    test_transit_env_var ...                                               [OK]
    test_verify ...                                                        [OK]
    test_zeromode ...                                                      [OK]
  Send
    test_appid ...                                                         [OK]
    test_baseline ...                                                      [OK]
    test_code ...                                                          [OK]
    test_code_length ...                                                   [OK]
    test_dump_timing ...                                                   [OK]
    test_file ...                                                          [OK]
    test_hide_progress ...                                                 [OK]
    test_nolisten ...                                                      [OK]
    test_relay_env_var ...                                                 [OK]
    test_text ...                                                          [OK]
    test_tor ...                                                           [OK]
    test_transit_env_var ...                                               [OK]
    test_verify ...                                                        [OK]
    test_zeromode ...                                                      [OK]
wormhole.test.test_cli
  AppID
    test_override ...                                                      [OK]
  Cleanup
    test_text ...                                                          [OK]
    test_text_wrong_password ...                                           [OK]
  Dispatch
    test_debug_state_invalid_machine ...                                   [OK]
    test_debug_state_receive ...                                           [OK]
    test_debug_state_send ...                                              [OK]
    test_other_error ...                                                   [OK]
    test_server_connection_error ...                                       [OK]
    test_success ...                                                       [OK]
    test_timing ...                                                        [OK]
    test_transfer_error ...                                                [OK]
    test_welcome_error ...                                                 [OK]
    test_wrong_password_error ...                                          [OK]
  ExtractFile
    test_filenames ...                                                     [OK]
  Help
    test_dash_dash_help ...                                                [OK]
    test_help ...                                                          [OK]
    test_inconsistent_receive_allocate ...                               [FAIL]
    test_inconsistent_receive_code_length ...                            [FAIL]
  NoServer
    test_receiver ...                                                      [OK]
    test_sender ...                                                        [OK]
    test_sender_allocation ...                                             [OK]
  NotWelcome
    test_receiver ...                                                      [OK]
    test_sender ...                                                        [OK]
  OfferData
    test_broken_symlink_is_ignored ...                                     [OK]
    test_broken_symlink_raises_err ...                                     [OK]
    test_directory ...                                                     [OK]
    test_directory_addslash ...                                            [OK]
    test_file ...                                                          [OK]
    test_missing_file ...                                                  [OK]
    test_symlink ...                                                       [OK]
    test_symlink_collapse ...                                              [OK]
    test_text ...                                                          [OK]
    test_unknown ...                                                       [OK]
  PregeneratedCode
    test_directory ...                                                [SKIPPED]
    test_directory_addslash ...                                       [SKIPPED]
    test_directory_override ...                                       [SKIPPED]
    test_directory_overwrite ...                                      [SKIPPED]
    test_directory_overwrite_mock_accept ...                          [SKIPPED]
    test_empty_file ...                                               [SKIPPED]
    test_fail_directory_noclobber ...                                 [SKIPPED]
    test_fail_directory_toobig ...                                    [SKIPPED]
    test_fail_file_noclobber ...                                      [SKIPPED]
    test_fail_file_toobig ...                                         [SKIPPED]
    test_file ...                                                     [SKIPPED]
    test_file_override ...                                            [SKIPPED]
    test_file_overwrite ...                                           [SKIPPED]
    test_file_overwrite_mock_accept ...                               [SKIPPED]
    test_file_tor ...                                                 [SKIPPED]
    test_slow_sender_text ...                                         [SKIPPED]
    test_slow_text ...                                                [SKIPPED]
    test_text ...                                                     [SKIPPED]
    test_text_subprocess ...                                          [SKIPPED]
    test_text_tor ...                                                 [SKIPPED]
    test_text_verify ...                                              [SKIPPED]
  ScriptVersion
    test_version ...                                                  [SKIPPED]
  Welcome
    test_empty ...                                                         [OK]
    test_motd ...                                                          [OK]
    test_version_current ...                                               [OK]
    test_version_old ...                                                   [OK]
    test_version_unreleased ...                                            [OK]
  ZeroMode
    test_text ...                                                          [OK]
wormhole.test.test_eventual
  Eventual
    test_error ...                                                         [OK]
    test_eventually ...                                                    [OK]
    test_flush ...                                                         [OK]
wormhole.test.test_hints
  Hints
    test_comparable ...                                                    [OK]
    test_describe_hint_obj ...                                             [OK]
    test_encode_hint ...                                                   [OK]
    test_endpoint_from_hint_obj ...                                        [OK]
    test_parse_hint ...                                                    [OK]
    test_parse_hint_argv ...                                               [OK]
    test_parse_tcp_v1_hint ...                                             [OK]
wormhole.test.test_hkdf
  TestKAT
    test_kat ... /usr/lib/python3.13/unittest/case.py:597: RuntimeWarning: 
TestResult has no addDuration method
                                                          [OK]
    test_util ... /usr/lib/python3.13/unittest/case.py:597: RuntimeWarning: 
TestResult has no addDuration method
                                                         [OK]
wormhole.test.test_ipaddrs
  ListAddresses
    test_list ...                                                          [OK]
    test_list_mock_cygwin ...                                              [OK]
    test_list_mock_ifconfig ...                                            [OK]
    test_list_mock_ip_addr ...                                             [OK]
    test_list_mock_route ...                                               [OK]
wormhole.test.test_journal
  Journal
    test_immediate ...                                                     [OK]
    test_journal ...                                                       [OK]
wormhole.test.test_keys
  Derive
    test_derive_errors ...                                                 [OK]
    test_derive_key ...                                                    [OK]
    test_derive_phase_key ...                                              [OK]
  Encrypt
    test_decrypt ...                                                       [OK]
    test_encrypt ...                                                       [OK]
wormhole.test.test_machines
  Allocator
    test_allocate_first ...                                                [OK]
    test_connect_first ...                                                 [OK]
    test_no_allocation ...                                                 [OK]
  Boss
    test_allocate_code ...                                                 [OK]
    test_basic ...                                                         [OK]
    test_close_early ...                                                   [OK]
    test_error_while_closing ...                                           [OK]
    test_input_code ...                                                    [OK]
    test_internal_error ...                                                [OK]
    test_lonely ...                                                        [OK]
    test_scary_phase ...                                                   [OK]
    test_scary_version ...                                                 [OK]
    test_server_error ...                                                  [OK]
    test_set_code_bad_format ...                                           [OK]
    test_set_code_twice ...                                                [OK]
    test_unknown_phase ...                                                 [OK]
    test_unwelcome ...                                                     [OK]
  Code
    test_allocate_code ...                                                 [OK]
    test_input_code ...                                                    [OK]
    test_set_code ...                                                      [OK]
    test_set_code_invalid ...                                              [OK]
  Input
    test_bad_nameplate ...                                                 [OK]
    test_ignore_completion ...                                             [OK]
    test_with_completion ...                                               [OK]
  Key
    test_bad ...                                                           [OK]
    test_good ...                                                          [OK]
    test_reversed ...                                                      [OK]
  Lister
    test_connect_first ...                                                 [OK]
    test_connect_first_ask_twice ...                                       [OK]
    test_reconnect ...                                                     [OK]
    test_refresh_first ...                                                 [OK]
    test_unrefreshed ...                                                   [OK]
  Mailbox
    test_close_while_idle ...                                              [OK]
    test_close_while_idle_but_connected ...                                [OK]
    test_close_while_mailbox_disconnected ...                              [OK]
    test_close_while_reconnecting ...                                      [OK]
    test_connect_first ...                                                 [OK]
    test_mailbox_first ...                                                 [OK]
  Nameplate
    test_close_while_claimed ...                                           [OK]
    test_close_while_claimed_but_disconnected ...                          [OK]
    test_close_while_claiming ...                                          [OK]
    test_close_while_claiming_but_disconnected ...                         [OK]
    test_close_while_done ...                                              [OK]
    test_close_while_done_but_disconnected ...                             [OK]
    test_close_while_idle ...                                              [OK]
    test_close_while_idle_connected ...                                    [OK]
    test_close_while_releasing ...                                         [OK]
    test_close_while_releasing_but_disconnecteda ...                       [OK]
    test_close_while_unclaimed ...                                         [OK]
    test_connect_first ...                                                 [OK]
    test_reconnect_while_claimed ...                                       [OK]
    test_reconnect_while_claiming ...                                      [OK]
    test_reconnect_while_done ...                                          [OK]
    test_reconnect_while_releasing ...                                     [OK]
    test_set_first ...                                                     [OK]
    test_set_invalid ...                                                   [OK]
  Order
    test_in_order ...                                                      [OK]
    test_out_of_order ...                                                  [OK]
  Receive
    test_early_bad ...                                                     [OK]
    test_good ...                                                          [OK]
    test_late_bad ...                                                      [OK]
  Rendezvous
    test_basic ...                                                         [OK]
    test_endpoints ...                                                     [OK]
    test_websocket_failure ...                                             [OK]
    test_websocket_lost ...                                                [OK]
  Send
    test_key_first ...                                                     [OK]
    test_send_first ...                                                    [OK]
  Terminator
    test_terminate ...                                                     [OK]
wormhole.test.test_observer
  Empty
    test_set ...                                                           [OK]
  OneShot
    test_error_after_firing ...                                            [OK]
    test_error_before_firing ...                                           [OK]
    test_fire ...                                                          [OK]
    test_fire_if_not_fired ...                                             [OK]
  Sequence
    test_error ...                                                         [OK]
    test_fire ...                                                          [OK]
wormhole.test.test_rlcompleter
  Completion
    test_build_completions ...                                             [OK]
    test_call ...                                                          [OK]
    test_incomplete_code ...                                               [OK]
    test_rollback_nameplate_during_completion ...                          [OK]
    test_rollback_nameplate_during_finish ...                              [OK]
    test_simple ...                                                        [OK]
    test_warn_readline ...                                                 [OK]
    test_wrap_error ...                                                    [OK]
  Input
    test_wrapper ...                                                       [OK]
  Sync
    test_bytes ...                                                         [OK]
    test_libedit ...                                                       [OK]
    test_no_readline ...                                                   [OK]
    test_readline ...                                                      [OK]
    test_readline_no_docstring ...                                         [OK]
wormhole.test.test_ssh
  FindPubkey
    test_bad_hint ...                                                      [OK]
    test_comment_with_spaces ...                                           [OK]
    test_find_multiple ...                                                 [OK]
    test_find_none ...                                                     [OK]
    test_find_one ...                                                      [OK]
wormhole.test.test_tor_manager
  SocksOnly
    test_tor ...                                                           [OK]
  Tor
    test_bad_args ...                                                      [OK]
    test_connect ...                                                       [OK]
    test_connect_custom_control_port ...                                   [OK]
    test_connect_custom_control_port_fails ...                             [OK]
    test_connect_fails ...                                                 [OK]
    test_launch ...                                                        [OK]
    test_no_txtorcon ...                                                   [OK]
wormhole.test.test_transit
  Basic
    test_abilities ...                                                     [OK]
    test_connection_ready ...                                              [OK]
    test_ignore_bad_hints ...                                              [OK]
    test_ignore_localhost_hint ...                                         [OK]
    test_ignore_localhost_hint_orig ...                                    [OK]
    test_keep_only_localhost_hint ...                                      [OK]
    test_no_relay_hints ...                                                [OK]
    test_relay_hints ...                                                   [OK]
    test_transit_key_already_set ...                                       [OK]
    test_transit_key_wait ...                                              [OK]
    test_transit_keys ...                                                  [OK]
  Connection
    test_cancel ...                                                        [OK]
    test_check_and_remove ...                                              [OK]
    test_connectConsumer ...                                               [OK]
    test_connectConsumer_empty ...                                         [OK]
    test_consumer ...                                                      [OK]
    test_describe ...                                                      [OK]
    test_handshake_bad_state ...                                           [OK]
    test_handshake_other_error ...                                         [OK]
    test_out_of_order_nonce ...                                            [OK]
    test_producer ...                                                      [OK]
    test_receive_queue ...                                                 [OK]
    test_receiver_accepted ...                                             [OK]
    test_receiver_rejected_politely ...                                    [OK]
    test_receiver_rejected_rudely ...                                      [OK]
    test_records_corrupt ...                                               [OK]
    test_records_good ...                                                  [OK]
    test_records_not_binary ...                                            [OK]
    test_relay_handshake ...                                               [OK]
    test_relay_handshake_bad ...                                           [OK]
    test_sender_accepting ...                                              [OK]
    test_sender_rejecting ...                                              [OK]
    test_timeout ...                                                       [OK]
    test_writeToFile ...                                                   [OK]
  FileConsumer
    test_basic ...                                                         [OK]
    test_hasher ...                                                        [OK]
  Forever
    test_not_forever_cancel_early ...                                      [OK]
    test_not_forever_errs ...                                              [OK]
    test_not_forever_fires ...                                             [OK]
    test_not_forever_timeout ...                                           [OK]
  Full
    test_direct ...                                                        [OK]
    test_relay ...                                                         [OK]
  Highlander
    test_cancel_after_one_failure ...                                      [OK]
    test_cancel_early ...                                                  [OK]
    test_one_winner ...                                                    [OK]
    test_there_might_also_be_none ...                                      [OK]
  InboundConnectionFactory
    test_cancel ...                                                        [OK]
    test_describe ...                                                      [OK]
    test_first_success_wins ...                                            [OK]
    test_log_other_errors ...                                              [OK]
    test_one_fail_one_success ...                                          [OK]
    test_success ...                                                       [OK]
  Listener
    test_get_direct_hints ...                                              [OK]
    test_listener ...                                                      [OK]
  Misc
    test_allocate_port ...                                                 [OK]
    test_allocate_port_no_reuseaddr ...                                    [OK]
  OutboundConnectionFactory
    test_success ...                                                       [OK]
  RelayHandshake
    test_new ...                                                           [OK]
    test_old ...                                                           [OK]
  Transit
    test_no_contenders ...                                                 [OK]
    test_no_direct_hints ...                                               [OK]
    test_priorities ...                                                    [OK]
    test_success_direct ...                                                [OK]
    test_success_direct_tor ...                                            [OK]
    test_success_direct_tor_relay ...                                      [OK]
    test_wait_for_relay ...                                                [OK]
wormhole.test.test_util
  Space
    test_free_space ...                                                    [OK]
    test_no_statvfs ...                                                    [OK]
  Utils
    test_bytes_to_dict ...                                                 [OK]
    test_bytes_to_hexstr ...                                               [OK]
    test_dict_to_bytes ...                                                 [OK]
    test_hexstr_to_bytes ...                                               [OK]
    test_to_bytes ...                                                      [OK]
wormhole.test.test_util_attrs_zope
  TestProvides
    test_fail ...                                                          [OK]
    test_repr ...                                                          [OK]
    test_success ...                                                       [OK]
wormhole.test.test_wordlist
  Choose
    test_choose_words ...                                                  [OK]
  Completions
    test_completions ...                                                   [OK]
wormhole.test.test_wormhole
  Delegated
    test_allocate_code ...                                                 [OK]
    test_delegated ...                                                     [OK]
    test_input_code ...                                                    [OK]
  Errors
    test_allocate_and_set_code ...                                         [OK]
    test_derive_key_early ...                                              [OK]
    test_multiple_set_code ...                                             [OK]
  InitialFailure
    test_all_deferreds ...                                                 [OK]
    test_bad_dns ...                                                       [OK]
    test_no_connection ...                                                 [OK]
  Reconnection
    test_basic ...                                                         [OK]
  Trace
    test_basic ...                                                         [OK]
    test_delegated ...                                                     [OK]
  Wormholes
    test_allocate_default ...                                              [OK]
    test_allocate_more_words ...                                           [OK]
    test_basic ...                                                         [OK]
    test_closed ...                                                        [OK]
    test_closed_idle ...                                                   [OK]
    test_early ...                                                         [OK]
    test_fixed_code ...                                                    [OK]
    test_get_code_early ...                                                [OK]
    test_get_code_late ...                                                 [OK]
    test_input_code ...                                                    [OK]
    test_interleaved ...                                                   [OK]
    test_multiple_messages ...                                             [OK]
    test_rx_dedup ...                                                      [OK]
    test_same_message ...                                                  [OK]
    test_unidirectional ...                                                [OK]
    test_verifier ...                                                      [OK]
    test_versions ...                                                      [OK]
    test_welcome ...                                                       [OK]
    test_wrong_password ...                                                [OK]
    test_wrong_password_with_leading_space ...                             [OK]
    test_wrong_password_with_non_numeric_nameplate ...                     [OK]
    test_wrong_password_with_spaces ...                                    [OK]
wormhole.test.test_xfer_util
  Xfer
    test_make_code ...                                                     [OK]
    test_on_code ...                                                       [OK]
    test_xfer ...                                                          [OK]

===============================================================================
[SKIPPED]
noiseprotocol unavailable

wormhole.test.dilate.test_connect.Connect.test1
wormhole.test.dilate.test_connector.TestConnector.test_build_noise
wormhole.test.dilate.test_full.Endpoints.test_endpoints
wormhole.test.dilate.test_full.Full.test_control
wormhole.test.dilate.test_full.Reconnect.test_data_while_offline
wormhole.test.dilate.test_full.Reconnect.test_reconnect
wormhole.test.dilate.test_record.Record.test_large_frame
===============================================================================
[SKIPPED]
unable to find 'wormhole' in $PATH

wormhole.test.test_cli.PregeneratedCode.test_directory
wormhole.test.test_cli.PregeneratedCode.test_directory_addslash
wormhole.test.test_cli.PregeneratedCode.test_directory_override
wormhole.test.test_cli.PregeneratedCode.test_directory_overwrite
wormhole.test.test_cli.PregeneratedCode.test_directory_overwrite_mock_accept
wormhole.test.test_cli.PregeneratedCode.test_empty_file
wormhole.test.test_cli.PregeneratedCode.test_fail_directory_noclobber
wormhole.test.test_cli.PregeneratedCode.test_fail_directory_toobig
wormhole.test.test_cli.PregeneratedCode.test_fail_file_noclobber
wormhole.test.test_cli.PregeneratedCode.test_fail_file_toobig
wormhole.test.test_cli.PregeneratedCode.test_file
wormhole.test.test_cli.PregeneratedCode.test_file_override
wormhole.test.test_cli.PregeneratedCode.test_file_overwrite
wormhole.test.test_cli.PregeneratedCode.test_file_overwrite_mock_accept
wormhole.test.test_cli.PregeneratedCode.test_file_tor
wormhole.test.test_cli.PregeneratedCode.test_slow_sender_text
wormhole.test.test_cli.PregeneratedCode.test_slow_text
wormhole.test.test_cli.PregeneratedCode.test_text
wormhole.test.test_cli.PregeneratedCode.test_text_subprocess
wormhole.test.test_cli.PregeneratedCode.test_text_tor
wormhole.test.test_cli.PregeneratedCode.test_text_verify
wormhole.test.test_cli.ScriptVersion.test_version
===============================================================================
[FAIL]
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_magic-wormhole/build/wormhole/test/test_cli.py",
 line 1441, in test_inconsistent_receive_allocate
    self.assertIn("Cannot specify a code", result.stdout)
  File "/usr/lib/python3/dist-packages/twisted/trial/_synctest.py", line 509, 
in assertIn
    raise self.failureException(msg or f"{containee!r} not in {container!r}")
twisted.trial.unittest.FailTest: 'Cannot specify a code' not in ''

wormhole.test.test_cli.Help.test_inconsistent_receive_allocate
===============================================================================
[FAIL]
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_magic-wormhole/build/wormhole/test/test_cli.py",
 line 1430, in test_inconsistent_receive_code_length
    self.assertIn("Must use --allocate", result.stdout)
  File "/usr/lib/python3/dist-packages/twisted/trial/_synctest.py", line 509, 
in assertIn
    raise self.failureException(msg or f"{containee!r} not in {container!r}")
twisted.trial.unittest.FailTest: 'Must use --allocate' not in ''

wormhole.test.test_cli.Help.test_inconsistent_receive_code_length
-------------------------------------------------------------------------------
Ran 456 tests in 18.544s

FAILED (skips=29, failures=2, successes=425)
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_magic-wormhole/build; python3 -m 
wormhole.test.run_trial wormhole
dh_auto_test: error: pybuild --test -i python{version} -p 3.13 returned exit 
code 13
make: *** [debian/rules:14: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202502/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:magic-wormhole, so that this is still
visible in the BTS web page for this package.

Thanks.

Reply via email to