Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-idstools.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-161297-10144/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=86400uid=981gid=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-idstools.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 warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-idstools-0.6.4-2.ocs23.src.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-idstools.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-161297-10144/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=86400uid=981gid=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-idstools.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 warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Qqu9RN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf py-idstools-0.6.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/py-idstools-0.6.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd py-idstools-0.6.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . ~/build/BUILD/py-idstools-0.6.4/tests ~/build/BUILD/py-idstools-0.6.4 Patch #0 (89.patch): + pushd tests + echo 'Patch #0 (89.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file test_classificationmap.py patching file test_rulecat.py patching file test_rule.py patching file test_signaturemap.py patching file test_snort.py patching file test_unified2.py patching file test_util.py ~/build/BUILD/py-idstools-0.6.4 + popd + /usr/bin/rm -rf idstools/compat + /usr/bin/sed -i /compat/d setup.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MzAwfE + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -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 py-idstools-0.6.4 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/idstools copying idstools/snort.py -> build/lib/idstools copying idstools/unified2.py -> build/lib/idstools copying idstools/net.py -> build/lib/idstools copying idstools/util.py -> build/lib/idstools copying idstools/suricata.py -> build/lib/idstools copying idstools/packet.py -> build/lib/idstools copying idstools/maps.py -> build/lib/idstools copying idstools/rule.py -> build/lib/idstools copying idstools/__init__.py -> build/lib/idstools creating build/lib/idstools/rulecat copying idstools/rulecat/loghandler.py -> build/lib/idstools/rulecat copying idstools/rulecat/extract.py -> build/lib/idstools/rulecat copying idstools/rulecat/__init__.py -> build/lib/idstools/rulecat creating build/lib/idstools/rulecat/configs copying idstools/rulecat/configs/__init__.py -> build/lib/idstools/rulecat/configs creating build/lib/idstools/scripts copying idstools/scripts/eve2pcap.py -> build/lib/idstools/scripts copying idstools/scripts/dumpdynamicrules.py -> build/lib/idstools/scripts copying idstools/scripts/u2json.py -> build/lib/idstools/scripts copying idstools/scripts/u2spewfoo.py -> build/lib/idstools/scripts copying idstools/scripts/gensidmsgmap.py -> build/lib/idstools/scripts copying idstools/scripts/u2fast.py -> build/lib/idstools/scripts copying idstools/scripts/rulemod.py -> build/lib/idstools/scripts copying idstools/scripts/rulecat.py -> build/lib/idstools/scripts copying idstools/scripts/u2eve.py -> build/lib/idstools/scripts copying idstools/scripts/__init__.py -> build/lib/idstools/scripts running build_scripts creating build/scripts-3.11 copying and adjusting bin/idstools-dumpdynamicrules -> build/scripts-3.11 copying and adjusting bin/idstools-eve2pcap -> build/scripts-3.11 copying and adjusting bin/idstools-gensidmsgmap -> build/scripts-3.11 copying and adjusting bin/idstools-rulecat -> build/scripts-3.11 copying and adjusting bin/idstools-rulemod -> build/scripts-3.11 copying and adjusting bin/idstools-u2eve -> build/scripts-3.11 copying and adjusting bin/idstools-u2fast -> build/scripts-3.11 copying and adjusting bin/idstools-u2json -> build/scripts-3.11 copying and adjusting bin/idstools-u2spewfoo -> build/scripts-3.11 changing mode of build/scripts-3.11/idstools-dumpdynamicrules from 644 to 755 changing mode of build/scripts-3.11/idstools-eve2pcap from 644 to 755 changing mode of build/scripts-3.11/idstools-gensidmsgmap from 644 to 755 changing mode of build/scripts-3.11/idstools-rulecat from 644 to 755 changing mode of build/scripts-3.11/idstools-rulemod from 644 to 755 changing mode of build/scripts-3.11/idstools-u2eve from 644 to 755 changing mode of build/scripts-3.11/idstools-u2fast from 644 to 755 changing mode of build/scripts-3.11/idstools-u2json from 644 to 755 changing mode of build/scripts-3.11/idstools-u2spewfoo from 644 to 755 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.70ze7u + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch + cd py-idstools-0.6.4 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch running install /usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr creating /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib creating /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11 creating /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools copying build/lib/idstools/snort.py -> /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools copying build/lib/idstools/unified2.py -> /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools creating /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/rulecat copying build/lib/idstools/rulecat/loghandler.py -> /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/rulecat copying build/lib/idstools/rulecat/extract.py -> /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/rulecat copying build/lib/idstools/rulecat/__init__.py -> /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/rulecat creating /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/rulecat/configs copying build/lib/idstools/rulecat/configs/__init__.py -> /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/rulecat/configs copying build/lib/idstools/net.py -> /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools creating /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/scripts copying build/lib/idstools/scripts/eve2pcap.py -> /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/scripts copying build/lib/idstools/scripts/dumpdynamicrules.py -> /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/scripts copying build/lib/idstools/scripts/u2json.py -> /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/scripts copying build/lib/idstools/scripts/u2spewfoo.py -> /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/scripts copying build/lib/idstools/scripts/gensidmsgmap.py -> /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/scripts copying build/lib/idstools/scripts/u2fast.py -> /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/scripts copying build/lib/idstools/scripts/rulemod.py -> /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/scripts copying build/lib/idstools/scripts/rulecat.py -> /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/scripts copying build/lib/idstools/scripts/u2eve.py -> /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/scripts copying build/lib/idstools/scripts/__init__.py -> /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/scripts copying build/lib/idstools/util.py -> /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools copying build/lib/idstools/suricata.py -> /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools copying build/lib/idstools/packet.py -> /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools copying build/lib/idstools/maps.py -> /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools copying build/lib/idstools/rule.py -> /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools copying build/lib/idstools/__init__.py -> /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/snort.py to snort.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/unified2.py to unified2.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/rulecat/loghandler.py to loghandler.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/rulecat/extract.py to extract.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/rulecat/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/rulecat/configs/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/net.py to net.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/scripts/eve2pcap.py to eve2pcap.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/scripts/dumpdynamicrules.py to dumpdynamicrules.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/scripts/u2json.py to u2json.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/scripts/u2spewfoo.py to u2spewfoo.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/scripts/gensidmsgmap.py to gensidmsgmap.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/scripts/u2fast.py to u2fast.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/scripts/rulemod.py to rulemod.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/scripts/rulecat.py to rulecat.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/scripts/u2eve.py to u2eve.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/scripts/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/util.py to util.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/suricata.py to suricata.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/packet.py to packet.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/maps.py to maps.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/rule.py to rule.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/__init__.py to __init__.cpython-311.pyc writing byte-compilation script '/tmp/tmpgranxvdd.py' /usr/bin/python3 /tmp/tmpgranxvdd.py removing /tmp/tmpgranxvdd.py running install_egg_info running egg_info creating idstools.egg-info writing idstools.egg-info/PKG-INFO writing dependency_links to idstools.egg-info/dependency_links.txt writing top-level names to idstools.egg-info/top_level.txt writing manifest file 'idstools.egg-info/SOURCES.txt' reading manifest file 'idstools.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'idstools.egg-info/SOURCES.txt' Copying idstools.egg-info to /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools-0.6.4-py3.11.egg-info running install_scripts creating /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/bin copying build/scripts-3.11/idstools-dumpdynamicrules -> /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/bin copying build/scripts-3.11/idstools-u2spewfoo -> /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/bin copying build/scripts-3.11/idstools-rulecat -> /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/bin copying build/scripts-3.11/idstools-eve2pcap -> /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/bin copying build/scripts-3.11/idstools-gensidmsgmap -> /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/bin copying build/scripts-3.11/idstools-u2eve -> /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/bin copying build/scripts-3.11/idstools-u2json -> /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/bin copying build/scripts-3.11/idstools-rulemod -> /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/bin copying build/scripts-3.11/idstools-u2fast -> /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/bin changing mode of /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/bin/idstools-dumpdynamicrules to 755 changing mode of /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/bin/idstools-u2spewfoo to 755 changing mode of /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/bin/idstools-rulecat to 755 changing mode of /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/bin/idstools-eve2pcap to 755 changing mode of /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/bin/idstools-gensidmsgmap to 755 changing mode of /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/bin/idstools-u2eve to 755 changing mode of /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/bin/idstools-u2json to 755 changing mode of /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/bin/idstools-rulemod to 755 changing mode of /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/bin/idstools-u2fast to 755 + rm -rfv /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.6.4-2.ocs23 --unique-debug-suffix -0.6.4-2.ocs23.noarch --unique-debug-src-base python-idstools-0.6.4-2.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/py-idstools-0.6.4 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.EJbsXi + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -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 py-idstools-0.6.4 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + PATH=/builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib64/python3.11/site-packages:/builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages + PYTHONDONTWRITEBYTECODE=1 + /usr/bin/pytest ============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.0, pluggy-1.3.0 rootdir: /builddir/build/BUILD/py-idstools-0.6.4 collected 78 items tests/test_classificationmap.py . [ 1%] tests/test_net.py . [ 2%] tests/test_packet.py . [ 3%] tests/test_rule.py .................... [ 29%] tests/test_rulecat.py ................... [ 53%] tests/test_signaturemap.py ... [ 57%] tests/test_snort.py s [ 58%] tests/test_suricata.py s..... [ 66%] tests/test_unified2.py ......................... [ 98%] tests/test_util.py . [100%] =============================== warnings summary =============================== tests/test_rule.py:40 /builddir/build/BUILD/py-idstools-0.6.4/tests/test_rule.py:40: DeprecationWarning: invalid escape sequence '\/' rule = idstools.rule.parse("""alert tcp $HOME_NET any -> $EXTERNAL_NET $HTTP_PORTS (msg:"ET CURRENT_EVENTS Request to .in FakeAV Campaign June 19 2012 exe or zip"; flow:established,to_server; content:"setup."; fast_pattern:only; http_uri; content:".in|0d 0a|"; flowbits:isset,somebit; flowbits:unset,otherbit; http_header; pcre:"/\/[a-f0-9]{16}\/([a-z0-9]{1,3}\/)?setup\.(exe|zip)$/U"; pcre:"/^Host\x3a\s.+\.in\r?$/Hmi"; metadata:stage,hostile_download; reference:url,isc.sans.edu/diary/+Vulnerabilityqueerprocessbrittleness/13501; classtype:trojan-activity; sid:2014929; rev:1;)""") tests/test_rule.py:147 /builddir/build/BUILD/py-idstools-0.6.4/tests/test_rule.py:147: DeprecationWarning: invalid escape sequence '\/' rule_string = """alert tcp $HOME_NET any -> $EXTERNAL_NET $HTTP_PORTS (msg:"ET CURRENT_EVENTS Request to .in FakeAV Campaign June 19 2012 exe or zip"; flow:established,to_server; content:"setup."; fast_pattern:only; http_uri; content:".in|0d 0a|"; flowbits:isset,somebit; flowbits:unset,otherbit; http_header; pcre:"/\/[a-f0-9]{16}\/([a-z0-9]{1,3}\/)?setup\.(exe|zip)$/U"; pcre:"/^Host\x3a\s.+\.in\r?$/Hmi"; metadata:stage,hostile_download; reference:url,isc.sans.edu/diary/+Vulnerabilityqueerprocessbrittleness/13501; classtype:trojan-activity; sid:2014929; rev:1;)""" tests/test_rule.py:167 /builddir/build/BUILD/py-idstools-0.6.4/tests/test_rule.py:167: DeprecationWarning: invalid escape sequence '\;' rule_string = u"""alert ip any any -> any any (msg:"TEST RULE\; and some"; content:"uid=0|28|root|29|"; tag:session,5,packets; classtype:bad-unknown; sid:10000000; rev:1;)""" tests/test_rule.py:170 /builddir/build/BUILD/py-idstools-0.6.4/tests/test_rule.py:170: DeprecationWarning: invalid escape sequence '\;' self.assertEqual(rule.msg, "TEST RULE\; and some") tests/test_rulecat.py:167 /builddir/build/BUILD/py-idstools-0.6.4/tests/test_rulecat.py:167: DeprecationWarning: invalid escape sequence '\|' line = '2020757 "\|0d 0a\|" "|ff ff|"' tests/test_rulecat.py:178 /builddir/build/BUILD/py-idstools-0.6.4/tests/test_rulecat.py:178: DeprecationWarning: invalid escape sequence '\|' line = 're:classtype:trojan-activity "\|0d 0a\|" "|ff ff|"' tests/test_unified2.py::AggregatorTestCase::test_aggregator tests/test_unified2.py::AggregatorTestCase::test_interleaved tests/test_unified2.py::FileEventReaderTestCase::test tests/test_unified2.py::FileEventReaderTestCase::test_iteration tests/test_unified2.py::SpoolEventReaderTestCase::test_bookmarking tests/test_unified2.py::SpoolEventReaderTestCase::test_bookmarking tests/test_unified2.py::SpoolEventReaderTestCase::test_eof tests/test_unified2.py::SpoolEventReaderTestCase::test_with_file_rotation tests/test_unified2.py::SpoolEventReaderTestCase::test_with_growing_file /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/unified2.py:433: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead LOG.warn("idstools.unified2.Aggregator has been deprecated") tests/test_unified2.py::AggregatorTestCase::test_interleaved /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/unified2.py:455: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead LOG.warn("Record not associated with current event, discarding.") tests/test_unified2.py::FileEventReaderTestCase::test tests/test_unified2.py::FileEventReaderTestCase::test_iteration /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/unified2.py:682: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead LOG.warn("idstools.unified2.FileEventReader has been deprecated") tests/test_unified2.py::SpoolEventReaderTestCase::test_bookmarking tests/test_unified2.py::SpoolEventReaderTestCase::test_bookmarking tests/test_unified2.py::SpoolEventReaderTestCase::test_eof tests/test_unified2.py::SpoolEventReaderTestCase::test_with_file_rotation tests/test_unified2.py::SpoolEventReaderTestCase::test_with_growing_file /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/lib/python3.11/site-packages/idstools/unified2.py:889: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead LOG.warn("idstools.unified2.SpoolEventReader has been deprecated") -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================== 76 passed, 2 skipped, 23 warnings in 9.53s ================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-idstools-0.6.4-2.ocs23.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.2daO94 + umask 022 + cd /builddir/build/BUILD + cd py-idstools-0.6.4 + DOCDIR=/builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/share/doc/python3-idstools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/share/doc/python3-idstools + cp -pr README.rst /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch/usr/share/doc/python3-idstools + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-idstools = 0.6.4-2.ocs23 python3-idstools = 0.6.4-2.ocs23 python3.11-idstools = 0.6.4-2.ocs23 python3.11dist(idstools) = 0.6.4 python3dist(idstools) = 0.6.4 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 python(abi) = 3.11 Conflicts: python2-idstools < 0.6.3-7 Obsoletes: python3.11-idstools < 0.6.4-2.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-idstools-0.6.4-2.ocs23.noarch Wrote: /builddir/build/RPMS/python3-idstools-0.6.4-2.ocs23.noarch.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0