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-bleach.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-59993-2251/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 0x7f03753c6ec0>timeout=86400uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tlzmhenk:/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=False)
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tlzmhenk:/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', '77ffa51d1372421dad7cb813aa62f29d', '-D', '/var/lib/mock/dist-ocs23-python311-build-59993-2251/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tlzmhenk:/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 --noclean --target noarch --nodeps /builddir/build/SPECS/python-bleach.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: noarch
Building for target noarch
Wrote: /builddir/build/SRPMS/python-bleach-6.0.0-2.ocs23.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-bleach.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-59993-2251/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 0x7f03753c6ec0>timeout=86400uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tlzmhenk:/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=TrueraiseExc=FalseprintOutput=False)
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tlzmhenk:/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', 'd0b4843b917641feb8a873571c6bbadb', '-D', '/var/lib/mock/dist-ocs23-python311-build-59993-2251/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tlzmhenk:/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 -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-bleach.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: noarch
Building for target noarch
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sEc5Un
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf bleach-6.0.0
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/bleach-6.0.0.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd bleach-6.0.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ rm -rf bleach.egg-info
+ rm -r bleach/_vendor/
+ sed -i s/bleach._vendor.html5lib/html5lib/g bleach/html5lib_shim.py tests/test_clean.py
+ sed -i s/bleach._vendor.parse/urllib.parse/g bleach/parse_shim.py
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.slsBGw
+ umask 022
+ cd /builddir/build/BUILD
+ cd bleach-6.0.0
+ echo pyproject-rpm-macros
+ echo python3-devel
+ echo 'python3dist(pip) >= 19'
+ echo 'python3dist(packaging)'
+ '[' -f pyproject.toml ']'
+ '[' -f setup.py ']'
+ echo 'python3dist(setuptools) >= 40.8'
+ echo 'python3dist(wheel)'
+ rm -rfv '*.dist-info/'
+ '[' -f /usr/bin/python3 ']'
+ RPM_TOXENV=py311
+ HOSTNAME=rpmbuild
+ /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3
Handling setuptools >= 40.8 from default build backend
Requirement satisfied: setuptools >= 40.8
   (installed: setuptools 65.5.1)
Handling wheel from default build backend
Requirement satisfied: wheel
   (installed: wheel 0.37.0)
warning: no files found matching '*.rst' under directory 'bleach'
warning: no files found matching '*.sh' under directory 'bleach'
warning: no files found matching '*.txt' under directory 'bleach'
warning: no files found matching 'INSTALLER' under directory 'bleach'
warning: no files found matching 'METADATA' under directory 'bleach'
warning: no files found matching 'RECORD' under directory 'bleach'
warning: no files found matching 'WHEEL' under directory 'bleach'
warning: no files found matching 'LICENSE' under directory 'bleach'
warning: no files found matching 'REQUESTED' under directory 'bleach'
warning: no files found matching '*.SHA256SUM' under directory 'bleach'
HOOK STDOUT: running egg_info
HOOK STDOUT: creating bleach.egg-info
HOOK STDOUT: writing bleach.egg-info/PKG-INFO
HOOK STDOUT: writing dependency_links to bleach.egg-info/dependency_links.txt
HOOK STDOUT: writing requirements to bleach.egg-info/requires.txt
HOOK STDOUT: writing top-level names to bleach.egg-info/top_level.txt
HOOK STDOUT: writing manifest file 'bleach.egg-info/SOURCES.txt'
HOOK STDOUT: reading manifest file 'bleach.egg-info/SOURCES.txt'
HOOK STDOUT: reading manifest template 'MANIFEST.in'
HOOK STDOUT: adding license file 'LICENSE'
HOOK STDOUT: writing manifest file 'bleach.egg-info/SOURCES.txt'
Handling wheel from get_requires_for_build_wheel
Requirement satisfied: wheel
   (installed: wheel 0.37.0)
