Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-watchdog.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-775224-27783/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-watchdog.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1674172800 Wrote: /builddir/build/SRPMS/python-watchdog-2.1.9-3.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-watchdog.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-775224-27783/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-watchdog.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1674172800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cKBn7p + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf watchdog-2.1.9 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/watchdog-2.1.9.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd watchdog-2.1.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find src -name '*.py' + xargs sed -i -e '/^#!\//, 1d' + chmod -x README.rst + rm -rf watchdog.egg-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2bcTtC + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd watchdog-2.1.9 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' running build running build_py creating build creating build/lib creating build/lib/watchdog copying src/watchdog/watchmedo.py -> build/lib/watchdog copying src/watchdog/events.py -> build/lib/watchdog copying src/watchdog/version.py -> build/lib/watchdog copying src/watchdog/__init__.py -> build/lib/watchdog creating build/lib/watchdog/utils copying src/watchdog/utils/echo.py -> build/lib/watchdog/utils copying src/watchdog/utils/platform.py -> build/lib/watchdog/utils copying src/watchdog/utils/dirsnapshot.py -> build/lib/watchdog/utils copying src/watchdog/utils/bricks.py -> build/lib/watchdog/utils copying src/watchdog/utils/patterns.py -> build/lib/watchdog/utils copying src/watchdog/utils/delayed_queue.py -> build/lib/watchdog/utils copying src/watchdog/utils/process_watcher.py -> build/lib/watchdog/utils copying src/watchdog/utils/__init__.py -> build/lib/watchdog/utils creating build/lib/watchdog/observers copying src/watchdog/observers/winapi.py -> build/lib/watchdog/observers copying src/watchdog/observers/api.py -> build/lib/watchdog/observers copying src/watchdog/observers/inotify_buffer.py -> build/lib/watchdog/observers copying src/watchdog/observers/fsevents.py -> build/lib/watchdog/observers copying src/watchdog/observers/polling.py -> build/lib/watchdog/observers copying src/watchdog/observers/kqueue.py -> build/lib/watchdog/observers copying src/watchdog/observers/read_directory_changes.py -> build/lib/watchdog/observers copying src/watchdog/observers/inotify_c.py -> build/lib/watchdog/observers copying src/watchdog/observers/inotify.py -> build/lib/watchdog/observers copying src/watchdog/observers/fsevents2.py -> build/lib/watchdog/observers copying src/watchdog/observers/__init__.py -> build/lib/watchdog/observers creating build/lib/watchdog/tricks copying src/watchdog/tricks/__init__.py -> build/lib/watchdog/tricks running 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 reading manifest file 'src/watchdog.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.h' under directory 'src' adding license file 'LICENSE' adding license file 'COPYING' adding license file 'AUTHORS' writing manifest file 'src/watchdog.egg-info/SOURCES.txt' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6HhiVz + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch ++ dirname /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd watchdog-2.1.9 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch --prefix /usr running install /usr/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr creating /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib creating /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11 creating /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog copying build/lib/watchdog/watchmedo.py -> /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog copying build/lib/watchdog/events.py -> /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog copying build/lib/watchdog/version.py -> /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog creating /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/utils copying build/lib/watchdog/utils/echo.py -> /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/utils copying build/lib/watchdog/utils/platform.py -> /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/utils copying build/lib/watchdog/utils/dirsnapshot.py -> /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/utils copying build/lib/watchdog/utils/bricks.py -> /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/utils copying build/lib/watchdog/utils/patterns.py -> /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/utils copying build/lib/watchdog/utils/delayed_queue.py -> /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/utils copying build/lib/watchdog/utils/process_watcher.py -> /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/utils copying build/lib/watchdog/utils/__init__.py -> /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/utils creating /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/observers copying build/lib/watchdog/observers/winapi.py -> /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/observers copying build/lib/watchdog/observers/api.py -> /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/observers copying build/lib/watchdog/observers/inotify_buffer.py -> /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/observers copying build/lib/watchdog/observers/fsevents.py -> /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/observers copying build/lib/watchdog/observers/polling.py -> /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/observers copying build/lib/watchdog/observers/kqueue.py -> /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/observers copying build/lib/watchdog/observers/read_directory_changes.py -> /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/observers copying build/lib/watchdog/observers/inotify_c.py -> /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/observers copying build/lib/watchdog/observers/inotify.py -> /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/observers copying build/lib/watchdog/observers/fsevents2.py -> /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/observers copying build/lib/watchdog/observers/__init__.py -> /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/observers creating /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/tricks copying build/lib/watchdog/tricks/__init__.py -> /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/tricks copying build/lib/watchdog/__init__.py -> /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog byte-compiling /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/watchmedo.py to watchmedo.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/events.py to events.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/version.py to version.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/utils/echo.py to echo.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/utils/platform.py to platform.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/utils/dirsnapshot.py to dirsnapshot.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/utils/bricks.py to bricks.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/utils/patterns.py to patterns.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/utils/delayed_queue.py to delayed_queue.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/utils/process_watcher.py to process_watcher.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/utils/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/observers/winapi.py to winapi.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/observers/api.py to api.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/observers/inotify_buffer.py to inotify_buffer.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/observers/fsevents.py to fsevents.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/observers/polling.py to polling.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/observers/kqueue.py to kqueue.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/observers/read_directory_changes.py to read_directory_changes.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/observers/inotify_c.py to inotify_c.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/observers/inotify.py to inotify.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/observers/fsevents2.py to fsevents2.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/observers/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/tricks/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/__init__.py to __init__.cpython-311.pyc writing byte-compilation script '/tmp/tmpzavehir9.py' /usr/bin/python3 /tmp/tmpzavehir9.py removing /tmp/tmpzavehir9.py running install_egg_info running 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 reading manifest file 'src/watchdog.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.h' under directory 'src' adding license file 'LICENSE' adding license file 'COPYING' adding license file 'AUTHORS' writing manifest file 'src/watchdog.egg-info/SOURCES.txt' Copying src/watchdog.egg-info to /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog-2.1.9-py3.11.egg-info running install_scripts Installing watchmedo script to /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/bin + rm -rfv /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 2.1.9-3.fc38 --unique-debug-suffix -2.1.9-3.fc38.noarch --unique-debug-src-base python-watchdog-2.1.9-3.fc38.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/watchdog-2.1.9 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 Bytecompiling .py files below /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.VlAeb8 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd watchdog-2.1.9 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + PATH=/builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib64/python3.11/site-packages:/builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_XDIST_AUTO_NUM_WORKERS=8 + /usr/bin/pytest -v -k 'not test_unmount_watched_directory_filesystem' -k 'not test_unmount_watched_directory_filesystem' ============================= test session starts ============================== platform linux -- Python 3.11.3, pytest-7.2.2, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/watchdog-2.1.9, configfile: setup.cfg plugins: timeout-2.1.0, rerunfailures-11.0, cov-4.0.0 collecting ... collected 163 items / 1 deselected / 2 skipped / 162 selected tests/test_0_watchmedo.py::test_load_config_valid PASSED [ 0%] tests/test_0_watchmedo.py::test_load_config_invalid PASSED [ 1%] tests/test_0_watchmedo.py::test_kill_auto_restart FAILED [ 1%] tests/test_0_watchmedo.py::test_shell_command_wait_for_completion PASSED [ 2%] tests/test_0_watchmedo.py::test_shell_command_subprocess_termination_nowait FAILED [ 3%] tests/test_0_watchmedo.py::test_shell_command_subprocess_termination_nowait ERROR [ 3%] tests/test_0_watchmedo.py::test_auto_restart_subprocess_termination FAILED [ 3%] tests/test_0_watchmedo.py::test_auto_restart_arg_parsing_basic PASSED [ 4%] tests/test_0_watchmedo.py::test_auto_restart_arg_parsing PASSED [ 4%] tests/test_0_watchmedo.py::test_shell_command_arg_parsing PASSED [ 5%] tests/test_0_watchmedo.py::test_valid_verbosity[verbosity0-cmdline0] PASSED [ 6%] tests/test_0_watchmedo.py::test_valid_verbosity[verbosity0-cmdline1] PASSED [ 6%] tests/test_0_watchmedo.py::test_valid_verbosity[verbosity1-cmdline0] PASSED [ 7%] tests/test_0_watchmedo.py::test_valid_verbosity[verbosity1-cmdline1] PASSED [ 8%] tests/test_0_watchmedo.py::test_valid_verbosity[verbosity2-cmdline0] PASSED [ 8%] tests/test_0_watchmedo.py::test_valid_verbosity[verbosity2-cmdline1] PASSED [ 9%] tests/test_0_watchmedo.py::test_valid_verbosity[verbosity3-cmdline0] PASSED [ 9%] tests/test_0_watchmedo.py::test_valid_verbosity[verbosity3-cmdline1] PASSED [ 10%] tests/test_0_watchmedo.py::test_valid_verbosity[verbosity4-cmdline0] PASSED [ 11%] tests/test_0_watchmedo.py::test_valid_verbosity[verbosity4-cmdline1] PASSED [ 11%] tests/test_0_watchmedo.py::test_valid_verbosity[verbosity5-cmdline0] PASSED [ 12%] tests/test_0_watchmedo.py::test_valid_verbosity[verbosity5-cmdline1] PASSED [ 12%] tests/test_0_watchmedo.py::test_valid_verbosity[verbosity6-cmdline0] PASSED [ 13%] tests/test_0_watchmedo.py::test_valid_verbosity[verbosity6-cmdline1] PASSED [ 14%] tests/test_0_watchmedo.py::test_valid_verbosity[verbosity7-cmdline0] PASSED [ 14%] tests/test_0_watchmedo.py::test_valid_verbosity[verbosity7-cmdline1] PASSED [ 15%] tests/test_0_watchmedo.py::test_invalid_verbosity[verbosity_cmdline_args0-cmdline0] PASSED [ 16%] tests/test_0_watchmedo.py::test_invalid_verbosity[verbosity_cmdline_args0-cmdline1] PASSED [ 16%] tests/test_0_watchmedo.py::test_invalid_verbosity[verbosity_cmdline_args1-cmdline0] PASSED [ 17%] tests/test_0_watchmedo.py::test_invalid_verbosity[verbosity_cmdline_args1-cmdline1] PASSED [ 17%] tests/test_0_watchmedo.py::test_invalid_verbosity[verbosity_cmdline_args2-cmdline0] PASSED [ 18%] tests/test_0_watchmedo.py::test_invalid_verbosity[verbosity_cmdline_args2-cmdline1] PASSED [ 19%] tests/test_0_watchmedo.py::test_invalid_verbosity[verbosity_cmdline_args3-cmdline0] PASSED [ 19%] tests/test_0_watchmedo.py::test_invalid_verbosity[verbosity_cmdline_args3-cmdline1] PASSED [ 20%] tests/test_0_watchmedo.py::test_invalid_verbosity[verbosity_cmdline_args4-cmdline0] PASSED [ 20%] tests/test_0_watchmedo.py::test_invalid_verbosity[verbosity_cmdline_args4-cmdline1] PASSED [ 21%] tests/test_0_watchmedo.py::test_invalid_verbosity[verbosity_cmdline_args5-cmdline0] PASSED [ 22%] tests/test_0_watchmedo.py::test_invalid_verbosity[verbosity_cmdline_args5-cmdline1] PASSED [ 22%] tests/test_0_watchmedo.py::test_invalid_verbosity[verbosity_cmdline_args6-cmdline0] PASSED [ 23%] tests/test_0_watchmedo.py::test_invalid_verbosity[verbosity_cmdline_args6-cmdline1] PASSED [ 24%] tests/test_0_watchmedo.py::test_invalid_verbosity[verbosity_cmdline_args7-cmdline0] PASSED [ 24%] tests/test_0_watchmedo.py::test_invalid_verbosity[verbosity_cmdline_args7-cmdline1] PASSED [ 25%] tests/test_0_watchmedo.py::test_invalid_verbosity[verbosity_cmdline_args8-cmdline0] PASSED [ 25%] tests/test_0_watchmedo.py::test_invalid_verbosity[verbosity_cmdline_args8-cmdline1] PASSED [ 26%] tests/test_0_watchmedo.py::test_invalid_verbosity[verbosity_cmdline_args9-cmdline0] PASSED [ 27%] tests/test_0_watchmedo.py::test_invalid_verbosity[verbosity_cmdline_args9-cmdline1] PASSED [ 27%] tests/test_0_watchmedo.py::test_invalid_verbosity[verbosity_cmdline_args10-cmdline0] PASSED [ 28%] tests/test_0_watchmedo.py::test_invalid_verbosity[verbosity_cmdline_args10-cmdline1] PASSED [ 29%] tests/test_0_watchmedo.py::test_tricks_from_file[tricks-from] PASSED [ 29%] tests/test_0_watchmedo.py::test_tricks_from_file[tricks] PASSED [ 30%] tests/test_delayed_queue.py::test_delayed_get PASSED [ 30%] tests/test_delayed_queue.py::test_nondelayed_get PASSED [ 31%] tests/test_emitter.py::test_create PASSED [ 32%] tests/test_emitter.py::test_close PASSED [ 32%] tests/test_emitter.py::test_create_wrong_encoding PASSED [ 33%] tests/test_emitter.py::test_delete PASSED [ 33%] tests/test_emitter.py::test_modify PASSED [ 34%] tests/test_emitter.py::test_chmod PASSED [ 35%] tests/test_emitter.py::test_move PASSED [ 35%] tests/test_emitter.py::test_case_change PASSED [ 36%] tests/test_emitter.py::test_move_to PASSED [ 37%] tests/test_emitter.py::test_move_to_full PASSED [ 37%] tests/test_emitter.py::test_move_from PASSED [ 38%] tests/test_emitter.py::test_move_from_full PASSED [ 38%] tests/test_emitter.py::test_separate_consecutive_moves PASSED [ 39%] tests/test_emitter.py::test_delete_self PASSED [ 40%] tests/test_emitter.py::test_fast_subdirectory_creation_deletion PASSED [ 40%] tests/test_emitter.py::test_passing_unicode_should_give_unicode PASSED [ 41%] tests/test_emitter.py::test_passing_bytes_should_give_bytes PASSED [ 41%] tests/test_emitter.py::test_recursive_on PASSED [ 42%] tests/test_emitter.py::test_recursive_off PASSED [ 43%] tests/test_emitter.py::test_renaming_top_level_directory PASSED [ 43%] tests/test_emitter.py::test_renaming_top_level_directory_on_windows SKIPPED (Non-Windows create another set of events for this test) [ 44%] tests/test_emitter.py::test_move_nested_subdirectories PASSED [ 45%] tests/test_emitter.py::test_move_nested_subdirectories_on_windows SKIPPED (Non-Windows create another set of events for this test) [ 45%] tests/test_emitter.py::test_file_lifecyle PASSED [ 46%] tests/test_events.py::test_file_deleted_event PASSED [ 46%] tests/test_events.py::test_file_delete_event_is_directory PASSED [ 47%] tests/test_events.py::test_file_modified_event PASSED [ 48%] tests/test_events.py::test_file_modified_event_is_directory PASSED [ 48%] tests/test_events.py::test_file_created_event PASSED [ 49%] tests/test_events.py::test_file_moved_event PASSED [ 50%] tests/test_events.py::test_file_closed_event PASSED [ 50%] tests/test_events.py::test_dir_deleted_event PASSED [ 51%] tests/test_events.py::test_dir_modified_event PASSED [ 51%] tests/test_events.py::test_dir_created_event PASSED [ 52%] tests/test_events.py::test_file_system_event_handler_dispatch PASSED [ 53%] tests/test_inotify_buffer.py::test_move_from PASSED [ 53%] tests/test_inotify_buffer.py::test_move_to PASSED [ 54%] tests/test_inotify_buffer.py::test_move_internal PASSED [ 54%] tests/test_inotify_buffer.py::test_move_internal_batch PASSED [ 55%] tests/test_inotify_buffer.py::test_delete_watched_directory PASSED [ 56%] tests/test_inotify_buffer.py::test_close_should_terminate_thread[InotifyBuffer] PASSED [ 56%] tests/test_inotify_buffer.py::test_close_should_terminate_thread[InotifyBufferDelayedRead] PASSED [ 57%] tests/test_inotify_c.py::test_late_double_deletion PASSED [ 58%] tests/test_inotify_c.py::test_raise_error[28-inotify watch limit reached] PASSED [ 58%] tests/test_inotify_c.py::test_raise_error[24-inotify instance limit reached] PASSED [ 59%] tests/test_inotify_c.py::test_raise_error[2-No such file or directory] PASSED [ 59%] tests/test_inotify_c.py::test_raise_error[-1-Unknown error -1] PASSED [ 60%] tests/test_inotify_c.py::test_non_ascii_path PASSED [ 61%] tests/test_inotify_c.py::test_watch_file PASSED [ 61%] tests/test_inotify_c.py::test_event_equality PASSED [ 62%] tests/test_logging_event_handler.py::test_logging_event_handler_dispatch PASSED [ 62%] tests/test_observer.py::test_schedule_should_start_emitter_if_running PASSED [ 63%] tests/test_observer.py::test_schedule_should_not_start_emitter_if_not_running PASSED [ 64%] tests/test_observer.py::test_start_should_start_emitter PASSED [ 64%] tests/test_observer.py::test_stop_should_stop_emitter PASSED [ 65%] tests/test_observer.py::test_unschedule_self PASSED [ 66%] tests/test_observer.py::test_schedule_after_unschedule_all PASSED [ 66%] tests/test_observer.py::test_2_observers_on_the_same_path PASSED [ 67%] tests/test_observer.py::test_start_failure_should_not_prevent_further_try PASSED [ 67%] tests/test_observer.py::test_schedule_failure_should_not_prevent_future_schedules PASSED [ 68%] tests/test_observers_api.py::test_observer_constructor PASSED [ 69%] tests/test_observers_api.py::test_observer__eq__ PASSED [ 69%] tests/test_observers_api.py::test_observer__ne__ PASSED [ 70%] tests/test_observers_api.py::test_observer__repr__ PASSED [ 70%] tests/test_observers_api.py::test_event_emitter PASSED [ 71%] tests/test_observers_api.py::test_event_dispatcher PASSED [ 72%] tests/test_observers_api.py::test_observer_basic PASSED [ 72%] tests/test_observers_polling.py::test___init__ PASSED [ 73%] tests/test_observers_polling.py::test_delete_watched_dir PASSED [ 74%] tests/test_pattern_matching_event_handler.py::test_dispatch PASSED [ 74%] tests/test_pattern_matching_event_handler.py::test_handler PASSED [ 75%] tests/test_pattern_matching_event_handler.py::test_ignore_directories PASSED [ 75%] tests/test_pattern_matching_event_handler.py::test_ignore_patterns PASSED [ 76%] tests/test_pattern_matching_event_handler.py::test_patterns PASSED [ 77%] tests/test_patterns.py::test_match_path[/users/gorakhargosh/foobar.py-included_patterns0-excluded_patterns0-True-True] PASSED [ 77%] tests/test_patterns.py::test_match_path[/users/gorakhargosh/foobar.py-included_patterns1-excluded_patterns1-True-True] PASSED [ 78%] tests/test_patterns.py::test_match_path[/users/gorakhargosh/-included_patterns2-excluded_patterns2-False-False] PASSED [ 79%] tests/test_patterns.py::test_match_path[/users/gorakhargosh/foobar.py-included_patterns3-excluded_patterns3-False-ValueError] PASSED [ 79%] tests/test_patterns.py::test_filter_paths[None-None-True-None] PASSED [ 80%] tests/test_patterns.py::test_filter_paths[None-None-False-None] PASSED [ 80%] tests/test_patterns.py::test_filter_paths[included_patterns2-excluded_patterns2-True-expected2] PASSED [ 81%] tests/test_patterns.py::test_match_any_paths[None-None-True-True] PASSED [ 82%] tests/test_patterns.py::test_match_any_paths[None-None-False-True] PASSED [ 82%] tests/test_patterns.py::test_match_any_paths[included_patterns2-excluded_patterns2-True-True] PASSED [ 83%] tests/test_patterns.py::test_match_any_paths[included_patterns3-None-False-False] PASSED [ 83%] tests/test_patterns.py::test_match_any_paths[included_patterns4-None-True-False] PASSED [ 84%] tests/test_regex_matching_event_handler.py::test_dispatch PASSED [ 85%] tests/test_regex_matching_event_handler.py::test_handler PASSED [ 85%] tests/test_regex_matching_event_handler.py::test_ignore_directories PASSED [ 86%] tests/test_regex_matching_event_handler.py::test_ignore_regexes PASSED [ 87%] tests/test_regex_matching_event_handler.py::test_regexes PASSED [ 87%] tests/test_regex_matching_event_handler.py::test_str_regexes PASSED [ 88%] tests/test_regex_matching_event_handler.py::test_logging_event_handler_dispatch PASSED [ 88%] tests/test_skip_repeats_queue.py::test_basic_queue PASSED [ 89%] tests/test_skip_repeats_queue.py::test_allow_nonconsecutive PASSED [ 90%] tests/test_skip_repeats_queue.py::test_put_with_watchdog_events PASSED [ 90%] tests/test_skip_repeats_queue.py::test_prevent_consecutive PASSED [ 91%] tests/test_skip_repeats_queue.py::test_consecutives_allowed_across_empties PASSED [ 91%] tests/test_skip_repeats_queue.py::test_eventlet_monkey_patching SKIPPED (eventlet not installed) [ 92%] tests/test_snapshot_diff.py::test_pickle PASSED [ 93%] tests/test_snapshot_diff.py::test_move_to PASSED [ 93%] tests/test_snapshot_diff.py::test_move_from PASSED [ 94%] tests/test_snapshot_diff.py::test_move_internal PASSED [ 95%] tests/test_snapshot_diff.py::test_move_replace PASSED [ 95%] tests/test_snapshot_diff.py::test_dir_modify_on_create PASSED [ 96%] tests/test_snapshot_diff.py::test_dir_modify_on_move PASSED [ 96%] tests/test_snapshot_diff.py::test_detect_modify_for_moved_files PASSED [ 97%] tests/test_snapshot_diff.py::test_replace_dir_with_file PASSED [ 98%] tests/test_snapshot_diff.py::test_permission_error PASSED [ 98%] tests/test_snapshot_diff.py::test_ignore_device PASSED [ 99%] tests/test_snapshot_diff.py::test_empty_snapshot PASSED [100%] ==================================== ERRORS ==================================== ____ ERROR at teardown of test_shell_command_subprocess_termination_nowait _____ @pytest.fixture(autouse=True) def no_thread_leaks(): """ Fail on thread leak. We do not use pytest-threadleak because it is not reliable. """ old_thread_count = threading.active_count() yield gc.collect() # Clear the stuff from other function-level fixtures > assert threading.active_count() == old_thread_count # Only previously existing threads E assert 2 == 1 E + where 2 = () E + where = threading.active_count old_thread_count = 1 tests/conftest.py:34: AssertionError ----------------------------- Captured stdout call ----------------------------- +++++ 0 --------------------------- Captured stdout teardown --------------------------- [] =================================== FAILURES =================================== ____________________________ test_kill_auto_restart ____________________________ tmpdir = '/tmp/tmp5ha8qgle' capfd = <_pytest.capture.CaptureFixture object at 0xffffffbbc0b950> def test_kill_auto_restart(tmpdir, capfd): from watchdog.tricks import AutoRestartTrick import sys import time script = make_dummy_script(tmpdir) a = AutoRestartTrick([sys.executable, script]) a.start() time.sleep(3) a.stop() cap = capfd.readouterr() > assert '+++++ 0' in cap.out E assert '+++++ 0' in '' E + where '' = CaptureResult(out='', err='Fatal Python error: init_import_site: Failed to import the site module\nPython runtime state: initialized\nTraceback (most recent call last):\n File "", line 1178, in _find_and_load\n File "", line 1149, in _find_and_load_unlocked\n File "", line 690, in _load_unlocked\n File "", line 982, in exec_module\n File "", line 623, in \n File "", line 610, in main\n File "", line 391, in addsitepackages\n File "", line 226, in addsitedir\n File "", line 186, in addpackage\n File "", line 1, in \n File "", line 4, in \n File "/usr/lib/python3.11/site-packages/pytest_cov/embed.py", line 38, in init\n import coverage\n File "/usr/lib64/python3.11/site-packages/coverage/__init__.py", line 15, in \n from coverage.control import Coverage, process_startup\n File "/usr/lib64/python3.11/site-packages/coverage/control.py", line 37, in \n from coverage.inorout import InOrOut\n File "/usr/lib64/python3.11/site-packages/coverage/inorout.py", line 29, in \n from coverage.python import source_for_file, source_for_morf\n File "/usr/lib64/python3.11/site-packages/coverage/python.py", line 18, in \n from coverage.parser import PythonParser\n File "/usr/lib64/python3.11/site-packages/coverage/parser.py", line 477, in \n TArcFragments = Dict[TArc, List[Tuple[Optional[str], Optional[str]]]]\n ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/usr/lib64/python3.11/typing.py", line 348, in inner\n return cached(*args, **kwds)\n ^^^^^^^^^^^^^^^^^^^^^\n File "/usr/lib64/python3.11/typing.py", line 1555, in __getitem__\n params = tuple(_type_check(p, msg) for p in params)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/usr/lib64/python3.11/typing.py", line 1555, in \n params = tuple(_type_check(p, msg) for p in params)\n\nKeyboardInterrupt\n').out AutoRestartTrick = a = cap = CaptureResult(out='', err='Fatal Python error: init_import_site: Failed to import the site module\nPython runtime state: initialized\nTraceback (most recent call last):\n File "", line 1178, in _find_and_load\n File "", line 1149, in _find_and_load_unlocked\n File "", line 690, in _load_unlocked\n File "", line 982, in exec_module\n File "", line 623, in \n File "", line 610, in main\n File "", line 391, in addsitepackages\n File "", line 226, in addsitedir\n File "", line 186, in addpackage\n File "", line 1, in \n File "", line 4, in \n File "/usr/lib/python3.11/site-packages/pytest_cov/embed.py", line 38, in init\n import coverage\n File "/usr/lib64/python3.11/site-packages/coverage/__init__.py", line 15, in \n from coverage.control import Coverage, process_startup\n File "/usr/lib64/python3.11/site-packages/coverage/control.py", line 37, in \n from coverage.inorout import InOrOut\n File "/usr/lib64/python3.11/site-packages/coverage/inorout.py", line 29, in \n from coverage.python import source_for_file, source_for_morf\n File "/usr/lib64/python3.11/site-packages/coverage/python.py", line 18, in \n from coverage.parser import PythonParser\n File "/usr/lib64/python3.11/site-packages/coverage/parser.py", line 477, in \n TArcFragments = Dict[TArc, List[Tuple[Optional[str], Optional[str]]]]\n ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/usr/lib64/python3.11/typing.py", line 348, in inner\n return cached(*args, **kwds)\n ^^^^^^^^^^^^^^^^^^^^^\n File "/usr/lib64/python3.11/typing.py", line 1555, in __getitem__\n params = tuple(_type_check(p, msg) for p in params)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/usr/lib64/python3.11/typing.py", line 1555, in \n params = tuple(_type_check(p, msg) for p in params)\n\nKeyboardInterrupt\n') capfd = <_pytest.capture.CaptureFixture object at 0xffffffbbc0b950> script = '/tmp/tmp5ha8qgle/auto-test-10.py' sys = time = tmpdir = '/tmp/tmp5ha8qgle' tests/test_0_watchmedo.py:71: AssertionError --------------------------- Captured stdout teardown --------------------------- [] _______________ test_shell_command_subprocess_termination_nowait _______________ tmpdir = '/tmp/tmpv4jo5nk2' def test_shell_command_subprocess_termination_nowait(tmpdir): from watchdog.events import FileModifiedEvent from watchdog.tricks import ShellCommandTrick import sys import time script = make_dummy_script(tmpdir, n=1) command = " ".join([sys.executable, script]) trick = ShellCommandTrick(command, wait_for_process=False) assert not trick.is_process_running() trick.on_any_event(FileModifiedEvent("foo/bar.baz")) assert trick.is_process_running() time.sleep(5) > assert not trick.is_process_running() E assert not {} E + where {} = >() E + where > = .is_process_running FileModifiedEvent = ShellCommandTrick = command = '/usr/bin/python3 /tmp/tmpv4jo5nk2/auto-test-1.py' script = '/tmp/tmpv4jo5nk2/auto-test-1.py' sys = time = tmpdir = '/tmp/tmpv4jo5nk2' trick = tests/test_0_watchmedo.py:106: AssertionError ----------------------------- Captured stdout call ----------------------------- +++++ 0 ___________________ test_auto_restart_subprocess_termination ___________________ tmpdir = '/tmp/tmpuhp14zy3' capfd = <_pytest.capture.CaptureFixture object at 0xffffffbbc4e3d0> def test_auto_restart_subprocess_termination(tmpdir, capfd): from watchdog.tricks import AutoRestartTrick import sys import time script = make_dummy_script(tmpdir, n=2) a = AutoRestartTrick([sys.executable, script]) a.start() time.sleep(5) a.stop() cap = capfd.readouterr() > assert cap.out.splitlines(keepends=False).count('+++++ 0') > 1 E assert 1 > 1 E + where 1 = ('+++++ 0') E + where = ['+++++ 0', '+++++ 1'].count E + where ['+++++ 0', '+++++ 1'] = (keepends=False) E + where = '+++++ 0\n+++++ 1\n'.splitlines E + where '+++++ 0\n+++++ 1\n' = CaptureResult(out='+++++ 0\n+++++ 1\n', err='Traceback (most recent call last):\n File "/tmp/tmpuhp14zy3/auto-test-2.py", line 4, in \n time.sleep(1)\nKeyboardInterrupt\n').out AutoRestartTrick = a = cap = CaptureResult(out='+++++ 0\n+++++ 1\n', err='Traceback (most recent call last):\n File "/tmp/tmpuhp14zy3/auto-test-2.py", line 4, in \n time.sleep(1)\nKeyboardInterrupt\n') capfd = <_pytest.capture.CaptureFixture object at 0xffffffbbc4e3d0> script = '/tmp/tmpuhp14zy3/auto-test-2.py' sys = time = tmpdir = '/tmp/tmpuhp14zy3' tests/test_0_watchmedo.py:119: AssertionError --------------------------- Captured stdout teardown --------------------------- [] ---------- coverage: platform linux, python 3.11.3-final-0 ----------- Name Stmts Miss Cover Missing --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/__init__.py 0 0 100% /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/events.py 191 17 91% 137, 158, 186, 416, 420, 422-423, 461, 560-568 /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/observers/__init__.py 29 21 28% 62-89 /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/observers/api.py 162 5 97% 180-181, 206-207, 252 /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/observers/fsevents2.py 128 128 0% 17-246 /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/observers/fsevents.py 164 164 0% 18-347 /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/observers/inotify.py 85 4 95% 155-156, 161-162 /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/observers/inotify_buffer.py 52 1 98% 73 /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/observers/inotify_c.py 292 48 84% 33, 155, 175, 190, 194, 222-223, 232-236, 266-273, 275-279, 288, 292, 299, 343-344, 364, 371, 386, 404, 463, 467, 487, 491, 548, 552-559, 562-564 /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/observers/kqueue.py 232 232 0% 18-706 /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/observers/polling.py 52 4 92% 86, 128, 143-144 /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/observers/read_directory_changes.py 63 63 0% 19-143 /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/observers/winapi.py 179 179 0% 38-393 /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/tricks/__init__.py 109 26 76% 65-79, 87, 91, 95, 99, 103, 127, 130, 142-146, 149, 199, 209, 213-215, 223-227, 232, 235-236 /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/utils/__init__.py 48 6 88% 56, 60, 101-102, 136-139 /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/utils/bricks.py 16 0 100% /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/utils/delayed_queue.py 46 2 96% 81-82 /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/utils/dirsnapshot.py 141 8 94% 139, 268, 276-277, 328, 337, 340, 343 /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/utils/echo.py 64 41 36% 40, 45, 50-54, 60, 69-72, 81-82, 104-111, 122-129, 135-144, 150-153, 157-161 /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/utils/patterns.py 24 0 100% /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/utils/platform.py 25 5 80% 30, 32, 35-38 /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/utils/process_watcher.py 18 2 89% 24-25 /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/version.py 6 0 100% /builddir/build/BUILDROOT/python-watchdog-2.1.9-3.fc38.noarch/usr/lib/python3.11/site-packages/watchdog/watchmedo.py 226 117 48% 59-60, 158-162, 178-186, 248, 250, 252, 255, 257, 269, 275-276, 280, 284, 323-347, 404-432, 507-526, 594-641, 659-673, 677 --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- TOTAL 2352 1073 54% =========================== short test summary info ============================ FAILED tests/test_0_watchmedo.py::test_kill_auto_restart - assert '+++++ 0' i... FAILED tests/test_0_watchmedo.py::test_shell_command_subprocess_termination_nowait FAILED tests/test_0_watchmedo.py::test_auto_restart_subprocess_termination - ... ERROR tests/test_0_watchmedo.py::test_shell_command_subprocess_termination_nowait == 3 failed, 156 passed, 5 skipped, 1 deselected, 1 error in 95.84s (0:01:35) == error: Bad exit status from /var/tmp/rpm-tmp.VlAeb8 (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.VlAeb8 (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-watchdog.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-watchdog.spec