Mock Version: 3.5
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs  --target x86_64 --nodeps /builddir/build/SPECS/ioc-writer.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1674269711.533244/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7efef6c14250>timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.j8fku0q7:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True)
Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.j8fku0q7:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '2e4487ded1ed4dfb8fd1decc02689cc4', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1674269711.533244/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.j8fku0q7:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs  --target x86_64 --nodeps /builddir/build/SPECS/ioc-writer.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: x86_64
Building for target x86_64
setting SOURCE_DATE_EPOCH=1674086400
Wrote: /builddir/build/SRPMS/ioc-writer-0.3.3-16.fc38.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb  --target x86_64 --nodeps /builddir/build/SPECS/ioc-writer.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1674269711.533244/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7efef6c14250>timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.j8fku0q7:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True)
Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.j8fku0q7:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0444e623a3784254ab7d96940d101fa9', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1674269711.533244/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.j8fku0q7:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb  --target x86_64 --nodeps /builddir/build/SPECS/ioc-writer.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: x86_64
Building for target x86_64
setting SOURCE_DATE_EPOCH=1674086400
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yC3ABc
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf ioc_writer-0.3.3
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ioc_writer-0.3.3.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd ioc_writer-0.3.3
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.B5kLKR
+ 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  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/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  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/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 -specs=/usr/lib/rpm/redhat/redhat-package-notes'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd ioc_writer-0.3.3
+ 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  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -specs=/usr/lib/rpm/redhat/redhat-package-notes'
+ /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP'
running build
running build_py
creating build
creating build/lib
creating build/lib/ioc_writer
copying ioc_writer/ioc_et.py -> build/lib/ioc_writer
copying ioc_writer/ioc_common.py -> build/lib/ioc_writer
copying ioc_writer/ioc_api.py -> build/lib/ioc_writer
copying ioc_writer/__init__.py -> build/lib/ioc_writer
creating build/lib/ioc_writer/utils
copying ioc_writer/utils/xmlutils.py -> build/lib/ioc_writer/utils
copying ioc_writer/utils/__init__.py -> build/lib/ioc_writer/utils
creating build/lib/ioc_writer/scripts
copying ioc_writer/scripts/openioc_11_to_10.py -> build/lib/ioc_writer/scripts
copying ioc_writer/scripts/openioc_10_to_11.py -> build/lib/ioc_writer/scripts
copying ioc_writer/scripts/iocdump.py -> build/lib/ioc_writer/scripts
copying ioc_writer/scripts/__init__.py -> build/lib/ioc_writer/scripts
creating build/lib/ioc_writer/managers
copying ioc_writer/managers/upgrade_10.py -> build/lib/ioc_writer/managers
copying ioc_writer/managers/downgrade_11.py -> build/lib/ioc_writer/managers
copying ioc_writer/managers/__init__.py -> build/lib/ioc_writer/managers
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.tC5JUw
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64
++ dirname /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64
+ 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  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/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  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/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 -specs=/usr/lib/rpm/redhat/redhat-package-notes'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd ioc_writer-0.3.3
+ 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  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -specs=/usr/lib/rpm/redhat/redhat-package-notes'
+ /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64 --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/ioc-writer-0.3.3-16.fc38.x86_64/usr
creating /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/lib
creating /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/lib/python3.11
creating /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/lib/python3.11/site-packages
creating /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/lib/python3.11/site-packages/ioc_writer
creating /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/lib/python3.11/site-packages/ioc_writer/managers
copying build/lib/ioc_writer/managers/__init__.py -> /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/lib/python3.11/site-packages/ioc_writer/managers
copying build/lib/ioc_writer/managers/downgrade_11.py -> /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/lib/python3.11/site-packages/ioc_writer/managers
copying build/lib/ioc_writer/managers/upgrade_10.py -> /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/lib/python3.11/site-packages/ioc_writer/managers
creating /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/lib/python3.11/site-packages/ioc_writer/scripts
copying build/lib/ioc_writer/scripts/__init__.py -> /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/lib/python3.11/site-packages/ioc_writer/scripts
copying build/lib/ioc_writer/scripts/iocdump.py -> /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/lib/python3.11/site-packages/ioc_writer/scripts
copying build/lib/ioc_writer/scripts/openioc_10_to_11.py -> /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/lib/python3.11/site-packages/ioc_writer/scripts
copying build/lib/ioc_writer/scripts/openioc_11_to_10.py -> /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/lib/python3.11/site-packages/ioc_writer/scripts
creating /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/lib/python3.11/site-packages/ioc_writer/utils
copying build/lib/ioc_writer/utils/__init__.py -> /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/lib/python3.11/site-packages/ioc_writer/utils
copying build/lib/ioc_writer/utils/xmlutils.py -> /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/lib/python3.11/site-packages/ioc_writer/utils
copying build/lib/ioc_writer/__init__.py -> /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/lib/python3.11/site-packages/ioc_writer
copying build/lib/ioc_writer/ioc_api.py -> /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/lib/python3.11/site-packages/ioc_writer
copying build/lib/ioc_writer/ioc_common.py -> /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/lib/python3.11/site-packages/ioc_writer
copying build/lib/ioc_writer/ioc_et.py -> /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/lib/python3.11/site-packages/ioc_writer
byte-compiling /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/lib/python3.11/site-packages/ioc_writer/managers/__init__.py to __init__.cpython-311.pyc
byte-compiling /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/lib/python3.11/site-packages/ioc_writer/managers/downgrade_11.py to downgrade_11.cpython-311.pyc
byte-compiling /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/lib/python3.11/site-packages/ioc_writer/managers/upgrade_10.py to upgrade_10.cpython-311.pyc
byte-compiling /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/lib/python3.11/site-packages/ioc_writer/scripts/__init__.py to __init__.cpython-311.pyc
byte-compiling /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/lib/python3.11/site-packages/ioc_writer/scripts/iocdump.py to iocdump.cpython-311.pyc
byte-compiling /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/lib/python3.11/site-packages/ioc_writer/scripts/openioc_10_to_11.py to openioc_10_to_11.cpython-311.pyc
byte-compiling /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/lib/python3.11/site-packages/ioc_writer/scripts/openioc_11_to_10.py to openioc_11_to_10.cpython-311.pyc
byte-compiling /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/lib/python3.11/site-packages/ioc_writer/utils/__init__.py to __init__.cpython-311.pyc
byte-compiling /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/lib/python3.11/site-packages/ioc_writer/utils/xmlutils.py to xmlutils.cpython-311.pyc
byte-compiling /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/lib/python3.11/site-packages/ioc_writer/__init__.py to __init__.cpython-311.pyc
byte-compiling /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/lib/python3.11/site-packages/ioc_writer/ioc_api.py to ioc_api.cpython-311.pyc
byte-compiling /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/lib/python3.11/site-packages/ioc_writer/ioc_common.py to ioc_common.cpython-311.pyc
byte-compiling /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/lib/python3.11/site-packages/ioc_writer/ioc_et.py to ioc_et.cpython-311.pyc
writing byte-compilation script '/tmp/tmpytzz_38k.py'
/usr/bin/python3 /tmp/tmpytzz_38k.py
removing /tmp/tmpytzz_38k.py
running install_egg_info
running egg_info
creating ioc_writer.egg-info
writing ioc_writer.egg-info/PKG-INFO
writing dependency_links to ioc_writer.egg-info/dependency_links.txt
writing entry points to ioc_writer.egg-info/entry_points.txt
writing requirements to ioc_writer.egg-info/requires.txt
writing top-level names to ioc_writer.egg-info/top_level.txt
writing manifest file 'ioc_writer.egg-info/SOURCES.txt'
reading manifest file 'ioc_writer.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'ioc_writer.egg-info/SOURCES.txt'
Copying ioc_writer.egg-info to /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/lib/python3.11/site-packages/ioc_writer-0.3.3-py3.11.egg-info
running install_scripts
Installing iocdump script to /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/bin
Installing openioc_10_to_11 script to /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/bin
Installing openioc_11_to_10 script to /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/bin
+ rm -rfv /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/bin/__pycache__
+ /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.3.3-16.fc38 --unique-debug-suffix -0.3.3-16.fc38.x86_64 --unique-debug-src-base ioc-writer-0.3.3-16.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/ioc_writer-0.3.3
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 -j2
Bytecompiling .py files below /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/lib/python3.11 using python3.11
+ /usr/lib/rpm/redhat/brp-python-hardlink
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.nVQOd1
+ 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  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/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  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/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 -specs=/usr/lib/rpm/redhat/redhat-package-notes'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd ioc_writer-0.3.3
+ /usr/bin/python3 setup.py test
running test
WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
running egg_info
writing ioc_writer.egg-info/PKG-INFO
writing dependency_links to ioc_writer.egg-info/dependency_links.txt
writing entry points to ioc_writer.egg-info/entry_points.txt
writing requirements to ioc_writer.egg-info/requires.txt
writing top-level names to ioc_writer.egg-info/top_level.txt
reading manifest file 'ioc_writer.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'ioc_writer.egg-info/SOURCES.txt'
running build_ext
test_downgrade (tests.tests.TestDowngrade.test_downgrade) ... loading IOCs from: /builddir/build/BUILD/ioc_writer-0.3.3/tests/assets/openioc_11_assets
Parsed [4] IOCs
Converting IOCs from 1.1 to 1.0.
ok
loading IOC from: /builddir/build/BUILD/ioc_writer-0.3.3/tests/assets/openioc_11_assets/d7ec102e-b8df-41d5-8189-352f378f0cce.ioc
test_schema_format (tests.tests.TestDowngrade.test_schema_format)
Ensures that the format of child nodes is correct. ... Parsed [1] IOCs
Converting IOCs from 1.1 to 1.0.
ok
test_true_schema_validation (tests.tests.TestDowngrade.test_true_schema_validation) ... loading IOCs from: /builddir/build/BUILD/ioc_writer-0.3.3/tests/assets/openioc_11_assets
Parsed [4] IOCs
Converting IOCs from 1.1 to 1.0.
Validating serialized form of: d7ec102e-b8df-41d5-8189-352f378f0cce
Validating serialized form of: c158ef8c-e664-43c5-b71d-3488a3325fcb
Validating serialized form of: 55075e99-273a-4b81-b92b-672be6666474
Validating serialized form of: 378f0cce-b8df-41d5-8189-3d7ec102e52f
ok
test_display_existing (tests.tests.TestIOCAPIFuncs.test_display_existing) ... ok
test_display_existing_params (tests.tests.TestIOCAPIFuncs.test_display_existing_params) ... ok
test_display_existing_sep (tests.tests.TestIOCAPIFuncs.test_display_existing_sep) ... ok
test_display_new (tests.tests.TestIOCAPIFuncs.test_display_new) ... ok
test_make_i_node (tests.tests.TestIOCAPIFuncs.test_make_i_node) ... ok
test_make_i_node_bad (tests.tests.TestIOCAPIFuncs.test_make_i_node_bad) ... ok
test_make_ii_node (tests.tests.TestIOCAPIFuncs.test_make_ii_node) ... ok
test_make_ii_node_bad_condition (tests.tests.TestIOCAPIFuncs.test_make_ii_node_bad_condition) ... ok
test_ioc_class_creation_blank (tests.tests.TestIOCApi.test_ioc_class_creation_blank) ... ok
test_ioc_class_creation_file (tests.tests.TestIOCApi.test_ioc_class_creation_file) ... ok
test_ioc_class_creation_provided_params (tests.tests.TestIOCApi.test_ioc_class_creation_provided_params) ... ok
test_schema_validation_from_api (tests.tests.TestIOCApi.test_schema_validation_from_api) ... ok
test_schema_validation_from_api_fail (tests.tests.TestIOCApi.test_schema_validation_from_api_fail) ... ok
test_schema_validation_from_api_fix_ordering_failure (tests.tests.TestIOCApi.test_schema_validation_from_api_fix_ordering_failure) ... ok
test_schema_validation_from_file (tests.tests.TestIOCApi.test_schema_validation_from_file) ... ok
test_custom_iocm (tests.tests.TestIOCManager.test_custom_iocm) ... b'<?xml version=\'1.0\' encoding=\'UTF-8\'?>\n<OpenIOC xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://openioc.org/schemas/OpenIOC_1.1" id="1234" last-modified="2023-01-21T02:57:23" published-date="0001-01-01T00:00:00">\n  <metadata>\n    <short_description>Test name</short_description>\n    <description>Test description</description>\n    <keywords>Foo Bar Baz</keywords>\n    <authored_by>unittest</authored_by>\n    <authored_date>2023-01-21T02:57:23</authored_date>\n    <links>\n      <link rel="testRel">testValue</link>\n      <link rel="testRel2" href="https://www.fireeye.com">testValue2</link>\n    </links>\n  </metadata>\n  <criteria>\n    <Indicator id="b2bd8677-e06e-41a2-b265-9bd540a0e215" operator="OR">\n      <IndicatorItem id="21c9335a-f93a-4dcf-9146-ceb1bf34bdda" condition="is" preserve-case="false" negate="false">\n        <Context document="FileItem" search="FileItem/Md5sum" type="mir"/>\n        <Content type="string">foobar.exe</Content>\n      </IndicatorItem>\n      <IndicatorItem id="20028652-45bc-4922-86c0-ac272e463888" condition="is" preserve-case="false" negate="false">\n        <Context document="FileItem" search="FileItem/Md5sum" type="mir"/>\n        <Content type="string">test text</Content>\n      </IndicatorItem>\n      <Indicator id="EmptyANDnode" operator="AND"/>\n      <Indicator id="ANDnode1" operator="AND">\n        <IndicatorItem id="2265369a-3daf-4106-8803-985af256447b" condition="is" preserve-case="false" negate="false">\n          <Context document="FileItem" search="FileItem/Md5sum" type="mir"/>\n          <Content type="string">and node 1 content 1</Content>\n        </IndicatorItem>\n        <IndicatorItem id="f84bdc36-0372-4a7b-b185-7ebe7fd83e10" condition="is" preserve-case="false" negate="false">\n          <Context document="FileItem" search="FileItem/Md5sum" type="mir"/>\n          <Content type="string">and node 1 content 2</Content>\n        </IndicatorItem>\n      </Indicator>\n      <Indicator id="ANDnode2" operator="AND">\n        <IndicatorItem id="2162c7fd-91e7-42a0-aa55-317aed17bb5b" condition="is" preserve-case="false" negate="false">\n          <Context document="FileItem" search="FileItem/Md5sum" type="mir"/>\n          <Content type="string">test text</Content>\n        </IndicatorItem>\n        <Indicator id="ORnode1" operator="OR">\n          <IndicatorItem id="589cccff-2c01-4339-b249-9ff5aaedb1f7" condition="is" preserve-case="false" negate="false">\n            <Context document="FileItem" search="FileItem/Md5sum" type="mir"/>\n            <Content type="string">test text</Content>\n          </IndicatorItem>\n          <IndicatorItem id="2bffc3e4-2802-4b77-8d0b-0e3de331e536" condition="is" preserve-case="false" negate="false">\n            <Context document="FileItem" search="FileItem/Md5sum" type="mir"/>\n            <Content type="string">test text</Content>\n          </IndicatorItem>\n          <Indicator id="InnderANDnode" operator="AND">\n            <IndicatorItem id="8d89f1d9-f7a4-44cd-a158-c7d2ab69487d" condition="is" preserve-case="false" negate="false">\n              <Context document="FileItem" search="FileItem/Md5sum" type="mir"/>\n              <Content type="string">test text</Content>\n            </IndicatorItem>\n            <IndicatorItem id="1940af53-a75e-43c0-b044-75f8f8dde456" condition="is" preserve-case="false" negate="false">\n              <Context document="FileItem" search="FileItem/Md5sum" type="mir"/>\n              <Content type="string">test text</Content>\n            </IndicatorItem>\n          </Indicator>\n        </Indicator>\n      </Indicator>\n    </Indicator>\n  </criteria>\n  <parameters/>\n</OpenIOC>\n'
loading IOCs from: /builddir/build/BUILD/ioc_writer-0.3.3/tests/assets/openioc_11_assets
Parsed [4] IOCs
loading IOCs from: /builddir/build/BUILD/ioc_writer-0.3.3/tests/assets/openioc_11_assets
Parsed [4] IOCs
ok
test_custom_iocm_fail (tests.tests.TestIOCManager.test_custom_iocm_fail) ... ok
test_iocm (tests.tests.TestIOCManager.test_iocm) ... ok
test_make_authored_by_node (tests.tests.TestIocEt.test_make_authored_by_node) ... ok
test_make_authored_date_node (tests.tests.TestIocEt.test_make_authored_date_node) ... ok
test_make_content_node (tests.tests.TestIocEt.test_make_content_node) ... ok
test_make_context_node (tests.tests.TestIocEt.test_make_context_node) ... ok
test_make_context_node_param (tests.tests.TestIocEt.test_make_context_node_param) ... ok
test_make_criteria_node (tests.tests.TestIocEt.test_make_criteria_node) ... ok
test_make_criteria_node_invalid (tests.tests.TestIocEt.test_make_criteria_node_invalid) ... ok
test_make_description_node (tests.tests.TestIocEt.test_make_description_node) ... ok
test_make_ioc_root (tests.tests.TestIocEt.test_make_ioc_root) ... ok
test_make_ioc_root_provided_id (tests.tests.TestIocEt.test_make_ioc_root_provided_id) ... ok
test_make_keywords_node (tests.tests.TestIocEt.test_make_keywords_node) ... ok
test_make_link_node (tests.tests.TestIocEt.test_make_link_node) ... ok
test_make_links_node (tests.tests.TestIocEt.test_make_links_node) ... ok
test_make_metadata_node (tests.tests.TestIocEt.test_make_metadata_node) ... ok
test_make_metadata_node_provided_data (tests.tests.TestIocEt.test_make_metadata_node_provided_data) ... ok
test_make_parameters_node (tests.tests.TestIocEt.test_make_parameters_node) ... ok
test_make_parm_node (tests.tests.TestIocEt.test_make_parm_node) ... ok
test_make_short_description_node (tests.tests.TestIocEt.test_make_short_description_node) ... ok
----------------------------------------------------------------------
Ran 39 tests in 0.019s
OK
+ RPM_EC=0
++ jobs -p
+ exit 0
Processing files: ioc-writer-0.3.3-16.fc38.noarch
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.lb5MMK
+ umask 022
+ cd /builddir/build/BUILD
+ cd ioc_writer-0.3.3
+ DOCDIR=/builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/share/doc/ioc-writer
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/share/doc/ioc-writer
+ cp -pr README.md /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/share/doc/ioc-writer
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.a0QdTz
+ umask 022
+ cd /builddir/build/BUILD
+ cd ioc_writer-0.3.3
+ LICENSEDIR=/builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/share/licenses/ioc-writer
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/share/licenses/ioc-writer
+ cp -pr LICENSE /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64/usr/share/licenses/ioc-writer
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: ioc-writer = 0.3.3-16.fc38 python3.11dist(ioc-writer) = 0.3.3 python3dist(ioc-writer) = 0.3.3
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 python3.11dist(lxml)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64
Wrote: /builddir/build/RPMS/ioc-writer-0.3.3-16.fc38.noarch.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.WM2lVg
+ umask 022
+ cd /builddir/build/BUILD
+ cd ioc_writer-0.3.3
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/ioc-writer-0.3.3-16.fc38.x86_64
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.CdLJwt
+ umask 022
+ cd /builddir/build/BUILD
+ rm -rf ioc_writer-0.3.3 ioc_writer-0.3.3.gemspec
+ RPM_EC=0
++ jobs -p
+ exit 0
Child return code was: 0