warning: no files found matching '*.rst' under directory 'bleach'
warning: no files found matching '*.sh' under directory 'bleach'
warning: no files found matching '*.txt' under directory 'bleach'
warning: no files found matching 'INSTALLER' under directory 'bleach'
warning: no files found matching 'METADATA' under directory 'bleach'
warning: no files found matching 'RECORD' under directory 'bleach'
warning: no files found matching 'WHEEL' under directory 'bleach'
warning: no files found matching 'LICENSE' under directory 'bleach'
warning: no files found matching 'REQUESTED' under directory 'bleach'
warning: no files found matching '*.SHA256SUM' under directory 'bleach'
HOOK STDOUT: running dist_info
HOOK STDOUT: writing bleach.egg-info/PKG-INFO
HOOK STDOUT: writing dependency_links to bleach.egg-info/dependency_links.txt
HOOK STDOUT: writing requirements to bleach.egg-info/requires.txt
HOOK STDOUT: writing top-level names to bleach.egg-info/top_level.txt
HOOK STDOUT: reading manifest file 'bleach.egg-info/SOURCES.txt'
HOOK STDOUT: reading manifest template 'MANIFEST.in'
HOOK STDOUT: adding license file 'LICENSE'
HOOK STDOUT: writing manifest file 'bleach.egg-info/SOURCES.txt'
HOOK STDOUT: creating '/builddir/build/BUILD/bleach-6.0.0/bleach-6.0.0.dist-info'
HOOK STDOUT: adding license file "LICENSE" (matched pattern "LICEN[CS]E*")
Handling six (>=1.9.0) from wheel metadata: Requires-Dist
Requirement satisfied: six (>=1.9.0)
   (installed: six 1.16.0)
Handling webencodings from wheel metadata: Requires-Dist
Requirement satisfied: webencodings
   (installed: webencodings 0.5.1)
Handling tinycss2 (<1.2,>=1.1.0) ; extra == 'css' from wheel metadata: Requires-Dist
Ignoring alien requirement: tinycss2 (<1.2,>=1.1.0) ; extra == 'css'
+ RPM_EC=0
++ jobs -p
+ exit 0
Wrote: /builddir/build/SRPMS/python-bleach-6.0.0-2.ocs23.buildreqs.nosrc.rpm
Child return code was: 11
Dynamic buildrequires detected
Going to install missing buildrequires. See root.log for details.
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-bleach.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-59993-2251/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 0x7f03753c6ec0>timeout=86400uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tlzmhenk:/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=False)
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tlzmhenk:/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', '9d5e6fe427e64dd5861ee99c9cac55b9', '-D', '/var/lib/mock/dist-ocs23-python311-build-59993-2251/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tlzmhenk:/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 -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-bleach.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: noarch
Building for target noarch
Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.ZkNeol
+ umask 022
+ cd /builddir/build/BUILD
+ cd bleach-6.0.0
+ echo pyproject-rpm-macros
+ echo python3-devel
+ echo 'python3dist(pip) >= 19'
+ echo 'python3dist(packaging)'
+ '[' -f pyproject.toml ']'
+ '[' -f setup.py ']'
+ echo 'python3dist(setuptools) >= 40.8'
+ echo 'python3dist(wheel)'
+ rm -rfv bleach-6.0.0.dist-info/
removed 'bleach-6.0.0.dist-info/METADATA'
removed 'bleach-6.0.0.dist-info/top_level.txt'
removed 'bleach-6.0.0.dist-info/LICENSE'
removed directory 'bleach-6.0.0.dist-info/'
+ '[' -f /usr/bin/python3 ']'
+ RPM_TOXENV=py311
+ HOSTNAME=rpmbuild
+ /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3
Handling setuptools >= 40.8 from default build backend
Requirement satisfied: setuptools >= 40.8
   (installed: setuptools 65.5.1)
Handling wheel from default build backend
Requirement satisfied: wheel
   (installed: wheel 0.37.0)
warning: no files found matching '*.rst' under directory 'bleach'
warning: no files found matching '*.sh' under directory 'bleach'
warning: no files found matching '*.txt' under directory 'bleach'
warning: no files found matching 'INSTALLER' under directory 'bleach'
warning: no files found matching 'METADATA' under directory 'bleach'
warning: no files found matching 'RECORD' under directory 'bleach'
warning: no files found matching 'WHEEL' under directory 'bleach'
warning: no files found matching 'LICENSE' under directory 'bleach'
warning: no files found matching 'REQUESTED' under directory 'bleach'
warning: no files found matching '*.SHA256SUM' under directory 'bleach'
HOOK STDOUT: running egg_info
HOOK STDOUT: writing bleach.egg-info/PKG-INFO
HOOK STDOUT: writing dependency_links to bleach.egg-info/dependency_links.txt
HOOK STDOUT: writing requirements to bleach.egg-info/requires.txt
HOOK STDOUT: writing top-level names to bleach.egg-info/top_level.txt
HOOK STDOUT: reading manifest file 'bleach.egg-info/SOURCES.txt'
HOOK STDOUT: reading manifest template 'MANIFEST.in'
HOOK STDOUT: adding license file 'LICENSE'
HOOK STDOUT: writing manifest file 'bleach.egg-info/SOURCES.txt'
Handling wheel from get_requires_for_build_wheel
Requirement satisfied: wheel
   (installed: wheel 0.37.0)
