[Python-modules-team] Bug#828224: nose: FTBFS: FAIL: runTest (test_coverage_plugin.TestCoveragePlugin) [..] AssertionError: False is not true

Chris Lamb lamby at debian.org
Sun Jun 26 09:51:40 UTC 2016


Source: nose
Version: 1.3.7-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

nose fails to build from source in unstable/amd64:

  [..]

  test_function_test_case_fixtures (test_cases.TestNoseCases) ... ok
  test_method_test_case (test_cases.TestNoseCases) ... ok
  test_method_test_case_fixtures (test_cases.TestNoseCases) ... ok
  test_method_test_case_with_metaclass (test_cases.TestNoseCases) ... ok
  test_address (test_cases.TestNoseTestWrapper) ... ok
  test_case_fixtures_called (test_cases.TestNoseTestWrapper)
  Instance fixtures are properly called for wrapped tests ... ok
  test_context (test_cases.TestNoseTestWrapper) ... ok
  test_result_proxy_used (test_cases.TestNoseTestWrapper)
  A result proxy is used to wrap the result for all tests ... ok
  test_short_description (test_cases.TestNoseTestWrapper) ... ok
  test_unrepresentable_shortDescription (test_cases.TestNoseTestWrapper) ... ok
  test_defaults (test_config.TestNoseConfig) ... ok
  test_ignore_files_default (test_config.TestNoseConfig)
  The default configuration should have several ignore file settings. ... ok
  test_ignore_files_multiple (test_config.TestNoseConfig)
  Multiple ignore-files flags should be appended together, overriding ... ok
  test_ignore_files_single (test_config.TestNoseConfig)
  A single ignore-files flag should override the default settings. ... ok
  test_multiple_include (test_config.TestNoseConfig) ... ok
  test_pickle_configured (test_config.TestNoseConfig) ... ok
  test_pickle_empty (test_config.TestNoseConfig) ... ok
  test_plugins (test_config.TestNoseConfig) ... ok
  test_progname_looks_like_option (test_config.TestNoseConfig) ... ok
  test_reset (test_config.TestNoseConfig) ... ok
  test_single_include (test_config.TestNoseConfig) ... ok
  test_testnames (test_config.TestNoseConfig) ... ok
  test_update (test_config.TestNoseConfig) ... ok
  test_where (test_config.TestNoseConfig) ... ok
  test_restore_stdout (test_core.TestAPI_run) ... ok
  test_getAllConfigFiles (test_core.TestProgramConfigs) ... ok
  test_getAllConfigFiles_ignore_configs (test_core.TestProgramConfigs) ... ok
  test_makeConfig (test_core.TestProgramConfigs) ... ok
  test_from_directory (test_core.TestUsage) ... ok
  test_from_zip (test_core.TestUsage) ... ok
  test_cover_plugin.TestCoveragePlugin.test_cover_packages_option ... ok
  test_api_present (test_deprecated_plugin.TestDeprecatedPlugin) ... ok
  test_can_be_disabled (test_deprecated_plugin.TestDeprecatedPlugin) ... ok
  test_deprecated_output (test_deprecated_plugin.TestDeprecatedPlugin) ... ok
  test_deprecated_output_verbose (test_deprecated_plugin.TestDeprecatedPlugin) ... ok
  test_enabled_by_default (test_deprecated_plugin.TestDeprecatedPlugin) ... ok
  test_patched_result_handles_deprecated (test_deprecated_plugin.TestDeprecatedPlugin) ... ok
  test_patches_only_when_needed (test_deprecated_plugin.TestDeprecatedPlugin) ... ok
  test_prepare_patches_result (test_deprecated_plugin.TestDeprecatedPlugin) ... ok
  test_err_doctests_raises_exception (test_doctest_error_handling.TestDoctestErrorHandling) ... ok
  test_no_doctests_in_file (test_doctest_error_handling.TestDoctestErrorHandling) ... ok
  test_no_name (test_doctest_no_name.TestDoctestErrorHandling) ... ok
  test_default_id_file_is_in_working_dir (test_id_plugin.TestTestIdPlugin) ... ok
  test_add_paths (test_importer.TestImporter) ... ok
  test_import (test_importer.TestImporter) ... ok
  test_module_init_prefix (test_importer.TestImporter) ... ok
  test_module_no_file (test_importer.TestImporter) ... ok
  test_bug_95 (test_inspector.TestExpander)
  Test that inspector can handle multi-line docstrings ... ok
  test_get_tb_source_func (test_inspector.TestExpander) ... ok
  test_get_tb_source_simple (test_inspector.TestExpander) ... ok
  test_inspect_traceback_continued (test_inspector.TestExpander) ... ok
  test_pick_tb_lines (test_inspector.TestExpander) ... ok
  test_simple_inspect_frame (test_inspector.TestExpander) ... ok
  test_isolation_plugin.test_lint ... ok
  test_issue135 (test_issue135.TestIssue135) ... ok
  test_load_nested_generator (test_issue_006.TestIssue006) ... ok
  test_issue_064.test_is_generator_alias ... ok
  test_dict_wrapper_instance_not_loaded (test_issue_065.TestIssue065) ... ok
  test_string_exception_not_masked (test_issue_101.TestErrorClassWithStringException) ... ok
  test_issue_227.test_unicode ... ok
  test_generator_yield_value (test_issue_230.TestIssue230) ... ok
  test_issue_786.Test.test_evens ... ok
  test_issue_786.test_evens ... ok
  test_basic_iteration (test_lazy_suite.TestLazySuite) ... ok
  test_cases_from_testcase_are_wrapped (test_loader.TestTestLoader) ... ok
  test_lint (test_loader.TestTestLoader)
  Test that main API functions exist ... ok
  test_load_from_name_dir_abs (test_loader.TestTestLoader) ... ok
  test_load_from_name_method (test_loader.TestTestLoader) ... ok
  test_load_from_name_missing_module (test_loader.TestTestLoader) ... ok
  test_load_from_name_module (test_loader.TestTestLoader) ... ok
  test_load_from_name_module_class (test_loader.TestTestLoader) ... ok
  test_load_from_name_module_filename (test_loader.TestTestLoader) ... ok
  test_load_from_name_module_func (test_loader.TestTestLoader) ... ok
  test_load_from_name_module_method (test_loader.TestTestLoader) ... ok
  test_load_from_name_module_missing_class (test_loader.TestTestLoader) ... ok
  test_load_from_name_module_missing_func (test_loader.TestTestLoader) ... ok
  test_load_from_name_module_missing_method (test_loader.TestTestLoader) ... ok
  test_load_from_name_module_transplanted_class_missing_method (test_loader.TestTestLoader) ... ok
  test_load_from_name_nontest_module (test_loader.TestTestLoader) ... ok
  test_load_from_name_package_root_path (test_loader.TestTestLoader) ... ok
  test_load_from_name_subpackage_safepath (test_loader.TestTestLoader) ... ok
  test_load_generators (test_loader.TestTestLoader) ... ok
  test_load_metaclass_customized_classes (test_loader.TestTestLoader) ... ok
  test_load_test_func (test_loader.TestTestLoader) ... ok
  test_load_transplanted_generator (test_loader.TestTestLoader) ... ok
  test_logcapture_plugin.TestLogCapturePlugin.test_builtin_logging_filtering ... ok
  test_logcapture_plugin.TestLogCapturePlugin.test_captures_logging ... ok
  test_logcapture_plugin.TestLogCapturePlugin.test_clears_all_existing_log_handlers ... ok
  test_logcapture_plugin.TestLogCapturePlugin.test_consistent_mutables ... ok
  test_logcapture_plugin.TestLogCapturePlugin.test_custom_formatter ... ok
  test_logcapture_plugin.TestLogCapturePlugin.test_default_options ... ok
  test_logcapture_plugin.TestLogCapturePlugin.test_disable_option ... ok
  test_logcapture_plugin.TestLogCapturePlugin.test_enabled_by_default ... ok
  test_logcapture_plugin.TestLogCapturePlugin.test_logging_datefmt_option ... ok
  test_logcapture_plugin.TestLogCapturePlugin.test_logging_filter ... ok
  test_logcapture_plugin.TestLogCapturePlugin.test_logging_filter_exclude ... ok
  test_logcapture_plugin.TestLogCapturePlugin.test_logging_filter_exclude_and_include ... ok
  test_logcapture_plugin.TestLogCapturePlugin.test_logging_format_option ... ok
  test_logcapture_plugin.TestLogCapturePlugin.test_loglevel ... ok
  test_logcapture_plugin.TestLogCapturePlugin.test_unicode_messages_handled ... ok
  test_isolation (test_logging.TestLoggingConfig)
  root logger settings ignored ... ok
  test_multiprocess.test_mp_process_args_pickleable ... ok
  test_next_batch_can_split_set (test_multiprocess_runner.TestMultiProcessTestRunner) ... ok
  test_next_batch_with_classes (test_multiprocess_runner.TestMultiProcessTestRunner) ... ok
  test_next_batch_with_generator_method (test_multiprocess_runner.TestMultiProcessTestRunner) ... ok
  test_next_batch_with_module (test_multiprocess_runner.TestMultiProcessTestRunner) ... ok
  test_next_batch_with_module_fixt (test_multiprocess_runner.TestMultiProcessTestRunner) ... ok
  test_command_line_options_enable (test_pdb_plugin.TestPdbPlugin) ... ok
  test_disabled_by_default (test_pdb_plugin.TestPdbPlugin) ... ok
  test_env_settings_enable (test_pdb_plugin.TestPdbPlugin) ... ok
  test_plugin_api (test_pdb_plugin.TestPdbPlugin) ... ok
  test_plugin_calls_pdb (test_pdb_plugin.TestPdbPlugin) ... ok
  test_real_stdout_restored_before_call (test_pdb_plugin.TestPdbPlugin) ... ok
  test_enable_plugin (test_plugin.OptionProcessingTests) ... ok
  test_api_methods_present (test_plugin_interfaces.TestPluginInterfaces) ... ok
  test_no_instantiate (test_plugin_interfaces.TestPluginInterfaces) ... ok
  test_iter (test_plugin_manager.TestPluginManager) ... ok
  test_plugin_generative_method_errors_not_hidden (test_plugin_manager.TestPluginManager) ... ok
  test_plugin_override (test_plugin_manager.TestPluginManager) ... ok
  test_proxy_to_plugins (test_plugin_manager.TestPluginManager) ... ok
  test_add_options (test_plugins.TestAttribPlugin) ... ok
  test_attr_a_b (test_plugins.TestAttribPlugin) ... ok
  test_basic_attr (test_plugins.TestAttribPlugin) ... ok
  test_class_attr (test_plugins.TestAttribPlugin) ... ok
  test_eval_attr (test_plugins.TestAttribPlugin) ... ok
  test_add_options (test_plugins.TestBuiltinPlugins) ... ok
  test_add_options (test_plugins.TestDoctestPlugin) ... ok
  test_addresses (test_plugins.TestDoctestPlugin) ... ok
  test_collect_no_collect (test_plugins.TestDoctestPlugin) ... ok
  test_collect_pymodule (test_plugins.TestDoctestPlugin) ... ok
  test_collect_txtfile (test_plugins.TestDoctestPlugin) ... ok
  test_config (test_plugins.TestDoctestPlugin) ... ok
  test_matches (test_plugins.TestDoctestPlugin) ... ok
  test_want_file (test_plugins.TestDoctestPlugin) ... ok
  test_formatFailure (test_plugins.TestFailureDetailPlugin) ... ok
  test_begin (test_plugins.TestProfPlugin) ... ok
  test_finalize (test_plugins.TestProfPlugin) ... ok
  test_options (test_plugins.TestProfPlugin) ... ok
  test_prepare_test (test_plugins.TestProfPlugin) ... ok
  test_attributes_are_proxied (test_result_proxy.TestResultProxy) ... ok
  test_coercion_of_custom_exception (test_result_proxy.TestResultProxy) ... ok
  test_proxy_calls_plugins (test_result_proxy.TestResultProxy) ... ok
  test_proxy_handles_missing_methods (test_result_proxy.TestResultProxy) ... ok
  test_proxy_has_basic_methods (test_result_proxy.TestResultProxy) ... ok
  test_proxy_has_nose_methods (test_result_proxy.TestResultProxy) ... ok
  test_proxy_proxies (test_result_proxy.TestResultProxy) ... ok
  test_stop_on_error (test_result_proxy.TestResultProxy) ... ok
  test_test_cases_can_access_result_attributes (test_result_proxy.TestResultProxy) ... ok
  test_exclude (test_selector.TestSelector) ... ok
  test_ignore_files_default (test_selector.TestSelector)
  A default configuration should always skip some 'hidden' files. ... ok
  test_ignore_files_override (test_selector.TestSelector)
  Override the configuration to skip only specified files. ... ok
  test_include (test_selector.TestSelector) ... ok
  test_want_class (test_selector.TestSelector) ... ok
  test_want_directory (test_selector.TestSelector) ... ok
  test_want_file (test_selector.TestSelector) ... ok
  test_want_function (test_selector.TestSelector) ... ok
  test_want_method (test_selector.TestSelector) ... ok
  test_want_module (test_selector.TestSelector) ... ok
  test_rejection (test_selector_plugins.TestSelectorPlugins) ... ok
  test_api_present (test_skip_plugin.TestSkipPlugin) ... ok
  test_can_be_disabled (test_skip_plugin.TestSkipPlugin) ... ok
  test_enabled_by_default (test_skip_plugin.TestSkipPlugin) ... ok
  test_patched_result_handles_skip (test_skip_plugin.TestSkipPlugin) ... ok
  test_patches_only_when_needed (test_skip_plugin.TestSkipPlugin) ... ok
  test_prepare_patches_result (test_skip_plugin.TestSkipPlugin) ... ok
  test_skip_output (test_skip_plugin.TestSkipPlugin) ... ok
  test_skip_output_verbose (test_skip_plugin.TestSkipPlugin) ... ok
  test_context_fixtures_called (test_suite.TestContextSuite) ... ok
  test_context_fixtures_for_ancestors (test_suite.TestContextSuite) ... ok
  test_context_fixtures_no_tests_no_setup (test_suite.TestContextSuite) ... ok
  test_context_fixtures_setup_fails (test_suite.TestContextSuite) ... ok
  test_nested_context_suites (test_suite.TestContextSuite)
  Nested suites don't re-wrap ... ok
  test_result_proxy_used (test_suite.TestContextSuite) ... ok
  test_tests_are_wrapped (test_suite.TestContextSuite)
  Tests in a context suite are wrapped ... ok
  test_ancestry (test_suite.TestContextSuiteFactory) ... ok
  test_lazy_and_nonlazy (test_suite.TestLazySuite) ... ok
  test_lazy_nonzero (test_suite.TestLazySuite)
  __nonzero__ works correctly for lazy suites ... ok
  test_test_generator (test_suite.TestLazySuite) ... ok
  test_decorator_func_sorting (test_tools.TestTools) ... ok
  test_eq (test_tools.TestTools) ... ok
  test_eq_unittest_flag (test_tools.TestTools)
  Make sure eq_() is in a namespace that has __unittest = 1. ... ok
  test_istest_unittest_flag (test_tools.TestTools)
  Make sure istest() is not in a namespace that has __unittest = 1. ... ok
  test_make_decorator (test_tools.TestTools) ... ok
  test_multiple_with_setup (test_tools.TestTools) ... ok
  test_nested_decorators (test_tools.TestTools) ... ok
  test_ok (test_tools.TestTools) ... ok
  test_raises (test_tools.TestTools) ... ok
  test_testcase_funcs (test_tools.TestTools) ... ok
  test_timed (test_tools.TestTools) ... ok
  Failure: SkipTest (twisted not available; skipping) ... SKIP: twisted not available; skipping
  Failure: SkipTest (twisted not available; skipping) ... SKIP: twisted not available; skipping
  test_file_like (test_utils.TestUtils) ... ok
  test_isclass_detects_classes (test_utils.TestUtils) ... ok
  test_isclass_ignores_nonclass_things (test_utils.TestUtils) ... ok
  test_split_test_name (test_utils.TestUtils) ... ok
  test_split_test_name_windows (test_utils.TestUtils) ... ok
  test_test_address (test_utils.TestUtils) ... ok
  test_tolist (test_utils.TestUtils) ... ok
  test_try_run (test_utils.TestUtils) ... ok
  test_defaults (test_xunit.TestOptions) ... ok
  test_file_from_environ (test_xunit.TestOptions) ... ok
  test_file_from_opt (test_xunit.TestOptions) ... ok
  test_dot_in_args (test_xunit.TestSplitId) ... ok
  test_grandchild_has_dot_in_args (test_xunit.TestSplitId) ... ok
  test_no_dot_in_args (test_xunit.TestSplitId) ... ok
  test_no_parenthesis (test_xunit.TestSplitId) ... ok
  test_addError (test_xunit.TestXMLOutputWithXML) ... ok
  test_addError_early (test_xunit.TestXMLOutputWithXML) ... ok
  test_addFailure (test_xunit.TestXMLOutputWithXML) ... ok
  test_addFailure_early (test_xunit.TestXMLOutputWithXML) ... ok
  test_addSuccess (test_xunit.TestXMLOutputWithXML) ... ok
  test_addSuccess_early (test_xunit.TestXMLOutputWithXML) ... ok
  test_non_utf8_error (test_xunit.TestXMLOutputWithXML) ... ok
  
  ======================================================================
  ERROR: runTest (test_coverage_plugin.TestCoverageMinPercentagePlugin)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/lamby/temp/cdt.20160626114958.j8vHDzQogT.nose/nose-1.3.7/functional_tests/test_coverage_plugin.py", line 74, in setUp
      super(TestCoverageMinPercentagePlugin, self).setUp)
  AssertionError: SystemExit not raised
  -------------------- >> begin captured stdout << ---------------------
  hi
  
  --------------------- >> end captured stdout << ----------------------
  
  ======================================================================
  ERROR: runTest (test_coverage_plugin.TestCoverageMinPercentageSinglePackagePlugin)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/lamby/temp/cdt.20160626114958.j8vHDzQogT.nose/nose-1.3.7/functional_tests/test_coverage_plugin.py", line 100, in setUp
      self).setUp)
  AssertionError: SystemExit not raised
  -------------------- >> begin captured stdout << ---------------------
  hi
  
  --------------------- >> end captured stdout << ----------------------
  
  ======================================================================
  ERROR: runTest (test_coverage_plugin.TestCoverageMinPercentageSinglePackageWithBranchesPlugin)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/lamby/temp/cdt.20160626114958.j8vHDzQogT.nose/nose-1.3.7/functional_tests/test_coverage_plugin.py", line 127, in setUp
      self).setUp)
  AssertionError: SystemExit not raised
  -------------------- >> begin captured stdout << ---------------------
  hi
  
  --------------------- >> end captured stdout << ----------------------
  
  ======================================================================
  FAIL: runTest (test_coverage_plugin.TestCoveragePlugin)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/lamby/temp/cdt.20160626114958.j8vHDzQogT.nose/nose-1.3.7/functional_tests/test_coverage_plugin.py", line 48, in runTest
      ("blah.py       4      3    25%   1, 5-6" in self.output))
  AssertionError: False is not true
  -------------------- >> begin captured stdout << ---------------------
  hi
  test_covered.test_blah ... ok
  
  Name      Stmts   Miss  Cover
  -----------------------------
  blah.py       4      3    25%
  ----------------------------------------------------------------------
  Ran 1 test in 0.003s
  
  OK
  
  
  --------------------- >> end captured stdout << ----------------------
  
  ----------------------------------------------------------------------
  Ran 351 tests in 11.495s
  
  FAILED (failures=1, errors=3, skipped=7)
  /usr/lib/python2.7/multiprocessing/connection.py:430: RuntimeWarning: Parent module 'multiprocessing' not found while handling absolute import
    import hmac
  /usr/lib/python2.7/multiprocessing/connection.py:417: RuntimeWarning: Parent module 'multiprocessing' not found while handling absolute import
    import hmac
  debian/rules:25: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 1
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160626114958.j8vHDzQogT.nose/nose-1.3.7'
  debian/rules:14: recipe for target 'build' failed
  make: *** [build] Error 2

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nose.1.3.7-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 11093 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20160626/7ef240a0/attachment-0001.obj>


More information about the Python-modules-team mailing list