Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 715266 Details for
Bug 795411
dev-python/watchdog-2.1.2 fails test on big endian
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log for sparc
build.log (text/x-log), 56.22 KB, created by
Rolf Eike Beer
on 2021-06-11 13:57:51 UTC
(
hide
)
Description:
build.log for sparc
Filename:
MIME Type:
Creator:
Rolf Eike Beer
Created:
2021-06-11 13:57:51 UTC
Size:
56.22 KB
patch
obsolete
>[32;01m * [39;49;00mPackage: dev-python/watchdog-2.1.2 >[32;01m * [39;49;00mRepository: gentoo >[32;01m * [39;49;00mMaintainer: python@gentoo.org >[32;01m * [39;49;00mUSE: elibc_glibc kernel_linux python_targets_python3_9 sparc test userland_GNU >[32;01m * [39;49;00mFEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking watchdog-2.1.2.tar.gz to /var/tmp/portage/dev-python/watchdog-2.1.2/work >>>> Source unpacked in /var/tmp/portage/dev-python/watchdog-2.1.2/work >>>> Preparing source in /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2 ... > [32;01m*[0m python3_9: running distutils-r1_run_phase distutils-r1_python_compile >python3.9 setup.py build -j 20 >/usr/lib/python3.9/site-packages/setuptools/dist.py:633: UserWarning: Usage of dash-separated 'source-dir' will not be supported in future versions. Please use the underscore name 'source_dir' instead > warnings.warn( >/usr/lib/python3.9/site-packages/setuptools/dist.py:633: UserWarning: Usage of dash-separated 'build-dir' will not be supported in future versions. Please use the underscore name 'build_dir' instead > warnings.warn( >/usr/lib/python3.9/site-packages/setuptools/dist.py:633: UserWarning: Usage of dash-separated 'max-line-length' will not be supported in future versions. Please use the underscore name 'max_line_length' instead > warnings.warn( >/usr/lib/python3.9/site-packages/setuptools/dist.py:633: UserWarning: Usage of dash-separated 'upload-dir' will not be supported in future versions. Please use the underscore name 'upload_dir' instead > warnings.warn( >/usr/lib/python3.9/site-packages/setuptools/dist.py:633: UserWarning: Usage of dash-separated 'source-dir' will not be supported in future versions. Please use the underscore name 'source_dir' instead > warnings.warn( >/usr/lib/python3.9/site-packages/setuptools/dist.py:633: UserWarning: Usage of dash-separated 'build-dir' will not be supported in future versions. Please use the underscore name 'build_dir' instead > warnings.warn( >/usr/lib/python3.9/site-packages/setuptools/dist.py:633: UserWarning: Usage of dash-separated 'max-line-length' will not be supported in future versions. Please use the underscore name 'max_line_length' instead > warnings.warn( >/usr/lib/python3.9/site-packages/setuptools/dist.py:633: UserWarning: Usage of dash-separated 'upload-dir' will not be supported in future versions. Please use the underscore name 'upload_dir' instead > warnings.warn( >running build >running build_py >creating /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2-python3_9/lib/watchdog >copying src/watchdog/__init__.py -> /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2-python3_9/lib/watchdog >copying src/watchdog/watchmedo.py -> /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2-python3_9/lib/watchdog >copying src/watchdog/events.py -> /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2-python3_9/lib/watchdog >copying src/watchdog/version.py -> /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2-python3_9/lib/watchdog >creating /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2-python3_9/lib/watchdog/utils >copying src/watchdog/utils/bricks.py -> /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2-python3_9/lib/watchdog/utils >copying src/watchdog/utils/dirsnapshot.py -> /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2-python3_9/lib/watchdog/utils >copying src/watchdog/utils/__init__.py -> /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2-python3_9/lib/watchdog/utils >copying src/watchdog/utils/platform.py -> /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2-python3_9/lib/watchdog/utils >copying src/watchdog/utils/echo.py -> /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2-python3_9/lib/watchdog/utils >copying src/watchdog/utils/patterns.py -> /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2-python3_9/lib/watchdog/utils >copying src/watchdog/utils/delayed_queue.py -> /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2-python3_9/lib/watchdog/utils >creating /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2-python3_9/lib/watchdog/tricks >copying src/watchdog/tricks/__init__.py -> /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2-python3_9/lib/watchdog/tricks >creating /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2-python3_9/lib/watchdog/observers >copying src/watchdog/observers/__init__.py -> /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2-python3_9/lib/watchdog/observers >copying src/watchdog/observers/inotify.py -> /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2-python3_9/lib/watchdog/observers >copying src/watchdog/observers/api.py -> /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2-python3_9/lib/watchdog/observers >copying src/watchdog/observers/fsevents2.py -> /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2-python3_9/lib/watchdog/observers >copying src/watchdog/observers/fsevents.py -> /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2-python3_9/lib/watchdog/observers >copying src/watchdog/observers/read_directory_changes.py -> /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2-python3_9/lib/watchdog/observers >copying src/watchdog/observers/inotify_c.py -> /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2-python3_9/lib/watchdog/observers >copying src/watchdog/observers/winapi.py -> /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2-python3_9/lib/watchdog/observers >copying src/watchdog/observers/kqueue.py -> /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2-python3_9/lib/watchdog/observers >copying src/watchdog/observers/polling.py -> /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2-python3_9/lib/watchdog/observers >copying src/watchdog/observers/inotify_buffer.py -> /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2-python3_9/lib/watchdog/observers >running egg_info >creating src/watchdog.egg-info >writing src/watchdog.egg-info/PKG-INFO >writing dependency_links to src/watchdog.egg-info/dependency_links.txt >writing entry points to src/watchdog.egg-info/entry_points.txt >writing requirements to src/watchdog.egg-info/requires.txt >writing top-level names to src/watchdog.egg-info/top_level.txt >writing manifest file 'src/watchdog.egg-info/SOURCES.txt' >reading manifest file 'src/watchdog.egg-info/SOURCES.txt' >reading manifest template 'MANIFEST.in' >warning: no files found matching '*.h' under directory 'src' >writing manifest file 'src/watchdog.egg-info/SOURCES.txt' >warning: build_py: byte-compiling is disabled, skipping. > >>>> Source compiled. >>>> Test phase: dev-python/watchdog-2.1.2 > [32;01m*[0m python3_9: running distutils-r1_run_phase python_test >python3.9 -m pytest -vv -ra -l -p no:django >======================================================================================================== test session starts ========================================================================================================= >platform linux -- Python 3.9.1, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3.9 >cachedir: .pytest_cache >hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2/.hypothesis/examples') >rootdir: /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2, configfile: setup.cfg >plugins: virtualenv-1.7.0, subtests-0.4.0, xdist-2.2.1, hypothesis-6.8.1, forked-1.3.0, shutil-1.7.0, timeout-1.4.2 >collecting ... collected 106 items / 2 skipped / 104 selected > >tests/test_delayed_queue.py::test_delayed_get PASSED [ 0%] >tests/test_delayed_queue.py::test_nondelayed_get PASSED [ 1%] >tests/test_emitter.py::test_create PASSED [ 2%] >tests/test_emitter.py::test_close PASSED [ 3%] >tests/test_emitter.py::test_create_wrong_encoding PASSED [ 4%] >tests/test_emitter.py::test_delete PASSED [ 5%] >tests/test_emitter.py::test_modify PASSED [ 6%] >tests/test_emitter.py::test_move PASSED [ 7%] >tests/test_emitter.py::test_case_change PASSED [ 8%] >tests/test_emitter.py::test_move_to PASSED [ 9%] >tests/test_emitter.py::test_move_to_full PASSED [ 10%] >tests/test_emitter.py::test_move_from PASSED [ 11%] >tests/test_emitter.py::test_move_from_full PASSED [ 12%] >tests/test_emitter.py::test_separate_consecutive_moves PASSED [ 13%] >tests/test_emitter.py::test_delete_self PASSED [ 14%] >tests/test_emitter.py::test_fast_subdirectory_creation_deletion PASSED [ 15%] >tests/test_emitter.py::test_passing_unicode_should_give_unicode PASSED [ 16%] >tests/test_emitter.py::test_passing_bytes_should_give_bytes PASSED [ 16%] >tests/test_emitter.py::test_recursive_on PASSED [ 17%] >tests/test_emitter.py::test_recursive_off PASSED [ 18%] >tests/test_emitter.py::test_renaming_top_level_directory PASSED [ 19%] >tests/test_emitter.py::test_renaming_top_level_directory_on_windows SKIPPED (Non-Windows create another set of events for this test) [ 20%] >tests/test_emitter.py::test_move_nested_subdirectories PASSED [ 21%] >tests/test_emitter.py::test_move_nested_subdirectories_on_windows SKIPPED (Non-Windows create another set of events for this test) [ 22%] >tests/test_emitter.py::test_file_lifecyle PASSED [ 23%] >tests/test_events.py::test_file_deleted_event PASSED [ 24%] >tests/test_events.py::test_file_delete_event_is_directory PASSED [ 25%] >tests/test_events.py::test_file_modified_event PASSED [ 26%] >tests/test_events.py::test_file_modified_event_is_directory PASSED [ 27%] >tests/test_events.py::test_file_created_event PASSED [ 28%] >tests/test_events.py::test_file_moved_event PASSED [ 29%] >tests/test_events.py::test_file_closed_event PASSED [ 30%] >tests/test_events.py::test_dir_deleted_event PASSED [ 31%] >tests/test_events.py::test_dir_modified_event PASSED [ 32%] >tests/test_events.py::test_dir_created_event PASSED [ 33%] >tests/test_events.py::test_file_system_event_handler_dispatch PASSED [ 33%] >tests/test_inotify_buffer.py::test_move_from PASSED [ 34%] >tests/test_inotify_buffer.py::test_move_to PASSED [ 35%] >tests/test_inotify_buffer.py::test_move_internal PASSED [ 36%] >tests/test_inotify_buffer.py::test_move_internal ERROR [ 36%] >tests/test_inotify_buffer.py::test_move_internal_batch PASSED [ 37%] >tests/test_inotify_buffer.py::test_delete_watched_directory PASSED [ 38%] >tests/test_inotify_buffer.py::test_close_should_terminate_thread PASSED [ 39%] >tests/test_inotify_buffer.py::test_close_should_terminate_thread ERROR [ 39%] >tests/test_inotify_c.py::test_late_double_deletion FAILED [ 40%] >tests/test_inotify_c.py::test_late_double_deletion ERROR [ 40%] >tests/test_inotify_c.py::test_raise_error PASSED [ 41%] >tests/test_inotify_c.py::test_raise_error ERROR [ 41%] >tests/test_inotify_c.py::test_non_ascii_path PASSED [ 42%] >tests/test_inotify_c.py::test_watch_file PASSED [ 43%] >tests/test_logging_event_handler.py::test_logging_event_handler_dispatch PASSED [ 44%] >tests/test_observer.py::test_schedule_should_start_emitter_if_running PASSED [ 45%] >tests/test_observer.py::test_schedule_should_not_start_emitter_if_not_running PASSED [ 46%] >tests/test_observer.py::test_start_should_start_emitter PASSED [ 47%] >tests/test_observer.py::test_stop_should_stop_emitter PASSED [ 48%] >tests/test_observer.py::test_unschedule_self PASSED [ 49%] >tests/test_observer.py::test_schedule_after_unschedule_all PASSED [ 50%] >tests/test_observer.py::test_2_observers_on_the_same_path PASSED [ 50%] >tests/test_observer.py::test_start_failure_should_not_prevent_further_try PASSED [ 51%] >tests/test_observers_api.py::test_observer_constructor PASSED [ 52%] >tests/test_observers_api.py::test_observer__eq__ PASSED [ 53%] >tests/test_observers_api.py::test_observer__ne__ PASSED [ 54%] >tests/test_observers_api.py::test_observer__repr__ PASSED [ 55%] >tests/test_observers_api.py::test_event_emitter PASSED [ 56%] >tests/test_observers_api.py::test_event_dispatcher PASSED [ 57%] >tests/test_observers_api.py::test_observer_basic PASSED [ 58%] >tests/test_observers_polling.py::test___init__ PASSED [ 59%] >tests/test_observers_polling.py::test_delete_watched_dir PASSED [ 60%] >tests/test_pattern_matching_event_handler.py::test_dispatch PASSED [ 61%] >tests/test_pattern_matching_event_handler.py::test_handler PASSED [ 62%] >tests/test_pattern_matching_event_handler.py::test_ignore_directories PASSED [ 63%] >tests/test_pattern_matching_event_handler.py::test_ignore_patterns PASSED [ 64%] >tests/test_pattern_matching_event_handler.py::test_patterns PASSED [ 65%] >tests/test_patterns.py::test_match_path[/users/gorakhargosh/foobar.py-included_patterns0-excluded_patterns0-True-True] PASSED [ 66%] >tests/test_patterns.py::test_match_path[/users/gorakhargosh/foobar.py-included_patterns1-excluded_patterns1-True-True] PASSED [ 66%] >tests/test_patterns.py::test_match_path[/users/gorakhargosh/-included_patterns2-excluded_patterns2-False-False] PASSED [ 67%] >tests/test_patterns.py::test_match_path[/users/gorakhargosh/foobar.py-included_patterns3-excluded_patterns3-False-ValueError] PASSED [ 68%] >tests/test_patterns.py::test_filter_paths[None-None-True-None] PASSED [ 69%] >tests/test_patterns.py::test_filter_paths[None-None-False-None] PASSED [ 70%] >tests/test_patterns.py::test_filter_paths[included_patterns2-excluded_patterns2-True-expected2] PASSED [ 71%] >tests/test_patterns.py::test_match_any_paths[None-None-True-True] PASSED [ 72%] >tests/test_patterns.py::test_match_any_paths[None-None-False-True] PASSED [ 73%] >tests/test_patterns.py::test_match_any_paths[included_patterns2-excluded_patterns2-True-True] PASSED [ 74%] >tests/test_patterns.py::test_match_any_paths[included_patterns3-None-False-False] PASSED [ 75%] >tests/test_patterns.py::test_match_any_paths[included_patterns4-None-True-False] PASSED [ 76%] >tests/test_regex_matching_event_handler.py::test_dispatch PASSED [ 77%] >tests/test_regex_matching_event_handler.py::test_handler PASSED [ 78%] >tests/test_regex_matching_event_handler.py::test_ignore_directories PASSED [ 79%] >tests/test_regex_matching_event_handler.py::test_ignore_regexes PASSED [ 80%] >tests/test_regex_matching_event_handler.py::test_regexes PASSED [ 81%] >tests/test_regex_matching_event_handler.py::test_logging_event_handler_dispatch PASSED [ 82%] >tests/test_skip_repeats_queue.py::test_basic_queue PASSED [ 83%] >tests/test_skip_repeats_queue.py::test_allow_nonconsecutive PASSED [ 83%] >tests/test_skip_repeats_queue.py::test_prevent_consecutive PASSED [ 84%] >tests/test_skip_repeats_queue.py::test_consecutives_allowed_across_empties PASSED [ 85%] >tests/test_skip_repeats_queue.py::test_eventlet_monkey_patching SKIPPED (eventlet not installed) [ 86%] >tests/test_snapshot_diff.py::test_pickle PASSED [ 87%] >tests/test_snapshot_diff.py::test_move_to PASSED [ 88%] >tests/test_snapshot_diff.py::test_move_from PASSED [ 89%] >tests/test_snapshot_diff.py::test_move_internal PASSED [ 90%] >tests/test_snapshot_diff.py::test_move_replace PASSED [ 91%] >tests/test_snapshot_diff.py::test_dir_modify_on_create PASSED [ 92%] >tests/test_snapshot_diff.py::test_dir_modify_on_move PASSED [ 93%] >tests/test_snapshot_diff.py::test_detect_modify_for_moved_files PASSED [ 94%] >tests/test_snapshot_diff.py::test_replace_dir_with_file PASSED [ 95%] >tests/test_snapshot_diff.py::test_permission_error PASSED [ 96%] >tests/test_snapshot_diff.py::test_ignore_device PASSED [ 97%] >tests/test_snapshot_diff.py::test_empty_snapshot PASSED [ 98%] >tests/test_watchmedo.py::test_load_config_valid PASSED [ 99%] >tests/test_watchmedo.py::test_load_config_invalid PASSED [100%] > >=============================================================================================================== ERRORS =============================================================================================================== >______________________________________________________________________________________________ ERROR at teardown of test_move_internal _______________________________________________________________________________________________ > >recwarn = WarningsRecorder(record=True) > > @pytest.fixture(autouse=True) > def no_warnings(recwarn): > """Fail on warning.""" > > yield > > warnings = [] > for warning in recwarn: # pragma: no cover > message = str(warning.message) > filename = warning.filename > if ( > "Not importing directory" in message > or "Using or importing the ABCs" in message > or "dns.hash module will be removed in future versions" in message > or ("eventlet" in filename and "eventlet" in filename) > ): > continue > warnings.append("{w.filename}:{w.lineno} {w.message}".format(w=warning)) >> assert not warnings >E AssertionError: assert not ['/usr/lib/python3.9/site-packages/_pytest/threadexception.py:75 Exception in thread Thread-45\n\nTraceback (most rece...ead_events\n event_buffer = os.read(self._inotify_fd, event_buffer_size)\nOSError: [Errno 9] Bad file descriptor\n'] > >filename = '/usr/lib/python3.9/site-packages/_pytest/threadexception.py' >message = ('Exception in thread Thread-45\n' > '\n' > 'Traceback (most recent call last):\n' > ' File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner\n' > ' self.run()\n' > ' File ' > '"/var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2-python3_9/lib/watchdog/observers/inotify_buffer.py", ' > 'line 88, in run\n' > ' inotify_events = self._inotify.read_events()\n' > ' File ' > '"/var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2-python3_9/lib/watchdog/observers/inotify_c.py", ' > 'line 285, in read_events\n' > ' event_buffer = os.read(self._inotify_fd, event_buffer_size)\n' > 'OSError: [Errno 9] Bad file descriptor\n') >recwarn = WarningsRecorder(record=True) >warning = <warnings.WarningMessage object at 0xf5bb23a0> >warnings = ['/usr/lib/python3.9/site-packages/_pytest/threadexception.py:75 Exception in ' > 'thread Thread-45\n' > '\n' > 'Traceback (most recent call last):\n' > ' File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner\n' > ' self.run()\n' > ' File ' > '"/var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2-python3_9/lib/watchdog/observers/inotify_buffer.py", ' > 'line 88, in run\n' > ' inotify_events = self._inotify.read_events()\n' > ' File ' > '"/var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2-python3_9/lib/watchdog/observers/inotify_c.py", ' > 'line 285, in read_events\n' > ' event_buffer = os.read(self._inotify_fd, event_buffer_size)\n' > 'OSError: [Errno 9] Bad file descriptor\n'] > >tests/conftest.py:55: AssertionError >______________________________________________________________________________________ ERROR at teardown of test_close_should_terminate_thread _______________________________________________________________________________________ > >recwarn = WarningsRecorder(record=True) > > @pytest.fixture(autouse=True) > def no_warnings(recwarn): > """Fail on warning.""" > > yield > > warnings = [] > for warning in recwarn: # pragma: no cover > message = str(warning.message) > filename = warning.filename > if ( > "Not importing directory" in message > or "Using or importing the ABCs" in message > or "dns.hash module will be removed in future versions" in message > or ("eventlet" in filename and "eventlet" in filename) > ): > continue > warnings.append("{w.filename}:{w.lineno} {w.message}".format(w=warning)) >> assert not warnings >E AssertionError: assert not ['/usr/lib/python3.9/site-packages/_pytest/threadexception.py:75 Exception in thread Thread-48\n\nTraceback (most rece...ead_events\n event_buffer = os.read(self._inotify_fd, event_buffer_size)\nOSError: [Errno 9] Bad file descriptor\n'] > >filename = '/usr/lib/python3.9/site-packages/_pytest/threadexception.py' >message = ('Exception in thread Thread-48\n' > '\n' > 'Traceback (most recent call last):\n' > ' File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner\n' > ' self.run()\n' > ' File ' > '"/var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2-python3_9/lib/watchdog/observers/inotify_buffer.py", ' > 'line 88, in run\n' > ' inotify_events = self._inotify.read_events()\n' > ' File ' > '"/var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2-python3_9/lib/watchdog/observers/inotify_c.py", ' > 'line 285, in read_events\n' > ' event_buffer = os.read(self._inotify_fd, event_buffer_size)\n' > 'OSError: [Errno 9] Bad file descriptor\n') >recwarn = WarningsRecorder(record=True) >warning = <warnings.WarningMessage object at 0xf5bdb280> >warnings = ['/usr/lib/python3.9/site-packages/_pytest/threadexception.py:75 Exception in ' > 'thread Thread-48\n' > '\n' > 'Traceback (most recent call last):\n' > ' File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner\n' > ' self.run()\n' > ' File ' > '"/var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2-python3_9/lib/watchdog/observers/inotify_buffer.py", ' > 'line 88, in run\n' > ' inotify_events = self._inotify.read_events()\n' > ' File ' > '"/var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2-python3_9/lib/watchdog/observers/inotify_c.py", ' > 'line 285, in read_events\n' > ' event_buffer = os.read(self._inotify_fd, event_buffer_size)\n' > 'OSError: [Errno 9] Bad file descriptor\n'] > >tests/conftest.py:55: AssertionError >___________________________________________________________________________________________ ERROR at teardown of test_late_double_deletion ___________________________________________________________________________________________ > >function = <function test_late_double_deletion at 0xf5b33580> > > def teardown_function(function): > rm(p(''), recursive=True) > try: >> assert not emitter.is_alive() >E assert not True >E + where True = <bound method Thread.is_alive of <InotifyEmitter(Thread-49, started daemon 4120099568)>>() >E + where <bound method Thread.is_alive of <InotifyEmitter(Thread-49, started daemon 4120099568)>> = <InotifyEmitter(Thread-49, started daemon 4120099568)>.is_alive > >function = <function test_late_double_deletion at 0xf5b33580> > >tests/test_inotify_c.py:50: AssertionError >_______________________________________________________________________________________________ ERROR at teardown of test_raise_error ________________________________________________________________________________________________ > >function = <function test_raise_error at 0xf5b336a0> > > def teardown_function(function): > rm(p(''), recursive=True) > try: >> assert not emitter.is_alive() >E assert not True >E + where True = <bound method Thread.is_alive of <InotifyEmitter(Thread-49, started daemon 4120099568)>>() >E + where <bound method Thread.is_alive of <InotifyEmitter(Thread-49, started daemon 4120099568)>> = <InotifyEmitter(Thread-49, started daemon 4120099568)>.is_alive > >function = <function test_raise_error at 0xf5b336a0> > >tests/test_inotify_c.py:50: AssertionError >============================================================================================================== FAILURES ============================================================================================================== >_____________________________________________________________________________________________________ test_late_double_deletion ______________________________________________________________________________________________________ > >monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xf5a9bd18> > > def test_late_double_deletion(monkeypatch): > inotify_fd = type(str("FD"), (object,), {})() # Empty object > inotify_fd.last = 0 > inotify_fd.wds = [] > > # CREATE DELETE CREATE DELETE DELETE_SELF IGNORE DELETE_SELF IGNORE > inotify_fd.buf = ( > # IN_CREATE|IS_DIR (wd = 1, path = subdir1) > b"\x01\x00\x00\x00\x00\x01\x00\x40\x00\x00\x00\x00\x10\x00\x00\x00" > b"\x73\x75\x62\x64\x69\x72\x31\x00\x00\x00\x00\x00\x00\x00\x00\x00" > # IN_DELETE|IS_DIR (wd = 1, path = subdir1) > b"\x01\x00\x00\x00\x00\x02\x00\x40\x00\x00\x00\x00\x10\x00\x00\x00" > b"\x73\x75\x62\x64\x69\x72\x31\x00\x00\x00\x00\x00\x00\x00\x00\x00" > ) * 2 + ( > # IN_DELETE_SELF (wd = 2) > b"\x02\x00\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" > # IN_IGNORE (wd = 2) > b"\x02\x00\x00\x00\x00\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" > # IN_DELETE_SELF (wd = 3) > b"\x03\x00\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" > # IN_IGNORE (wd = 3) > b"\x03\x00\x00\x00\x00\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" > ) > > os_read_bkp = os.read > > def fakeread(fd, length): > if fd is inotify_fd: > result, fd.buf = fd.buf[:length], fd.buf[length:] > return result > return os_read_bkp(fd, length) > > os_close_bkp = os.close > > def fakeclose(fd): > if fd is not inotify_fd: > os_close_bkp(fd) > > def inotify_init(): > return inotify_fd > > def inotify_add_watch(fd, path, mask): > fd.last += 1 > logger.debug("New wd = %d" % fd.last) > fd.wds.append(fd.last) > return fd.last > > def inotify_rm_watch(fd, wd): > logger.debug("Removing wd = %d" % wd) > fd.wds.remove(wd) > return 0 > > # Mocks the API! > from watchdog.observers import inotify_c > monkeypatch.setattr(os, "read", fakeread) > monkeypatch.setattr(os, "close", fakeclose) > monkeypatch.setattr(inotify_c, "inotify_init", inotify_init) > monkeypatch.setattr(inotify_c, "inotify_add_watch", inotify_add_watch) > monkeypatch.setattr(inotify_c, "inotify_rm_watch", inotify_rm_watch) > > with watching(p('')): > # Watchdog Events > for evt_cls in [DirCreatedEvent, DirDeletedEvent] * 2: >> event = event_queue.get(timeout=5)[0] > >evt_cls = <class 'watchdog.events.DirCreatedEvent'> >fakeclose = <function test_late_double_deletion.<locals>.fakeclose at 0xf5b4fd60> >fakeread = <function test_late_double_deletion.<locals>.fakeread at 0xf5cb37c0> >inotify_add_watch = <function test_late_double_deletion.<locals>.inotify_add_watch at 0xf5b4fe38> >inotify_c = <module 'watchdog.observers.inotify_c' from '/var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2-python3_9/lib/watchdog/observers/inotify_c.py'> >inotify_fd = <tests.test_inotify_c.FD object at 0xf5a4be20> >inotify_init = <function test_late_double_deletion.<locals>.inotify_init at 0xf5b4fda8> >inotify_rm_watch = <function test_late_double_deletion.<locals>.inotify_rm_watch at 0xf5b4fe80> >monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0xf5a9bd18> >os_close_bkp = <built-in function close> >os_read_bkp = <built-in function read> > >tests/test_inotify_c.py:118: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <queue.Queue object at 0xf5a9ba48>, block = True, timeout = 5 > > def get(self, block=True, timeout=None): > '''Remove and return an item from the queue. > > If optional args 'block' is true and 'timeout' is None (the default), > block if necessary until an item is available. If 'timeout' is > a non-negative number, it blocks at most 'timeout' seconds and raises > the Empty exception if no item was available within that time. > Otherwise ('block' is false), return an item if one is immediately > available, else raise the Empty exception ('timeout' is ignored > in that case). > ''' > with self.not_empty: > if not block: > if not self._qsize(): > raise Empty > elif timeout is None: > while not self._qsize(): > self.not_empty.wait() > elif timeout < 0: > raise ValueError("'timeout' must be a non-negative number") > else: > endtime = time() + timeout > while not self._qsize(): > remaining = endtime - time() > if remaining <= 0.0: >> raise Empty >E _queue.Empty > >block = True >endtime = 92164.851055237 >remaining = -0.0003397029940970242 >self = <queue.Queue object at 0xf5a9ba48> >timeout = 5 > >/usr/lib/python3.9/queue.py:179: Empty >========================================================================================================== warnings summary ========================================================================================================== >tests/test_delayed_queue.py:23 > /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2/tests/test_delayed_queue.py:23: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html > @pytest.mark.flaky(max_runs=5, min_passes=1) > >tests/test_delayed_queue.py:34 > /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2/tests/test_delayed_queue.py:34: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html > @pytest.mark.flaky(max_runs=5, min_passes=1) > >tests/test_emitter.py:113 > /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2/tests/test_emitter.py:113: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html > @pytest.mark.flaky(max_runs=5, min_passes=1, rerun_filter=rerun_filter) > >tests/test_emitter.py:130 > /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2/tests/test_emitter.py:130: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html > @pytest.mark.flaky(max_runs=5, min_passes=1, rerun_filter=rerun_filter) > >tests/test_emitter.py:151 > /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2/tests/test_emitter.py:151: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html > @pytest.mark.flaky(max_runs=5, min_passes=1, rerun_filter=rerun_filter) > >tests/test_emitter.py:170 > /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2/tests/test_emitter.py:170: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html > @pytest.mark.flaky(max_runs=5, min_passes=1, rerun_filter=rerun_filter) > >tests/test_emitter.py:183 > /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2/tests/test_emitter.py:183: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html > @pytest.mark.flaky(max_runs=5, min_passes=1, rerun_filter=rerun_filter) > >tests/test_emitter.py:198 > /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2/tests/test_emitter.py:198: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html > @pytest.mark.flaky(max_runs=5, min_passes=1, rerun_filter=rerun_filter) > >tests/test_emitter.py:227 > /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2/tests/test_emitter.py:227: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html > @pytest.mark.flaky(max_runs=5, min_passes=1, rerun_filter=rerun_filter) > >tests/test_emitter.py:256 > /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2/tests/test_emitter.py:256: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html > @pytest.mark.flaky(max_runs=5, min_passes=1, rerun_filter=rerun_filter) > >tests/test_emitter.py:285 > /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2/tests/test_emitter.py:285: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html > @pytest.mark.flaky(max_runs=5, min_passes=1, rerun_filter=rerun_filter) > >tests/test_emitter.py:314 > /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2/tests/test_emitter.py:314: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html > @pytest.mark.flaky(max_runs=5, min_passes=1, rerun_filter=rerun_filter) > >tests/test_emitter.py:341 > /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2/tests/test_emitter.py:341: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html > @pytest.mark.flaky(max_runs=5, min_passes=1, rerun_filter=rerun_filter) > >tests/test_emitter.py:382 > /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2/tests/test_emitter.py:382: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html > @pytest.mark.flaky(max_runs=5, min_passes=1, rerun_filter=rerun_filter) > >tests/test_emitter.py:400 > /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2/tests/test_emitter.py:400: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html > @pytest.mark.flaky(max_runs=5, min_passes=1, rerun_filter=rerun_filter) > >tests/test_emitter.py:421 > /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2/tests/test_emitter.py:421: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html > @pytest.mark.flaky(max_runs=5, min_passes=1, rerun_filter=rerun_filter) > >tests/test_emitter.py:503 > /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2/tests/test_emitter.py:503: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html > @pytest.mark.flaky(max_runs=5, min_passes=1, rerun_filter=rerun_filter) > >tests/test_emitter.py:586 > /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2/tests/test_emitter.py:586: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html > @pytest.mark.flaky(max_runs=5, min_passes=1, rerun_filter=rerun_filter) > >tests/test_emitter.py:628 > /var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2/tests/test_emitter.py:628: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html > @pytest.mark.flaky(max_runs=5, min_passes=1, rerun_filter=rerun_filter) > >-- Docs: https://docs.pytest.org/en/stable/warnings.html >====================================================================================================== short test summary info ======================================================================================================= >SKIPPED [1] tests/test_fsevents.py:7: macOS only. >SKIPPED [1] tests/test_observers_winapi.py:22: Windows only. >SKIPPED [1] tests/test_emitter.py:503: Non-Windows create another set of events for this test >SKIPPED [1] tests/test_emitter.py:586: Non-Windows create another set of events for this test >SKIPPED [1] tests/test_skip_repeats_queue.py:97: eventlet not installed >ERROR tests/test_inotify_buffer.py::test_move_internal - AssertionError: assert not ['/usr/lib/python3.9/site-packages/_pytest/threadexception.py:75 Exception in thread Thread-45\n\nTraceback (most rece...ead_events\n event_... >ERROR tests/test_inotify_buffer.py::test_close_should_terminate_thread - AssertionError: assert not ['/usr/lib/python3.9/site-packages/_pytest/threadexception.py:75 Exception in thread Thread-48\n\nTraceback (most rece...ead_ev... >ERROR tests/test_inotify_c.py::test_late_double_deletion - assert not True >ERROR tests/test_inotify_c.py::test_raise_error - assert not True >FAILED tests/test_inotify_c.py::test_late_double_deletion - _queue.Empty >================================================================================== 1 failed, 102 passed, 5 skipped, 19 warnings, 4 errors in 56.88s ================================================================================== > [31;01m*[0m ERROR: dev-python/watchdog-2.1.2::gentoo failed (test phase): > [31;01m*[0m pytest failed with python3.9 > [31;01m*[0m > [31;01m*[0m Call stack: > [31;01m*[0m ebuild.sh, line 125: Called src_test > [31;01m*[0m environment, line 2824: Called distutils-r1_src_test > [31;01m*[0m environment, line 1175: Called _distutils-r1_run_foreach_impl 'python_test' > [31;01m*[0m environment, line 430: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 2497: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 1977: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 1975: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 732: Called distutils-r1_run_phase 'python_test' > [31;01m*[0m environment, line 1114: Called python_test > [31;01m*[0m environment, line 2783: Called epytest '-p' 'no:django' > [31;01m*[0m environment, line 1498: Called die > [31;01m*[0m The specific snippet of code: > [31;01m*[0m "${@}" || die -n "pytest failed with ${EPYTHON}"; > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=dev-python/watchdog-2.1.2::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-python/watchdog-2.1.2::gentoo'`. > [31;01m*[0m The complete build log is located at '/var/tmp/portage/dev-python/watchdog-2.1.2/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-python/watchdog-2.1.2/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2' > [31;01m*[0m S: '/var/tmp/portage/dev-python/watchdog-2.1.2/work/watchdog-2.1.2'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 795411
: 715266 |
723922
|
729729