warning: no files found matching '*.rst' under directory 'bleach'
warning: no files found matching '*.sh' under directory 'bleach'
warning: no files found matching '*.txt' under directory 'bleach'
warning: no files found matching 'INSTALLER' under directory 'bleach'
warning: no files found matching 'METADATA' under directory 'bleach'
warning: no files found matching 'RECORD' under directory 'bleach'
warning: no files found matching 'WHEEL' under directory 'bleach'
warning: no files found matching 'LICENSE' under directory 'bleach'
warning: no files found matching 'REQUESTED' under directory 'bleach'
warning: no files found matching '*.SHA256SUM' under directory 'bleach'
HOOK STDOUT: running dist_info
HOOK STDOUT: writing bleach.egg-info/PKG-INFO
HOOK STDOUT: writing dependency_links to bleach.egg-info/dependency_links.txt
HOOK STDOUT: writing requirements to bleach.egg-info/requires.txt
HOOK STDOUT: writing top-level names to bleach.egg-info/top_level.txt
HOOK STDOUT: reading manifest file 'bleach.egg-info/SOURCES.txt'
HOOK STDOUT: reading manifest template 'MANIFEST.in'
HOOK STDOUT: adding license file 'LICENSE'
HOOK STDOUT: writing manifest file 'bleach.egg-info/SOURCES.txt'
HOOK STDOUT: creating '/builddir/build/BUILD/bleach-6.0.0/bleach-6.0.0.dist-info'
HOOK STDOUT: adding license file "LICENSE" (matched pattern "LICEN[CS]E*")
Handling six (>=1.9.0) from wheel metadata: Requires-Dist
Requirement satisfied: six (>=1.9.0)
   (installed: six 1.16.0)
Handling webencodings from wheel metadata: Requires-Dist
Requirement satisfied: webencodings
   (installed: webencodings 0.5.1)
