Created
November 20, 2013 13:54
-
-
Save canismarko/7563541 to your computer and use it in GitHub Desktop.
Failed tests for python development (test.test_logging)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-*- mode: compilation; default-directory: "~/src/cpython/Lib/test/" -*- | |
Compilation started at Wed Nov 20 08:35:57 | |
~/src/cpython/python -m test -v -j3 test_logging | |
== CPython 3.4.0a4+ (default:1300d94d6e88, Nov 19 2013, 20:02:15) [GCC 4.8.2] | |
== Linux-3.11.6-1-ARCH-x86_64-with-arch little-endian | |
== /home/mwolf/src/cpython/build/test_python_12750 | |
Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=0, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=1, isolated=0) | |
[1/1/1] test_logging | |
test_flat (test.test_logging.BuiltinLevelsTest) ... ok | |
test_nested_explicit (test.test_logging.BuiltinLevelsTest) ... ok | |
test_nested_inherited (test.test_logging.BuiltinLevelsTest) ... ok | |
test_nested_with_virtual_parent (test.test_logging.BuiltinLevelsTest) ... ok | |
test_callable_filter (test.test_logging.BasicFilterTest) ... ok | |
test_empty_filter (test.test_logging.BasicFilterTest) ... ok | |
test_filter (test.test_logging.BasicFilterTest) ... ok | |
test_handler_filter (test.test_logging.CustomLevelsAndFiltersTest) ... ok | |
test_logger_filter (test.test_logging.CustomLevelsAndFiltersTest) ... ok | |
test_specific_filters (test.test_logging.CustomLevelsAndFiltersTest) ... ok | |
test_builtin_handlers (test.test_logging.HandlerTest) ... ok | |
test_name (test.test_logging.HandlerTest) ... ok | |
test_race (test.test_logging.HandlerTest) ... ok | |
test_flush (test.test_logging.MemoryHandlerTest) ... ok | |
test_config0_ok (test.test_logging.ConfigFileTest) ... ok | |
test_config0_using_cp_ok (test.test_logging.ConfigFileTest) ... ok | |
test_config1_ok (test.test_logging.ConfigFileTest) ... ok | |
test_config2_failure (test.test_logging.ConfigFileTest) ... ok | |
test_config3_failure (test.test_logging.ConfigFileTest) ... ok | |
test_config4_ok (test.test_logging.ConfigFileTest) ... ok | |
test_config5_ok (test.test_logging.ConfigFileTest) ... ok | |
test_config6_ok (test.test_logging.ConfigFileTest) ... ok | |
test_config7_ok (test.test_logging.ConfigFileTest) ... ok | |
test_logger_disabling (test.test_logging.ConfigFileTest) ... ok | |
test_noserver (test.test_logging.SocketHandlerTest) ... ok | |
test_output (test.test_logging.SocketHandlerTest) ... ok | |
test_output (test.test_logging.DatagramHandlerTest) ... ok | |
test_persistent_loggers (test.test_logging.MemoryTest) ... ok | |
test_encoding_cyrillic_unicode (test.test_logging.EncodingTest) ... ok | |
test_encoding_plain_file (test.test_logging.EncodingTest) ... ok | |
test_warnings (test.test_logging.WarningsTest) ... ok | |
test_warnings_no_handlers (test.test_logging.WarningsTest) ... ok | |
test_baseconfig (test.test_logging.ConfigDictTest) ... ok | |
test_config0_ok (test.test_logging.ConfigDictTest) ... ok | |
test_config11_ok (test.test_logging.ConfigDictTest) ... ok | |
test_config12_failure (test.test_logging.ConfigDictTest) ... ok | |
test_config13_failure (test.test_logging.ConfigDictTest) ... ok | |
test_config14_ok (test.test_logging.ConfigDictTest) ... ok | |
test_config1_ok (test.test_logging.ConfigDictTest) ... ok | |
test_config2_failure (test.test_logging.ConfigDictTest) ... ok | |
test_config2a_failure (test.test_logging.ConfigDictTest) ... ok | |
test_config2b_failure (test.test_logging.ConfigDictTest) ... ok | |
test_config3_failure (test.test_logging.ConfigDictTest) ... ok | |
test_config4_ok (test.test_logging.ConfigDictTest) ... ok | |
test_config4a_ok (test.test_logging.ConfigDictTest) ... ok | |
test_config5_ok (test.test_logging.ConfigDictTest) ... ok | |
test_config6_failure (test.test_logging.ConfigDictTest) ... ok | |
test_config7_ok (test.test_logging.ConfigDictTest) ... ok | |
test_config_10_ok (test.test_logging.ConfigDictTest) ... ok | |
test_config_8_ok (test.test_logging.ConfigDictTest) ... ok | |
test_config_8a_ok (test.test_logging.ConfigDictTest) ... ok | |
test_config_9_ok (test.test_logging.ConfigDictTest) ... ok | |
test_listen_config_10_ok (test.test_logging.ConfigDictTest) ... ok | |
test_listen_config_1_ok (test.test_logging.ConfigDictTest) ... ok | |
test_listen_verify (test.test_logging.ConfigDictTest) ... ok | |
test_out_of_order (test.test_logging.ConfigDictTest) ... ok | |
test_manager_loggerclass (test.test_logging.ManagerTest) ... ok | |
test_set_log_record_factory (test.test_logging.ManagerTest) ... ok | |
test_braces (test.test_logging.FormatterTest) ... ok | |
test_dollars (test.test_logging.FormatterTest) ... ok | |
test_invalid_style (test.test_logging.FormatterTest) ... ok | |
test_percent (test.test_logging.FormatterTest) ... ok | |
test_time (test.test_logging.FormatterTest) ... ok | |
test_custom (test.test_logging.BufferingFormatterTest) ... ok | |
test_default (test.test_logging.BufferingFormatterTest) ... ok | |
test_error_handling (test.test_logging.StreamHandlerTest) ... ok | |
test_logrecord_class (test.test_logging.LogRecordFactoryTest) ... ok | |
test_child_loggers (test.test_logging.ChildLoggerTest) ... ok | |
test_queue_handler (test.test_logging.QueueHandlerTest) ... ok | |
test_queue_listener (test.test_logging.QueueHandlerTest) ... ok | |
test_no_failure (test.test_logging.ShutdownTest) ... ok | |
test_with_ioerror_in_acquire (test.test_logging.ShutdownTest) ... ok | |
test_with_ioerror_in_close (test.test_logging.ShutdownTest) ... ok | |
test_with_ioerror_in_flush (test.test_logging.ShutdownTest) ... ok | |
test_with_other_error_in_acquire_with_raise (test.test_logging.ShutdownTest) ... ok | |
test_with_other_error_in_acquire_without_raise (test.test_logging.ShutdownTest) ... ok | |
test_with_other_error_in_close_with_raise (test.test_logging.ShutdownTest) ... ok | |
test_with_other_error_in_close_without_raise (test.test_logging.ShutdownTest) ... ok | |
test_with_other_error_in_flush_with_raise (test.test_logging.ShutdownTest) ... ok | |
test_with_other_error_in_flush_without_raise (test.test_logging.ShutdownTest) ... ok | |
test_with_valueerror_in_acquire (test.test_logging.ShutdownTest) ... ok | |
test_with_valueerror_in_close (test.test_logging.ShutdownTest) ... ok | |
test_with_valueerror_in_flush (test.test_logging.ShutdownTest) ... ok | |
test_critical (test.test_logging.ModuleLevelMiscTest) ... ok | |
test_debug (test.test_logging.ModuleLevelMiscTest) ... ok | |
test_disable (test.test_logging.ModuleLevelMiscTest) ... ok | |
test_error (test.test_logging.ModuleLevelMiscTest) ... ok | |
test_info (test.test_logging.ModuleLevelMiscTest) ... ok | |
test_log (test.test_logging.ModuleLevelMiscTest) ... ok | |
test_set_logger_class (test.test_logging.ModuleLevelMiscTest) ... ok | |
test_warning (test.test_logging.ModuleLevelMiscTest) ... ok | |
test_critical (test.test_logging.BasicConfigTest) ... ok | |
test_datefmt (test.test_logging.BasicConfigTest) ... ok | |
test_debug (test.test_logging.BasicConfigTest) ... ok | |
test_error (test.test_logging.BasicConfigTest) ... ok | |
test_filemode (test.test_logging.BasicConfigTest) ... ok | |
test_filename (test.test_logging.BasicConfigTest) ... ok | |
test_format (test.test_logging.BasicConfigTest) ... ok | |
test_handlers (test.test_logging.BasicConfigTest) ... ok | |
test_incompatible (test.test_logging.BasicConfigTest) ... ok | |
test_info (test.test_logging.BasicConfigTest) ... ok | |
test_level (test.test_logging.BasicConfigTest) ... ok | |
test_log (test.test_logging.BasicConfigTest) ... ok | |
test_no_kwargs (test.test_logging.BasicConfigTest) ... ok | |
test_stream (test.test_logging.BasicConfigTest) ... ok | |
test_style (test.test_logging.BasicConfigTest) ... ok | |
test_warning (test.test_logging.BasicConfigTest) ... ok | |
test_critical (test.test_logging.LoggerAdapterTest) ... ok | |
test_exception (test.test_logging.LoggerAdapterTest) ... ok | |
test_has_handlers (test.test_logging.LoggerAdapterTest) ... ok | |
test_is_enabled_for (test.test_logging.LoggerAdapterTest) ... ok | |
test_exception (test.test_logging.LoggerTest) ... ok | |
test_find_caller_with_stack_info (test.test_logging.LoggerTest) ... ok | |
test_has_handlers (test.test_logging.LoggerTest) ... ok | |
test_has_handlers_no_propagate (test.test_logging.LoggerTest) ... ok | |
test_invalid_names (test.test_logging.LoggerTest) ... ok | |
test_is_enabled_for (test.test_logging.LoggerTest) ... ok | |
test_log_invalid_level_no_raise (test.test_logging.LoggerTest) ... ok | |
test_log_invalid_level_with_raise (test.test_logging.LoggerTest) ... ok | |
test_make_record_with_extra_no_overwrite (test.test_logging.LoggerTest) ... ok | |
test_make_record_with_extra_overwrite (test.test_logging.LoggerTest) ... ok | |
test_root_logger_aliases (test.test_logging.LoggerTest) ... ok | |
test_set_invalid_level (test.test_logging.LoggerTest) ... ok | |
test_basic (test.test_logging.SMTPHandlerTest) ... FAIL | |
test_delay (test.test_logging.FileHandlerTest) ... ok | |
test_file_created (test.test_logging.RotatingFileHandlerTest) ... ok | |
test_rollover_filenames (test.test_logging.RotatingFileHandlerTest) ... ok | |
test_rotator (test.test_logging.RotatingFileHandlerTest) ... ok | |
test_should_not_rollover (test.test_logging.RotatingFileHandlerTest) ... ok | |
test_should_rollover (test.test_logging.RotatingFileHandlerTest) ... ok | |
test_last_resort (test.test_logging.LastResortTest) ... ok | |
test_dict_arg (test.test_logging.LogRecordTest) ... ok | |
test_multiprocessing (test.test_logging.LogRecordTest) ... ok | |
test_optional (test.test_logging.LogRecordTest) ... ok | |
test_str_rep (test.test_logging.LogRecordTest) ... ok | |
test_formatting (test.test_logging.ExceptionTest) ... ok | |
test_output (test.test_logging.SysLogHandlerTest) ... ok | |
test_output (test.test_logging.HTTPHandlerTest) ... ok | |
test_basic (test.test_logging.NTEventLogHandlerTest) ... skipped 'win32evtlog/win32evtlogutil required for this test.' | |
test_compute_rollover_D (test.test_logging.TimedRotatingFileHandlerTest) ... ok | |
test_compute_rollover_H (test.test_logging.TimedRotatingFileHandlerTest) ... ok | |
test_compute_rollover_M (test.test_logging.TimedRotatingFileHandlerTest) ... ok | |
test_compute_rollover_MIDNIGHT (test.test_logging.TimedRotatingFileHandlerTest) ... ok | |
test_compute_rollover_S (test.test_logging.TimedRotatingFileHandlerTest) ... ok | |
test_compute_rollover_W0 (test.test_logging.TimedRotatingFileHandlerTest) ... ok | |
test_compute_rollover_daily_attime (test.test_logging.TimedRotatingFileHandlerTest) ... ok | |
test_compute_rollover_weekly_attime (test.test_logging.TimedRotatingFileHandlerTest) ... ok | |
test_invalid (test.test_logging.TimedRotatingFileHandlerTest) ... ok | |
test_rollover (test.test_logging.TimedRotatingFileHandlerTest) ... ok | |
test_noserver (test.test_logging.UnixSocketHandlerTest) ... ok | |
test_output (test.test_logging.UnixSocketHandlerTest) ... ok | |
test_output (test.test_logging.UnixDatagramHandlerTest) ... ok | |
test_output (test.test_logging.UnixSysLogHandlerTest) ... ok | |
====================================================================== | |
FAIL: test_basic (test.test_logging.SMTPHandlerTest) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/mwolf/src/cpython/Lib/test/test_logging.py", line 929, in test_basic | |
self.assertTrue(self.handled.is_set()) | |
AssertionError: False is not true | |
---------------------------------------------------------------------- | |
Ran 153 tests in 29.680s | |
FAILED (failures=1, skipped=1) | |
--- Logging error --- | |
Traceback (most recent call last): | |
File "/home/mwolf/src/cpython/Lib/smtplib.py", line 367, in getreply | |
line = self.file.readline() | |
File "/home/mwolf/src/cpython/Lib/socket.py", line 371, in readinto | |
return self._sock.recv_into(b) | |
socket.timeout: timed out | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/mwolf/src/cpython/Lib/logging/handlers.py", line 971, in emit | |
smtp = smtplib.SMTP(self.mailhost, port, timeout=self.timeout) | |
File "/home/mwolf/src/cpython/Lib/smtplib.py", line 240, in __init__ | |
(code, msg) = self.connect(host, port) | |
File "/home/mwolf/src/cpython/Lib/smtplib.py", line 321, in connect | |
(code, msg) = self.getreply() | |
File "/home/mwolf/src/cpython/Lib/smtplib.py", line 371, in getreply | |
+ str(e)) | |
smtplib.SMTPServerDisconnected: Connection unexpectedly closed: timed out | |
Call stack: | |
File "/home/mwolf/src/cpython/Lib/runpy.py", line 160, in _run_module_as_main | |
"__main__", fname, loader, pkg_name) | |
File "/home/mwolf/src/cpython/Lib/runpy.py", line 73, in _run_code | |
exec(code, run_globals) | |
File "/home/mwolf/src/cpython/Lib/test/regrtest.py", line 1585, in <module> | |
main_in_temp_cwd() | |
File "/home/mwolf/src/cpython/Lib/test/regrtest.py", line 1560, in main_in_temp_cwd | |
main() | |
File "/home/mwolf/src/cpython/Lib/test/regrtest.py", line 532, in main | |
result = runtest(*args, **kwargs) | |
File "/home/mwolf/src/cpython/Lib/test/regrtest.py", line 976, in runtest | |
display_failure=not verbose) | |
File "/home/mwolf/src/cpython/Lib/test/regrtest.py", line 1276, in runtest_inner | |
test_runner() | |
File "/home/mwolf/src/cpython/Lib/test/support/__init__.py", line 1412, in inner | |
return func(*args, **kwds) | |
File "/home/mwolf/src/cpython/Lib/test/test_logging.py", line 4122, in test_main | |
UnixDatagramHandlerTest, UnixSysLogHandlerTest | |
File "/home/mwolf/src/cpython/Lib/test/support/__init__.py", line 1719, in run_unittest | |
_run_suite(suite) | |
File "/home/mwolf/src/cpython/Lib/test/support/__init__.py", line 1685, in _run_suite | |
result = runner.run(suite) | |
File "/home/mwolf/src/cpython/Lib/unittest/runner.py", line 168, in run | |
test(result) | |
File "/home/mwolf/src/cpython/Lib/unittest/suite.py", line 79, in __call__ | |
return self.run(*args, **kwds) | |
File "/home/mwolf/src/cpython/Lib/unittest/suite.py", line 117, in run | |
test(result) | |
File "/home/mwolf/src/cpython/Lib/unittest/suite.py", line 79, in __call__ | |
return self.run(*args, **kwds) | |
File "/home/mwolf/src/cpython/Lib/unittest/suite.py", line 117, in run | |
test(result) | |
File "/home/mwolf/src/cpython/Lib/unittest/case.py", line 610, in __call__ | |
return self.run(*args, **kwds) | |
File "/home/mwolf/src/cpython/Lib/unittest/case.py", line 571, in run | |
testMethod() | |
File "/home/mwolf/src/cpython/Lib/test/test_logging.py", line 926, in test_basic | |
h.handle(r) | |
Message: 'Hello' | |
Arguments: () | |
test test_logging failed | |
1 test failed: | |
test_logging | |
Compilation exited abnormally with code 1 at Wed Nov 20 08:36:28 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment