Source: ufw Version: 0.36-1 Severity: serious Justification: FTBFS on amd64 Tags: buster sid Usertags: ftbfs-20200222 ftbfs-buster
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > fakeroot debian/rules binary > py3versions: no X-Python3-Version in control file, using supported versions > dh_testdir > dh_testroot > dh_prep > dh_installdirs > # make sure the version is in sync with our changelog > sed -i "s/^ufw_version = .*/ufw_version = '0.36'/" ./setup.py > ./run_tests.sh -i /usr/bin/python2 > Interpreter: /usr/bin/python2 > > = Unit Tests = > DEBUG: sys.path=['/<<PKGBUILDDIR>>', '/usr/lib/python2.7', > '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', > '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', > '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages'] > DEBUG: test=['test_applications', 'test_backend', 'test_backend_iptables', > 'test_common', 'test_frontend', 'test_parser', 'test_skeleton', 'test_util'] > test_applications > test_get_description (tests.unit.test_applications.ApplicationsTestCase) > Test get_description() ... ok > test_get_ports (tests.unit.test_applications.ApplicationsTestCase) > Test get_ports() ... ok > test_get_profiles (tests.unit.test_applications.ApplicationsTestCase) > Test get_profiles() ... ok > test_get_title (tests.unit.test_applications.ApplicationsTestCase) > Test get_title() ... ok > test_valid_profile_name (tests.unit.test_applications.ApplicationsTestCase) > Test valid_profile_name() ... ok > test_verify_profile (tests.unit.test_applications.ApplicationsTestCase) > Test verify_profile() ... ok > test_verify_profile_bad (tests.unit.test_applications.ApplicationsTestCase) > Test verify_profile() - bad ... {'description': 'missing title', 'ports': > '53'} > {'ports': '22/tcp', 'title': 'missing description'} > {'description': 'desc', 'title': 'missing ports'} > {'ports': '80', 'description': 'empty title', 'title': ''} > {'ports': '80', 'description': '', 'title': 'empty description'} > {'ports': '', 'description': 'desc', 'title': 'empty ports'} > {'ports': '80,443', 'description': 'desc', 'title': 'bad missing proto - > list'} > {'ports': '80:443', 'description': 'desc', 'title': 'bad missing proto - > range'} > {'ports': '80:70000/tcp', 'description': 'desc', 'title': 'bad range too > big'} > {'ports': '80/ah', 'description': 'desc', 'title': 'bad protocol - ah'} > {'ports': '80/esp', 'description': 'desc', 'title': 'bad protocol - esp'} > {'ports': '80/gre', 'description': 'desc', 'title': 'bad protocol - gre'} > {'ports': '80/igmp', 'description': 'desc', 'title': 'bad protocol - igmp'} > {'ports': '80/ipv6', 'description': 'desc', 'title': 'bad protocol - ipv6'} > ok > > ---------------------------------------------------------------------- > Ran 7 tests in 0.050s > > OK > test_backend > test_installation_defaults (tests.unit.test_backend.BackendTestCase) > Test installation defaults ... WARN: Checks disabled > ok > > ---------------------------------------------------------------------- > Ran 1 test in 0.011s > > OK > test_backend_iptables > test__get_defaults (tests.unit.test_backend_iptables.BackendIptablesTestCase) > Test _get_defaults() ... WARN: Checks disabled > ok > test__need_reload (tests.unit.test_backend_iptables.BackendIptablesTestCase) > Test _need_reload() ... WARN: Checks disabled > ok > test__reload_user_rules > (tests.unit.test_backend_iptables.BackendIptablesTestCase) > Test _reload_user_rules() ... WARN: Checks disabled > > | iptables-restore > > | ip6tables-restore > ok > test_find_application_name > (tests.unit.test_backend_iptables.BackendIptablesTestCase) > Test find_application_name() ... WARN: Checks disabled > ok > test_find_other_position > (tests.unit.test_backend_iptables.BackendIptablesTestCase) > Test find_other_position() ... WARN: Checks disabled > ok > test_get_app_rules_from_template > (tests.unit.test_backend_iptables.BackendIptablesTestCase) > Test get_app_rules_from_template() ... WARN: Checks disabled > ok > test_get_default_application_policy > (tests.unit.test_backend_iptables.BackendIptablesTestCase) > Test get_default_application_policy() ... WARN: Checks disabled > ok > test_get_loglevel (tests.unit.test_backend_iptables.BackendIptablesTestCase) > Test get_loglevel() ... WARN: Checks disabled > ok > test_get_matching (tests.unit.test_backend_iptables.BackendIptablesTestCase) > Test get_matching() ... WARN: Checks disabled > ok > test_get_rule_by_number > (tests.unit.test_backend_iptables.BackendIptablesTestCase) > Test get_rule_by_number() ... WARN: Checks disabled > ok > test_get_rules_count > (tests.unit.test_backend_iptables.BackendIptablesTestCase) > Test get_rules_count() ... WARN: Checks disabled > ok > test_get_running_raw > (tests.unit.test_backend_iptables.BackendIptablesTestCase) > Test get_running_raw() ... WARN: Checks disabled > ok > test_get_status (tests.unit.test_backend_iptables.BackendIptablesTestCase) > Test get_status() ... WARN: Checks disabled > ok > test_reset (tests.unit.test_backend_iptables.BackendIptablesTestCase) > Test reset() ... WARN: Checks disabled > Backing up 'user.rules' to > '/<<PKGBUILDDIR>>/tests/unit/tmp/ufw/etc/ufw/user.rules.20200223_023245' > Backing up 'after6.rules' to > '/<<PKGBUILDDIR>>/tests/unit/tmp/ufw/etc/ufw/after6.rules.20200223_023245' > Backing up 'user6.rules' to > '/<<PKGBUILDDIR>>/tests/unit/tmp/ufw/etc/ufw/user6.rules.20200223_023245' > Backing up 'before6.rules' to > '/<<PKGBUILDDIR>>/tests/unit/tmp/ufw/etc/ufw/before6.rules.20200223_023245' > Backing up 'after.rules' to > '/<<PKGBUILDDIR>>/tests/unit/tmp/ufw/etc/ufw/after.rules.20200223_023245' > Backing up 'before.rules' to > '/<<PKGBUILDDIR>>/tests/unit/tmp/ufw/etc/ufw/before.rules.20200223_023245' > > Backing up 'user.rules' to > '/<<PKGBUILDDIR>>/tests/unit/tmp/ufw/etc/ufw/user.rules.20200223_023246' > Backing up 'after6.rules' to > '/<<PKGBUILDDIR>>/tests/unit/tmp/ufw/etc/ufw/after6.rules.20200223_023246' > Backing up 'user6.rules' to > '/<<PKGBUILDDIR>>/tests/unit/tmp/ufw/etc/ufw/user6.rules.20200223_023246' > Backing up 'before6.rules' to > '/<<PKGBUILDDIR>>/tests/unit/tmp/ufw/etc/ufw/before6.rules.20200223_023246' > Backing up 'after.rules' to > '/<<PKGBUILDDIR>>/tests/unit/tmp/ufw/etc/ufw/after.rules.20200223_023246' > Backing up 'before.rules' to > '/<<PKGBUILDDIR>>/tests/unit/tmp/ufw/etc/ufw/before.rules.20200223_023246' > > ok > test_set_bad_default > (tests.unit.test_backend_iptables.BackendIptablesTestCase) > Test bad set_default_policy() ... WARN: Checks disabled > ok > test_set_bad_default_application_policy > (tests.unit.test_backend_iptables.BackendIptablesTestCase) > Test bad set_default_application_policy() ... WARN: Checks disabled > ok > test_set_default (tests.unit.test_backend_iptables.BackendIptablesTestCase) > Test set_default() ... WARN: Checks disabled > ok > test_set_default_application_policy > (tests.unit.test_backend_iptables.BackendIptablesTestCase) > Test set_default_application_policy() ... WARN: Checks disabled > ok > test_set_default_policy > (tests.unit.test_backend_iptables.BackendIptablesTestCase) > Test set_default_policy() ... WARN: Checks disabled > ok > test_set_loglevel (tests.unit.test_backend_iptables.BackendIptablesTestCase) > Test set_loglevel() ... WARN: Checks disabled > ok > test_set_rule (tests.unit.test_backend_iptables.BackendIptablesTestCase) > Test set_rule() ... WARN: Checks disabled > ok > test_start_firewall (tests.unit.test_backend_iptables.BackendIptablesTestCase) > Test start_firewall() ... WARN: Checks disabled > > running ufw-init > ok > test_stop_firewall (tests.unit.test_backend_iptables.BackendIptablesTestCase) > Test stop_firewall() ... WARN: Checks disabled > > running ufw-init > ok > test_update_app_rule > (tests.unit.test_backend_iptables.BackendIptablesTestCase) > Test upate_app_rule() ... WARN: Checks disabled > ok > test_update_logging (tests.unit.test_backend_iptables.BackendIptablesTestCase) > Test update_logging() ... WARN: Checks disabled > ok > test_use_ipv6 (tests.unit.test_backend_iptables.BackendIptablesTestCase) > Test use_ipv6() ... WARN: Checks disabled > ok > > ---------------------------------------------------------------------- > Ran 26 tests in 88.977s > > OK > test_common > test__fix_anywhere (tests.unit.test_common.CommonTestCase) > Test _fix_anywhere() ... ok > test__get_attrib (tests.unit.test_common.CommonTestCase) > Test _get_attrib() ... ok > test__init_ (tests.unit.test_common.CommonTestCase) > Test UFWRule.__init__() ... ok > test__is_anywhere (tests.unit.test_common.CommonTestCase) > Test _is_anywhere() ... ok > test_dup_rule (tests.unit.test_common.CommonTestCase) > Test dup_rule() ... ok > test_format_rule (tests.unit.test_common.CommonTestCase) > Test format_rule() ... ok > test_fuzzy_dst_match (tests.unit.test_common.CommonTestCase) > Test fuzzy_dst_match() ... ok > test_get_app_tuple (tests.unit.test_common.CommonTestCase) > Test get_app_tuple() ... ok > test_match (tests.unit.test_common.CommonTestCase) > Test match() ... ok > test_normalize (tests.unit.test_common.CommonTestCase) > Test normalize() ... ok > test_set_action (tests.unit.test_common.CommonTestCase) > Test set_action() ... ok > test_set_direction (tests.unit.test_common.CommonTestCase) > Test set_direction() ... ok > test_set_direction_bad (tests.unit.test_common.CommonTestCase) > Test set_direction() - bad ... ok > test_set_dst (tests.unit.test_common.CommonTestCase) > Test set_dst() ... ok > test_set_dst_bad (tests.unit.test_common.CommonTestCase) > Test set_dst() - bad ... ok > test_set_interface (tests.unit.test_common.CommonTestCase) > Test set_interface() ... ok > test_set_interface_bad (tests.unit.test_common.CommonTestCase) > Test set_interface() - bad ... ok > test_set_logtype (tests.unit.test_common.CommonTestCase) > Test set_logtype() ... ok > test_set_logtype_bad (tests.unit.test_common.CommonTestCase) > Test set_logtype() - bad ... ok > test_set_port (tests.unit.test_common.CommonTestCase) > Test set_port() ... ok > test_set_port_bad (tests.unit.test_common.CommonTestCase) > Test set_port() - bad ... ok > test_set_position (tests.unit.test_common.CommonTestCase) > Test set_position() ... ok > test_set_position_bad (tests.unit.test_common.CommonTestCase) > Test set_position() - bad ... ok > test_set_protocol (tests.unit.test_common.CommonTestCase) > Test set_protocol() ... ok > test_set_protocol_bad (tests.unit.test_common.CommonTestCase) > Test set_protocol() - bad ... ok > test_set_src (tests.unit.test_common.CommonTestCase) > Test set_src() ... ok > test_set_src_bad (tests.unit.test_common.CommonTestCase) > Test set_src() - bad ... ok > test_set_v6 (tests.unit.test_common.CommonTestCase) > Test set_v6() ... ok > test_ufwerror (tests.unit.test_common.CommonTestCase) > Test UFWError ... ok > test_ufwerror_str (tests.unit.test_common.CommonTestCase) > Test UFWError.str() ... ok > > ---------------------------------------------------------------------- > Ran 30 tests in 0.023s > > OK > test_frontend > test___init__ (tests.unit.test_frontend.FrontendTestCase) > Test __init__() ... WARN: Checks disabled > ok > test_application_add (tests.unit.test_frontend.FrontendTestCase) > Test application_add() ... WARN: Checks disabled > ok > test_continue_under_ssh (tests.unit.test_frontend.FrontendTestCase) > Test continue_under_ssh() ... WARN: Checks disabled > ok > test_do_action (tests.unit.test_frontend.FrontendTestCase) > Test do_action() ... WARN: Checks disabled > WARN: Checks disabled > WARN: Checks disabled > TODO: verify output of rules in do_action() > ok > test_do_action_remove_bad_appname (tests.unit.test_frontend.FrontendTestCase) > Test do_action() remove bad appname ... WARN: Checks disabled > ok > test_do_application_action (tests.unit.test_frontend.FrontendTestCase) > Test do_application_action() ... WARN: Checks disabled > ok > test_get_command_help (tests.unit.test_frontend.FrontendTestCase) > Test get_command_help() ... WARN: Checks disabled > ok > test_get_show_added (tests.unit.test_frontend.FrontendTestCase) > Test get_show_added() ... WARN: Checks disabled > ok > test_get_show_listening (tests.unit.test_frontend.FrontendTestCase) > Test get_show_listening() ... WARN: Checks disabled > ok > test_get_show_raw (tests.unit.test_frontend.FrontendTestCase) > Test get_show_raw() ... WARN: Checks disabled > ok > test_parse_command (tests.unit.test_frontend.FrontendTestCase) > Test parse_command() ... WARN: Checks disabled > ok > test_parse_command_bad (tests.unit.test_frontend.FrontendTestCase) > Test parse_command_bad ... WARN: Checks disabled > ERROR: Invalid syntax > ERROR: Invalid syntax > ERROR: Invalid syntax > ok > > ---------------------------------------------------------------------- > Ran 12 tests in 0.218s > > OK > test_parser > test_app_parse (tests.unit.test_parser.ParserTestCase) > Test UFWCommandApp.parse() ... ok > test_bad_simple_action (tests.unit.test_parser.ParserTestCase) > Test bad simple action ... ok > test_bad_simple_action_with_direction (tests.unit.test_parser.ParserTestCase) > Test bad simple action with direction ... ok > test_default_parse (tests.unit.test_parser.ParserTestCase) > Test UFWCommandDefault.parse() ... ok > test_delete_bad_simple_action (tests.unit.test_parser.ParserTestCase) > Test delete bad simple action ... ok > test_extended_parse (tests.unit.test_parser.ParserTestCase) > Test extended rule syntax ... 61920 rules checked > ok > test_logging_parse (tests.unit.test_parser.ParserTestCase) > Test UFWCommandLogging.parse() ... ok > test_misc_rules_parse (tests.unit.test_parser.ParserTestCase) > Test rule syntax - miscellaneous ... ok > test_route_delete_num (tests.unit.test_parser.ParserTestCase) > Test route delete NUM ... ok > test_rule_bad_syntax (tests.unit.test_parser.ParserTestCase) > Test rule syntax - bad ... ok > test_show_parse (tests.unit.test_parser.ParserTestCase) > Test UFWCommandShow.parse() ... ok > test_simple_bad_numeric_port (tests.unit.test_parser.ParserTestCase) > Test simple bad numeric port ... ok > test_simple_parse (tests.unit.test_parser.ParserTestCase) > Test simple rule syntax ... 792 rules checked > ok > test_status_parse (tests.unit.test_parser.ParserTestCase) > Test UFWCommandStatus.parse() ... ok > test_ufwcommand_help (tests.unit.test_parser.ParserTestCase) > Test UFWCommand.help() ... ok > test_ufwcommand_parse (tests.unit.test_parser.ParserTestCase) > Test UFWCommand.parse() ... ok > test_ufwcommand_parse_basic_help (tests.unit.test_parser.ParserTestCase) > Test parser.parse_command() - help ... ok > test_ufwcommand_parse_empty (tests.unit.test_parser.ParserTestCase) > Test UFWCommand.parse([]) ... ok > test_ufwcommand_rule_get_command (tests.unit.test_parser.ParserTestCase) > Test UFWCommand(Route)Rule.get_command() ... 62717 rules checked > ok > test_ufwcommandbasic_parse_with_arg (tests.unit.test_parser.ParserTestCase) > Test UFWCommand.parse() - basic with arg ... ok > test_ufwparser_allowed_command (tests.unit.test_parser.ParserTestCase) > Test UFWParser.allowed_command() ... ok > test_ufwparser_register_command (tests.unit.test_parser.ParserTestCase) > Test UFWParser.register_command() ... ok > test_ufwparser_register_command_none (tests.unit.test_parser.ParserTestCase) > Test UFWParser.register_command() ... ok > test_ufwparser_response (tests.unit.test_parser.ParserTestCase) > Test UFWParserResponse.str() ... ok > > ---------------------------------------------------------------------- > Ran 24 tests in 15.807s > > OK > test_skeleton > test_example (tests.unit.test_skeleton.SkeletonTestCase) > Test example dummy test ... ok > > ---------------------------------------------------------------------- > Ran 1 test in 0.000s > > OK > test_util > test__address4_to_network (tests.unit.test_util.UtilTestCase) > Test _address4_to_network() ... ok > test__address6_to_network (tests.unit.test_util.UtilTestCase) > Test _address6_to_network() ... ok > test__cidr_to_dotted_netmask (tests.unit.test_util.UtilTestCase) > Test _cidr_to_dotted_netmask() ... ok > test__dotted_netmask_to_cidr (tests.unit.test_util.UtilTestCase) > Test _dotted_netmask_to_cidr() ... ok > test__get_proc_inodes (tests.unit.test_util.UtilTestCase) > Test _get_proc_inodes() ... ok > test__read_proc_net_protocol (tests.unit.test_util.UtilTestCase) > Test _read_proc_net_protocol() ... ok > test__valid_cidr_netmask (tests.unit.test_util.UtilTestCase) > Test _valid_cidr_netmask() ... ok > test__valid_dotted_quads (tests.unit.test_util.UtilTestCase) > Test _valid_dotted_quads() ... ok > test_cidr_to_dotted_to_cidr (tests.unit.test_util.UtilTestCase) > Test _cidr_to_dotted_netmask() and _dotted_netmask_to_cidr() ... ok > test_close_files (tests.unit.test_util.UtilTestCase) > Test close_files() ... ok > test_cmd (tests.unit.test_util.UtilTestCase) > Test cmd() ... ok > test_cmd_pipe (tests.unit.test_util.UtilTestCase) > Test cmd_pipe() ... ok > test_create_lock (tests.unit.test_util.UtilTestCase) > Test create_lock() ... ok > test_debug (tests.unit.test_util.UtilTestCase) > Test debug() ... DEBUG: test debug() > ('DEBUG: test debug()' output is intentional) > ok > test_error (tests.unit.test_util.UtilTestCase) > Test error() ... ERROR: test error() > ('ERROR: test error()' output is intentional) > ok > test_get_if_from_ip (tests.unit.test_util.UtilTestCase) > Test get_if_from_ip() ... ok > test_get_ip_from_if (tests.unit.test_util.UtilTestCase) > Test get_ip_from_if() ... ok > test_get_iptables_version (tests.unit.test_util.UtilTestCase) > Test get_iptables_version() ... ERROR > test_get_netfilter_capabilities (tests.unit.test_util.UtilTestCase) > Test get_netfilter_capabilities() ... ok > test_get_netstat_output (tests.unit.test_util.UtilTestCase) > Test get_netstat_output() ... ok > test_get_ppid (tests.unit.test_util.UtilTestCase) > Test get_ppid() ... ok > test_get_services_proto (tests.unit.test_util.UtilTestCase) > Test get_services_proto() ... ok > test_hex_decode (tests.unit.test_util.UtilTestCase) > Test hex_decode() output ... ok > test_hex_encode (tests.unit.test_util.UtilTestCase) > Test hex_encode() output ... ok > test_human_sort (tests.unit.test_util.UtilTestCase) > Test human_sort() ... ok > test_in_network (tests.unit.test_util.UtilTestCase) > Test in_network() ... ok > test_msg (tests.unit.test_util.UtilTestCase) > Test msg() ... test msg() > ('test msg()' output is intentional) > test msg() > ('test msg()' output is intentional) > ok > test_normalize_address_host_netmask (tests.unit.test_util.UtilTestCase) > Test normalize_address() with host_netmask ... ok > test_normalize_address_invalid_netmask (tests.unit.test_util.UtilTestCase) > Test normalize_address() with invalid_netmask ... ok > test_normalize_address_ipv6_cidr (tests.unit.test_util.UtilTestCase) > Test normalize_address() with ipv6_cidr ... ok > test_normalize_address_ipv6_short_notation (tests.unit.test_util.UtilTestCase) > Test normalize_address() with ipv6_short_notation ... ok > test_normalize_address_netmask_to_cidr (tests.unit.test_util.UtilTestCase) > Test normalize_address() with netmask_to_cidr ... ok > test_normalize_address_valid_netmask_to_non_cidr > (tests.unit.test_util.UtilTestCase) > Test normalize_address() with valid_netmask_to_non_cidr ... ok > test_open_file_read (tests.unit.test_util.UtilTestCase) > Test open_file_read() ... ok > test_open_files (tests.unit.test_util.UtilTestCase) > Test open_files() ... ok > test_parse_netstat_output (tests.unit.test_util.UtilTestCase) > Test parse_netstat_output() ... ok > test_parse_port_proto (tests.unit.test_util.UtilTestCase) > Test parse_port_proto() ... ok > test_under_ssh (tests.unit.test_util.UtilTestCase) > Test under_ssh() ... WARN: Couldn't find pid (is /proc mounted?) > ok > test_valid_address (tests.unit.test_util.UtilTestCase) > Test valid_address() ... ok > test_valid_address4 (tests.unit.test_util.UtilTestCase) > Test valid_address4() ... ok > test_valid_address6 (tests.unit.test_util.UtilTestCase) > Test valid_address6() ... WARN: python does not have IPv6 support. > (IPv6 support warning is intentional) > ok > test_valid_netmask (tests.unit.test_util.UtilTestCase) > Test valid_netmask() ... ok > test_warn (tests.unit.test_util.UtilTestCase) > Test warn() ... WARN: test warn() > ('WARN: test warn()' output is intentional) > ok > test_word_wrap (tests.unit.test_util.UtilTestCase) > Test word_wrap() ... ok > test_wrap_text (tests.unit.test_util.UtilTestCase) > Test wrap_text() ... ok > test_write_to_file (tests.unit.test_util.UtilTestCase) > Test write_to_file() ... ok > > ====================================================================== > ERROR: test_get_iptables_version (tests.unit.test_util.UtilTestCase) > Test get_iptables_version() > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/tests/unit/test_util.py", line 911, in > test_get_iptables_version > v = ufw.util.get_iptables_version() > File "/<<PKGBUILDDIR>>/ufw/util.py", line 736, in get_iptables_version > raise OSError(errno.ENOENT, "Error running '%s'" % (exe)) > OSError: [Errno 2] Error running '/sbin/iptables' > > ---------------------------------------------------------------------- > Ran 46 tests in 0.226s > > FAILED (errors=1) > > ------------------ > Unit tests summary > ------------------ > Total=8 (Passed=7, Failed=1) > > Found unit test failures. Aborting and skipping functional tests > make: *** [debian/rules:38: install] Error 1 The full build log is available from: http://qa-logs.debian.net/2020/02/22/ufw_0.36-1_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! About the archive rebuild: The rebuild was done on EC2 VM instances from Amazon Web Services, using a clean, minimal and up-to-date chroot. Every failed build was retried once to eliminate random failures.