Handling tinycss2 (<1.2,>=1.1.0) ; extra == 'css' from wheel metadata: Requires-Dist
Ignoring alien requirement: tinycss2 (<1.2,>=1.1.0) ; extra == 'css'
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WHRUVs
+ umask 022
+ cd /builddir/build/BUILD
+ PYTHONPATH=:/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/
+ export PYTHONPATH
+ 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  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 bleach-6.0.0
+ mkdir -p /builddir/build/BUILD/bleach-6.0.0/.pyproject-builddir
+ 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  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1'
+ TMPDIR=/builddir/build/BUILD/bleach-6.0.0/.pyproject-builddir
+ /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/bleach-6.0.0/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose .
Processing /builddir/build/BUILD/bleach-6.0.0
  Preparing metadata (pyproject.toml): started
  Running command Preparing metadata (pyproject.toml)
  running dist_info
  creating /builddir/build/BUILD/bleach-6.0.0/.pyproject-builddir/pip-modern-metadata-b130l3qi/bleach.egg-info
  writing /builddir/build/BUILD/bleach-6.0.0/.pyproject-builddir/pip-modern-metadata-b130l3qi/bleach.egg-info/PKG-INFO
  writing dependency_links to /builddir/build/BUILD/bleach-6.0.0/.pyproject-builddir/pip-modern-metadata-b130l3qi/bleach.egg-info/dependency_links.txt
  writing requirements to /builddir/build/BUILD/bleach-6.0.0/.pyproject-builddir/pip-modern-metadata-b130l3qi/bleach.egg-info/requires.txt
  writing top-level names to /builddir/build/BUILD/bleach-6.0.0/.pyproject-builddir/pip-modern-metadata-b130l3qi/bleach.egg-info/top_level.txt
  writing manifest file '/builddir/build/BUILD/bleach-6.0.0/.pyproject-builddir/pip-modern-metadata-b130l3qi/bleach.egg-info/SOURCES.txt'
  reading manifest file '/builddir/build/BUILD/bleach-6.0.0/.pyproject-builddir/pip-modern-metadata-b130l3qi/bleach.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no files found matching '*.rst' under directory 'bleach'
  warning: no files found matching '*.sh' under directory 'bleach'
  warning: no files found matching '*.txt' under directory 'bleach'
  warning: no files found matching 'INSTALLER' under directory 'bleach'
  warning: no files found matching 'METADATA' under directory 'bleach'
  warning: no files found matching 'RECORD' under directory 'bleach'
  warning: no files found matching 'WHEEL' under directory 'bleach'
  warning: no files found matching 'LICENSE' under directory 'bleach'
  warning: no files found matching 'REQUESTED' under directory 'bleach'
  warning: no files found matching '*.SHA256SUM' under directory 'bleach'
  adding license file 'LICENSE'
  writing manifest file '/builddir/build/BUILD/bleach-6.0.0/.pyproject-builddir/pip-modern-metadata-b130l3qi/bleach.egg-info/SOURCES.txt'
  creating '/builddir/build/BUILD/bleach-6.0.0/.pyproject-builddir/pip-modern-metadata-b130l3qi/bleach-6.0.0.dist-info'
  adding license file "LICENSE" (matched pattern "LICEN[CS]E*")
  Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: bleach
  Building wheel for bleach (pyproject.toml): started
  Running command Building wheel for bleach (pyproject.toml)
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib
  creating build/lib/bleach
  copying bleach/linkifier.py -> build/lib/bleach
  copying bleach/html5lib_shim.py -> build/lib/bleach
  copying bleach/sanitizer.py -> build/lib/bleach
  copying bleach/__init__.py -> build/lib/bleach
  copying bleach/css_sanitizer.py -> build/lib/bleach
  copying bleach/callbacks.py -> build/lib/bleach
  copying bleach/parse_shim.py -> build/lib/bleach
  running egg_info
  writing bleach.egg-info/PKG-INFO
  writing dependency_links to bleach.egg-info/dependency_links.txt
  writing requirements to bleach.egg-info/requires.txt
  writing top-level names to bleach.egg-info/top_level.txt
  reading manifest file 'bleach.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no files found matching '*.rst' under directory 'bleach'
  warning: no files found matching '*.sh' under directory 'bleach'
  warning: no files found matching '*.txt' under directory 'bleach'
  warning: no files found matching 'INSTALLER' under directory 'bleach'
  warning: no files found matching 'METADATA' under directory 'bleach'
  warning: no files found matching 'RECORD' under directory 'bleach'
  warning: no files found matching 'WHEEL' under directory 'bleach'
  warning: no files found matching 'LICENSE' under directory 'bleach'
  warning: no files found matching 'REQUESTED' under directory 'bleach'
  warning: no files found matching '*.SHA256SUM' under directory 'bleach'
  adding license file 'LICENSE'
  writing manifest file 'bleach.egg-info/SOURCES.txt'
  installing to build/bdist.linux-x86_64/wheel
  running install
  running install_lib
  creating build/bdist.linux-x86_64
  creating build/bdist.linux-x86_64/wheel
  creating build/bdist.linux-x86_64/wheel/bleach
  copying build/lib/bleach/linkifier.py -> build/bdist.linux-x86_64/wheel/bleach
  copying build/lib/bleach/html5lib_shim.py -> build/bdist.linux-x86_64/wheel/bleach
  copying build/lib/bleach/sanitizer.py -> build/bdist.linux-x86_64/wheel/bleach
  copying build/lib/bleach/__init__.py -> build/bdist.linux-x86_64/wheel/bleach
  copying build/lib/bleach/css_sanitizer.py -> build/bdist.linux-x86_64/wheel/bleach
  copying build/lib/bleach/callbacks.py -> build/bdist.linux-x86_64/wheel/bleach
  copying build/lib/bleach/parse_shim.py -> build/bdist.linux-x86_64/wheel/bleach
  running install_egg_info
  Copying bleach.egg-info to build/bdist.linux-x86_64/wheel/bleach-6.0.0-py3.11.egg-info
  running install_scripts
  adding license file "LICENSE" (matched pattern "LICEN[CS]E*")
  creating build/bdist.linux-x86_64/wheel/bleach-6.0.0.dist-info/WHEEL
  creating '/builddir/build/BUILD/bleach-6.0.0/.pyproject-builddir/pip-wheel-s635hbcj/tmp46frvehz/bleach-6.0.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
  adding 'bleach/__init__.py'
  adding 'bleach/callbacks.py'
  adding 'bleach/css_sanitizer.py'
  adding 'bleach/html5lib_shim.py'
  adding 'bleach/linkifier.py'
  adding 'bleach/parse_shim.py'
  adding 'bleach/sanitizer.py'
  adding 'bleach-6.0.0.dist-info/LICENSE'
  adding 'bleach-6.0.0.dist-info/METADATA'
  adding 'bleach-6.0.0.dist-info/WHEEL'
  adding 'bleach-6.0.0.dist-info/top_level.txt'
  adding 'bleach-6.0.0.dist-info/RECORD'
  removing build/bdist.linux-x86_64/wheel
  Building wheel for bleach (pyproject.toml): finished with status 'done'
  Created wheel for bleach: filename=bleach-6.0.0-py3-none-any.whl size=33543 sha256=bfdd48ae0407b01e4ead21166755d6d0341a22a4200120255fc07f80c1c72337
  Stored in directory: /builddir/.cache/pip/wheels/b6/f4/51/0435eb87e166a6d33268f2a3cff9ac047405fcd4cc1f0242bb
Successfully built bleach
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Tk9QkB
+ umask 022
+ cd /builddir/build/BUILD
+ PYTHONPATH=:/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/
+ export PYTHONPATH
+ '[' /builddir/build/BUILDROOT/python-bleach-6.0.0-2.ocs23.noarch '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/python-bleach-6.0.0-2.ocs23.noarch
++ dirname /builddir/build/BUILDROOT/python-bleach-6.0.0-2.ocs23.noarch
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/python-bleach-6.0.0-2.ocs23.noarch
+ cd bleach-6.0.0
++ ls /builddir/build/BUILD/bleach-6.0.0/pyproject-wheeldir/bleach-6.0.0-py3-none-any.whl
++ xargs basename --multiple
++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/'
+ specifier=bleach==6.0.0
+ TMPDIR=/builddir/build/BUILD/bleach-6.0.0/.pyproject-builddir
+ /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-bleach-6.0.0-2.ocs23.noarch --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/bleach-6.0.0/pyproject-wheeldir bleach==6.0.0
Using pip 22.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11)
Looking in links: /builddir/build/BUILD/bleach-6.0.0/pyproject-wheeldir
Processing ./pyproject-wheeldir/bleach-6.0.0-py3-none-any.whl
Installing collected packages: bleach
Successfully installed bleach-6.0.0
+ '[' -d /builddir/build/BUILDROOT/python-bleach-6.0.0-2.ocs23.noarch/usr/bin ']'
+ rm -f /builddir/build/BUILD/pyproject-ghost-distinfo
+ site_dirs=()
+ '[' -d /builddir/build/BUILDROOT/python-bleach-6.0.0-2.ocs23.noarch/usr/lib/python3.11/site-packages ']'
+ site_dirs+=("/usr/lib/python3.11/site-packages")
+ '[' /builddir/build/BUILDROOT/python-bleach-6.0.0-2.ocs23.noarch/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/python-bleach-6.0.0-2.ocs23.noarch/usr/lib/python3.11/site-packages ']'
+ '[' -d /builddir/build/BUILDROOT/python-bleach-6.0.0-2.ocs23.noarch/usr/lib64/python3.11/site-packages ']'
+ for site_dir in ${site_dirs[@]}
+ for distinfo in /builddir/build/BUILDROOT/python-bleach-6.0.0-2.ocs23.noarch$site_dir/*.dist-info
+ echo '%ghost /usr/lib/python3.11/site-packages/bleach-6.0.0.dist-info'
+ sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-bleach-6.0.0-2.ocs23.noarch/usr/lib/python3.11/site-packages/bleach-6.0.0.dist-info/INSTALLER
+ PYTHONPATH=/usr/lib/rpm/OpenCloudOS
+ /usr/bin/python3 -B /usr/lib/rpm/OpenCloudOS/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-bleach-6.0.0-2.ocs23.noarch --record /builddir/build/BUILDROOT/python-bleach-6.0.0-2.ocs23.noarch/usr/lib/python3.11/site-packages/bleach-6.0.0.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record
+ rm -fv /builddir/build/BUILDROOT/python-bleach-6.0.0-2.ocs23.noarch/usr/lib/python3.11/site-packages/bleach-6.0.0.dist-info/RECORD
removed '/builddir/build/BUILDROOT/python-bleach-6.0.0-2.ocs23.noarch/usr/lib/python3.11/site-packages/bleach-6.0.0.dist-info/RECORD'
+ rm -fv /builddir/build/BUILDROOT/python-bleach-6.0.0-2.ocs23.noarch/usr/lib/python3.11/site-packages/bleach-6.0.0.dist-info/REQUESTED
removed '/builddir/build/BUILDROOT/python-bleach-6.0.0-2.ocs23.noarch/usr/lib/python3.11/site-packages/bleach-6.0.0.dist-info/REQUESTED'
++ wc -l /builddir/build/BUILD/pyproject-ghost-distinfo
++ cut -f1 '-d '
+ lines=1
+ '[' 1 -ne 1 ']'
+ /usr/bin/python3 /usr/lib/rpm/OpenCloudOS/pyproject_save_files.py --output-files /builddir/build/BUILD/pyproject-files --output-modules /builddir/build/BUILD/pyproject-modules --buildroot /builddir/build/BUILDROOT/python-bleach-6.0.0-2.ocs23.noarch --sitelib /usr/lib/python3.11/site-packages --sitearch /usr/lib64/python3.11/site-packages --python-version 3.11 --pyproject-record /builddir/build/BUILD/pyproject-record --prefix /usr bleach
+ /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 6.0.0-2.ocs23 --unique-debug-suffix -6.0.0-2.ocs23.noarch --unique-debug-src-base python-bleach-6.0.0-2.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/bleach-6.0.0
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
Bytecompiling .py files below /builddir/build/BUILDROOT/python-bleach-6.0.0-2.ocs23.noarch/usr/lib/python3.11 using python3.11
+ /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0
+ /usr/lib/rpm/OpenCloudOS/brp-python-hardlink
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.CgC8Wy
+ umask 022
+ cd /builddir/build/BUILD
+ PYTHONPATH=:/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/
+ export PYTHONPATH
+ 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  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 bleach-6.0.0
+ 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  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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-bleach-6.0.0-2.ocs23.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
+ PYTHONPATH=/builddir/build/BUILDROOT/python-bleach-6.0.0-2.ocs23.noarch/usr/lib64/python3.11/site-packages:/builddir/build/BUILDROOT/python-bleach-6.0.0-2.ocs23.noarch/usr/lib/python3.11/site-packages::/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/
+ PYTHONDONTWRITEBYTECODE=1
+ PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/bleach-6.0.0/.pyproject-builddir'
+ /usr/bin/pytest -k 'not test_uri_value_allowed_protocols and not test_css_parsing_gauntlet_regex_backtracking'
============================= test session starts ==============================
platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.0.0
rootdir: /builddir/build/BUILD/bleach-6.0.0
configfile: setup.cfg
collected 421 items / 26 deselected / 1 skipped / 395 selected
tests/test_callbacks.py ..........                                       [  2%]
tests/test_clean.py .................................................... [ 15%]
........................................................................ [ 33%]
x....x.x................................................................ [ 52%]
.......................                                                  [ 57%]
tests/test_html5lib_shim.py ...........................                  [ 64%]
tests/test_linkify.py .................................................. [ 77%]
...........................................................              [ 92%]
tests/test_parse_shim.py ........FF...........                           [ 97%]
tests/test_unicode.py .........                                          [100%]
=================================== FAILURES ===================================
_________________ test_urlparse[\t   :foo.com   \n-expected8] __________________
uri = '\t   :foo.com   \n'
expected = ParseResult(scheme='', netloc='', path='   :foo.com   ', params='', query='', fragment='')
    @pytest.mark.parametrize(
        "uri, expected",
        [
            ("", ParseResult()),
            ("http://example\t.\norg", ParseResult(scheme="http", netloc="example.org")),
            (
                "http://user:pass@foo:21/bar;par?b#c",
                ParseResult(
                    scheme="http",
                    netloc="user:pass@foo:21",
                    path="/bar",
                    params="par",
                    query="b",
                    fragment="c",
                ),
            ),
            ("https://test:@test", ParseResult(scheme="https", netloc="test:@test")),
            ("https://:@test", ParseResult(scheme="https", netloc=":@test")),
            (
                "non-special://test:@test/x",
                ParseResult(scheme="non-special", netloc="test:@test", path="/x"),
            ),
            (
                "non-special://:@test/x",
                ParseResult(scheme="non-special", netloc=":@test", path="/x"),
            ),
            ("http:foo.com", ParseResult(scheme="http", path="foo.com")),
            # NOTE(willkg): The wpt tests set the scheme to http becaue that's what
            # the base url is. Since our parser is not using a baseurl, it sets the
            # scheme to "". Further, our parser includes spaces at the beginning,
            # but I don't see that as being problematic.
            ("\t   :foo.com   \n", ParseResult(path="   :foo.com   ")),
            # NOTE(willkg): The wpt tests set the path to "/foo/foo.com" because
            # the base url is at "/foo"
            (" foo.com  ", ParseResult(path=" foo.com  ")),
            ("a:\t foo.com", ParseResult(scheme="a", path=" foo.com")),
            (
                "http://f:21/ b ? d # e ",
                ParseResult(
                    scheme="http", netloc="f:21", path="/ b ", query=" d ", fragment=" e "
                ),
            ),
            (
                "lolscheme:x x#x x",
                ParseResult(scheme="lolscheme", path="x x", fragment="x x"),
            ),
            ("http://f:/c", ParseResult(scheme="http", netloc="f:", path="/c")),
            ("http://f:0/c", ParseResult(scheme="http", netloc="f:0", path="/c")),
            # NOTE(willkg): The wpt tests normalize the 0000000000000 to 0 so the
            # netloc should be "f:0".
            (
                "http://f:00000000000000/c",
                ParseResult(scheme="http", netloc="f:00000000000000", path="/c"),
            ),
            # NOTE(willkg): The wpt tests drop the 0000000000000000000 altogether
            # so the netloc should be "f".
            (
                "http://f:00000000000000000000080/c",
                ParseResult(scheme="http", netloc="f:00000000000000000000080", path="/c"),
            ),
            # This is an invalid ipv6 url
            ("http://2001::1]", ValueError),
            # NOTE(willkg): The wpt tests show this as a parse error, but our
            # parser "parses" it.
            ("http://f:b/c", ParseResult(scheme="http", netloc="f:b", path="/c")),
            # NOTE(willkg): The wpt tests show this as a parse error, but our
            # parser "parses" it.
            ("http://f: /c", ParseResult(scheme="http", netloc="f: ", path="/c")),
            # NOTE(willkg): The wpt tests show this as a parse error, but our
            # parser "parses" it.
            ("http://f:999999/c", ParseResult(scheme="http", netloc="f:999999", path="/c")),
        ],
    )
    def test_urlparse(uri, expected):
    
        if inspect.isclass(expected) and issubclass(expected, BaseException):
            with pytest.raises(expected):
                urlparse(uri)
    
        else:
            parsed = urlparse(uri)
            print(parsed)
            assert parsed.scheme == expected.scheme
            assert parsed.netloc == expected.netloc
>           assert parsed.path == expected.path
E           AssertionError: assert ':foo.com   ' == '   :foo.com   '
E             -    :foo.com   
E             ? ---
E             + :foo.com
tests/test_parse_shim.py:108: AssertionError
----------------------------- Captured stdout call -----------------------------
ParseResult(scheme='', netloc='', path=':foo.com   ', params='', query='', fragment='')
_____________________ test_urlparse[ foo.com  -expected9] ______________________
uri = ' foo.com  '
expected = ParseResult(scheme='', netloc='', path=' foo.com  ', params='', query='', fragment='')
    @pytest.mark.parametrize(
        "uri, expected",
        [
            ("", ParseResult()),
            ("http://example\t.\norg", ParseResult(scheme="http", netloc="example.org")),
            (
                "http://user:pass@foo:21/bar;par?b#c",
                ParseResult(
                    scheme="http",
                    netloc="user:pass@foo:21",
                    path="/bar",
                    params="par",
                    query="b",
                    fragment="c",
                ),
            ),
            ("https://test:@test", ParseResult(scheme="https", netloc="test:@test")),
            ("https://:@test", ParseResult(scheme="https", netloc=":@test")),
            (
                "non-special://test:@test/x",
                ParseResult(scheme="non-special", netloc="test:@test", path="/x"),
            ),
            (
                "non-special://:@test/x",
                ParseResult(scheme="non-special", netloc=":@test", path="/x"),
            ),
            ("http:foo.com", ParseResult(scheme="http", path="foo.com")),
            # NOTE(willkg): The wpt tests set the scheme to http becaue that's what
            # the base url is. Since our parser is not using a baseurl, it sets the
            # scheme to "". Further, our parser includes spaces at the beginning,
            # but I don't see that as being problematic.
            ("\t   :foo.com   \n", ParseResult(path="   :foo.com   ")),
            # NOTE(willkg): The wpt tests set the path to "/foo/foo.com" because
            # the base url is at "/foo"
            (" foo.com  ", ParseResult(path=" foo.com  ")),
            ("a:\t foo.com", ParseResult(scheme="a", path=" foo.com")),
            (
                "http://f:21/ b ? d # e ",
                ParseResult(
                    scheme="http", netloc="f:21", path="/ b ", query=" d ", fragment=" e "
                ),
            ),
            (
                "lolscheme:x x#x x",
                ParseResult(scheme="lolscheme", path="x x", fragment="x x"),
            ),
            ("http://f:/c", ParseResult(scheme="http", netloc="f:", path="/c")),
            ("http://f:0/c", ParseResult(scheme="http", netloc="f:0", path="/c")),
            # NOTE(willkg): The wpt tests normalize the 0000000000000 to 0 so the
            # netloc should be "f:0".
            (
                "http://f:00000000000000/c",
                ParseResult(scheme="http", netloc="f:00000000000000", path="/c"),
            ),
            # NOTE(willkg): The wpt tests drop the 0000000000000000000 altogether
            # so the netloc should be "f".
            (
                "http://f:00000000000000000000080/c",
                ParseResult(scheme="http", netloc="f:00000000000000000000080", path="/c"),
            ),
            # This is an invalid ipv6 url
            ("http://2001::1]", ValueError),
            # NOTE(willkg): The wpt tests show this as a parse error, but our
            # parser "parses" it.
            ("http://f:b/c", ParseResult(scheme="http", netloc="f:b", path="/c")),
            # NOTE(willkg): The wpt tests show this as a parse error, but our
            # parser "parses" it.
            ("http://f: /c", ParseResult(scheme="http", netloc="f: ", path="/c")),
            # NOTE(willkg): The wpt tests show this as a parse error, but our
            # parser "parses" it.
            ("http://f:999999/c", ParseResult(scheme="http", netloc="f:999999", path="/c")),
        ],
    )
    def test_urlparse(uri, expected):
    
        if inspect.isclass(expected) and issubclass(expected, BaseException):
            with pytest.raises(expected):
                urlparse(uri)
    
        else:
            parsed = urlparse(uri)
            print(parsed)
            assert parsed.scheme == expected.scheme
            assert parsed.netloc == expected.netloc
>           assert parsed.path == expected.path
E           AssertionError: assert 'foo.com  ' == ' foo.com  '
E             -  foo.com  
E             ? -
E             + foo.com
tests/test_parse_shim.py:108: AssertionError
----------------------------- Captured stdout call -----------------------------
ParseResult(scheme='', netloc='', path='foo.com  ', params='', query='', fragment='')
=========================== short test summary info ============================
FAILED tests/test_parse_shim.py::test_urlparse[\t   :foo.com   \n-expected8]
FAILED tests/test_parse_shim.py::test_urlparse[ foo.com  -expected9] - Assert...
====== 2 failed, 390 passed, 1 skipped, 26 deselected, 3 xfailed in 2.13s ======
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.CgC8Wy (%check)
    Bad exit status from /var/tmp/rpm-tmp.CgC8Wy (%check)
Child return code was: 1
EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 9d5e6fe427e64dd5861ee99c9cac55b9 -D /var/lib/mock/dist-ocs23-python311-build-59993-2251/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.tlzmhenk:/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 -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-bleach.spec\n', 1)]
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace
    result = func(*args, **kw)
  File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 597, in do_with_status
    raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode)
mockbuild.exception.Error: Command failed: 
 # /usr/bin/systemd-nspawn -q -M 9d5e6fe427e64dd5861ee99c9cac55b9 -D /var/lib/mock/dist-ocs23-python311-build-59993-2251/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.tlzmhenk:/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 -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-bleach.spec