<86>Feb 18 05:09:18 userdel[1265683]: delete user 'rooter' <86>Feb 18 05:09:18 userdel[1265683]: removed group 'rooter' owned by 'rooter' <86>Feb 18 05:09:18 userdel[1265683]: removed shadow group 'rooter' owned by 'rooter' <86>Feb 18 05:09:18 groupadd[1265753]: group added to /etc/group: name=rooter, GID=1877 <86>Feb 18 05:09:18 groupadd[1265753]: group added to /etc/gshadow: name=rooter <86>Feb 18 05:09:18 groupadd[1265753]: new group: name=rooter, GID=1877 <86>Feb 18 05:09:18 useradd[1265817]: new user: name=rooter, UID=1877, GID=1877, home=/root, shell=/bin/bash, from=none <86>Feb 18 05:09:18 userdel[1265905]: delete user 'builder' <86>Feb 18 05:09:18 userdel[1265905]: removed group 'builder' owned by 'builder' <86>Feb 18 05:09:18 userdel[1265905]: removed shadow group 'builder' owned by 'builder' <86>Feb 18 05:09:18 groupadd[1265956]: group added to /etc/group: name=builder, GID=1878 <86>Feb 18 05:09:18 groupadd[1265956]: group added to /etc/gshadow: name=builder <86>Feb 18 05:09:18 groupadd[1265956]: new group: name=builder, GID=1878 <86>Feb 18 05:09:18 useradd[1265998]: new user: name=builder, UID=1878, GID=1878, home=/usr/src, shell=/bin/bash, from=none <13>Feb 18 05:09:21 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432004 installed <13>Feb 18 05:09:21 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626058413 installed <13>Feb 18 05:09:21 rpmi: libexpat-2.5.0-alt1 sisyphus+309227.100.1.1 1667075764 installed <13>Feb 18 05:09:21 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962877 installed <13>Feb 18 05:09:21 rpmi: libp11-kit-1:0.25.3-alt2 sisyphus+336533.100.1.1 1702645560 installed <13>Feb 18 05:09:21 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802615 installed <13>Feb 18 05:09:21 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Feb 18 05:09:21 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Feb 18 05:09:21 rpmi: ca-certificates-2023.12.20-alt1 sisyphus+336902.300.1.1 1703105726 installed <13>Feb 18 05:09:21 rpmi: ca-trust-0.1.5-alt1 sisyphus+340049.100.1.1 1707326464 installed <13>Feb 18 05:09:21 rpmi: p11-kit-trust-1:0.25.3-alt2 sisyphus+336533.100.1.1 1702645560 installed <13>Feb 18 05:09:21 rpmi: libcrypto3-3.1.5-alt1 sisyphus+339669.100.1.1 1706908440 installed <13>Feb 18 05:09:21 rpmi: libssl3-3.1.5-alt1 sisyphus+339669.100.1.1 1706908440 installed <13>Feb 18 05:09:21 rpmi: python3-3.12.1-alt2 sisyphus+339293.200.1.1 1706538926 installed <13>Feb 18 05:09:22 rpmi: python3-base-3.12.1-alt2 sisyphus+339293.200.1.1 1706538926 installed <13>Feb 18 05:09:22 rpmi: python3-module-py3dephell-0.1.0-alt2 sisyphus+328191.600.5.1 1693609196 installed <13>Feb 18 05:09:22 rpmi: tests-for-installed-python3-pkgs-0.1.24-alt2 sisyphus+331059.100.4.1 1696870033 installed <13>Feb 18 05:09:22 rpmi: rpm-build-python3-0.1.24-alt2 sisyphus+331059.100.4.1 1696870033 installed <13>Feb 18 05:09:23 rpmi: python3-module-pluggy-1.4.0-alt1 sisyphus+339306.100.2.1 1706605903 installed <13>Feb 18 05:09:23 rpmi: python3-module-pkg_resources-1:69.1.0-alt1 sisyphus+340719.200.2.1 1708074485 installed <13>Feb 18 05:09:23 rpmi: python3-module-packaging-23.2-alt1 sisyphus+330805.100.2.1 1696324248 installed <13>Feb 18 05:09:23 rpmi: python3-module-iniconfig-2.0.0-alt1 sisyphus+314076.200.3.1 1674737275 installed <13>Feb 18 05:09:23 rpmi: libpython3-3.12.1-alt2 sisyphus+339293.200.1.1 1706538926 installed <13>Feb 18 05:09:23 rpmi: libncurses6-6.3.20220618-alt4 sisyphus+328055.40.2.1 1693212977 installed <13>Feb 18 05:09:23 rpmi: libtinfo-devel-6.3.20220618-alt4 sisyphus+328055.40.2.1 1693212977 installed <13>Feb 18 05:09:23 rpmi: libncurses-devel-6.3.20220618-alt4 sisyphus+328055.40.2.1 1693212977 installed <13>Feb 18 05:09:24 rpmi: python3-dev-3.12.1-alt2 sisyphus+339293.200.1.1 1706538926 installed <13>Feb 18 05:09:24 rpmi: python3-module-setuptools-1:69.1.0-alt1 sisyphus+340719.200.2.1 1708074485 installed <13>Feb 18 05:09:24 rpmi: python3-module-wheel-0.42.0-alt1 sisyphus+336049.100.2.1 1702033502 installed <13>Feb 18 05:09:24 rpmi: python3-module-pytest-8.0.0-alt1 sisyphus+339306.200.2.1 1706606050 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/python3-module-pytest-snapshot-0.9.0-alt1.nosrc.rpm (w1.gzdio) <13>Feb 18 05:09:25 rpmi: python3-module-pyproject-installer-0.5.2-alt1 sisyphus+324644.100.2.1 1689089627 installed Installing python3-module-pytest-snapshot-0.9.0-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.10261 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf pytest-snapshot-0.9.0 + echo 'Source #0 (pytest-snapshot-0.9.0.tar):' Source #0 (pytest-snapshot-0.9.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/pytest-snapshot-0.9.0.tar + cd pytest-snapshot-0.9.0 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.10261 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd pytest-snapshot-0.9.0 + export 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export 'CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export 'FFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + /usr/bin/python3 -m pyproject_installer -v build INFO : pyproject_installer.build_cmd._build : Building wheel INFO : pyproject_installer.build_cmd._build : Source tree: /usr/src/RPM/BUILD/pytest-snapshot-0.9.0 INFO : pyproject_installer.build_cmd._build : Output dir: /usr/src/RPM/BUILD/pytest-snapshot-0.9.0/dist DEBUG : pyproject_installer.lib.build_backend : Validating source path DEBUG : pyproject_installer.lib.build_backend : Checking for PEP517 spec DEBUG : pyproject_installer.lib.build_backend : Parsing configuration file: /usr/src/RPM/BUILD/pytest-snapshot-0.9.0/pyproject.toml INFO : backend_caller.py : Calling hook build_wheel in subprocess INFO : backend_caller.py : Build backend: setuptools.build_meta INFO : backend_caller.py : Hook args: ['/usr/src/RPM/BUILD/pytest-snapshot-0.9.0/dist'] INFO : backend_caller.py : Hook kwargs: {'config_settings': None} /usr/lib64/python3/site-packages/setuptools/_distutils/dist.py:265: UserWarning: Unknown distribution option: 'use_scm_version' warnings.warn(msg) INFO : root : running bdist_wheel INFO : root : running build INFO : root : running build_py INFO : root : creating build INFO : root : creating build/lib INFO : root : creating build/lib/pytest_snapshot INFO : root : copying pytest_snapshot/plugin.py -> build/lib/pytest_snapshot INFO : root : copying pytest_snapshot/_utils.py -> build/lib/pytest_snapshot INFO : root : copying pytest_snapshot/__init__.py -> build/lib/pytest_snapshot INFO : wheel : installing to build/bdist.linux-x86_64/wheel INFO : root : running install INFO : root : running install_lib INFO : root : creating build/bdist.linux-x86_64 INFO : root : creating build/bdist.linux-x86_64/wheel INFO : root : creating build/bdist.linux-x86_64/wheel/pytest_snapshot INFO : root : copying build/lib/pytest_snapshot/__init__.py -> build/bdist.linux-x86_64/wheel/pytest_snapshot INFO : root : copying build/lib/pytest_snapshot/_utils.py -> build/bdist.linux-x86_64/wheel/pytest_snapshot INFO : root : copying build/lib/pytest_snapshot/plugin.py -> build/bdist.linux-x86_64/wheel/pytest_snapshot INFO : root : running install_egg_info INFO : root : running egg_info INFO : root : creating pytest_snapshot.egg-info INFO : root : writing pytest_snapshot.egg-info/PKG-INFO INFO : root : writing dependency_links to pytest_snapshot.egg-info/dependency_links.txt INFO : root : writing entry points to pytest_snapshot.egg-info/entry_points.txt INFO : root : writing requirements to pytest_snapshot.egg-info/requires.txt INFO : root : writing top-level names to pytest_snapshot.egg-info/top_level.txt INFO : root : writing manifest file 'pytest_snapshot.egg-info/SOURCES.txt' INFO : root : reading manifest file 'pytest_snapshot.egg-info/SOURCES.txt' INFO : root : reading manifest template 'MANIFEST.in' WARNING : root : warning: no previously-included files matching '__pycache__' found under directory '*' WARNING : root : warning: no previously-included files matching '*.py[co]' found under directory '*' INFO : root : adding license file 'LICENSE' INFO : root : writing manifest file 'pytest_snapshot.egg-info/SOURCES.txt' INFO : root : Copying pytest_snapshot.egg-info to build/bdist.linux-x86_64/wheel/pytest_snapshot-0.0.0-py3.12.egg-info INFO : root : running install_scripts INFO : wheel : creating build/bdist.linux-x86_64/wheel/pytest_snapshot-0.0.0.dist-info/WHEEL INFO : wheel : creating '/usr/src/RPM/BUILD/pytest-snapshot-0.9.0/dist/.tmp-2dspcsen/pytest_snapshot-0.0.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it INFO : wheel : adding 'pytest_snapshot/__init__.py' INFO : wheel : adding 'pytest_snapshot/_utils.py' INFO : wheel : adding 'pytest_snapshot/plugin.py' INFO : wheel : adding 'pytest_snapshot-0.0.0.dist-info/LICENSE' INFO : wheel : adding 'pytest_snapshot-0.0.0.dist-info/METADATA' INFO : wheel : adding 'pytest_snapshot-0.0.0.dist-info/WHEEL' INFO : wheel : adding 'pytest_snapshot-0.0.0.dist-info/entry_points.txt' INFO : wheel : adding 'pytest_snapshot-0.0.0.dist-info/top_level.txt' INFO : wheel : adding 'pytest_snapshot-0.0.0.dist-info/RECORD' INFO : wheel : removing build/bdist.linux-x86_64/wheel INFO : pyproject_installer.build_cmd._build : Built wheel: pytest_snapshot-0.0.0-py3-none-any.whl + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.10261 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-pytest-snapshot-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-pytest-snapshot-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd pytest-snapshot-0.9.0 + /usr/bin/python3 -m pyproject_installer -v install --destdir=/usr/src/tmp/python3-module-pytest-snapshot-buildroot INFO : pyproject_installer.install_cmd._install : Installing wheel INFO : pyproject_installer.install_cmd._install : Wheel directory: /usr/src/RPM/BUILD/pytest-snapshot-0.9.0/dist INFO : pyproject_installer.install_cmd._install : Wheel filename: pytest_snapshot-0.0.0-py3-none-any.whl INFO : pyproject_installer.install_cmd._install : Destination: /usr/src/tmp/python3-module-pytest-snapshot-buildroot DEBUG : pyproject_installer.lib.wheel : Parsing wheel filename DEBUG : pyproject_installer.lib.wheel : Validating wheel file DEBUG : pyproject_installer.lib.wheel : Validating wheel spec version DEBUG : pyproject_installer.lib.wheel : Parsing wheel spec metadata DEBUG : pyproject_installer.lib.wheel : Validating RECORD INFO : pyproject_installer.install_cmd._install : Wheel installation root: /usr/src/tmp/python3-module-pytest-snapshot-buildroot/usr/lib/python3/site-packages INFO : pyproject_installer.install_cmd._install : Extracting wheel DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: pytest_snapshot-0.0.0.dist-info/LICENSE DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: pytest_snapshot-0.0.0.dist-info/WHEEL DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: pytest_snapshot-0.0.0.dist-info/top_level.txt DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: pytest_snapshot-0.0.0.dist-info/RECORD INFO : pyproject_installer.install_cmd._install : Generating entrypoints scripts INFO : pyproject_installer.install_cmd._install : Wheel was installed + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-pytest-snapshot-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-pytest-snapshot-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/python3-module-pytest-snapshot-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-pytest-snapshot-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-pytest-snapshot-buildroot ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/python3-module-pytest-snapshot-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python3 modules in /usr/src/tmp/python3-module-pytest-snapshot-buildroot using /usr/bin/python3 compile /usr/src/tmp/python3-module-pytest-snapshot-buildroot/usr/lib/python3/site-packages/pytest_snapshot/__init__.py compile /usr/src/tmp/python3-module-pytest-snapshot-buildroot/usr/lib/python3/site-packages/pytest_snapshot/_utils.py compile /usr/src/tmp/python3-module-pytest-snapshot-buildroot/usr/lib/python3/site-packages/pytest_snapshot/plugin.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-pytest-snapshot-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-pytest-snapshot-buildroot/usr/lib/python3/site-packages/pytest_snapshot/__init__.py compile /usr/src/tmp/python3-module-pytest-snapshot-buildroot/usr/lib/python3/site-packages/pytest_snapshot/_utils.py compile /usr/src/tmp/python3-module-pytest-snapshot-buildroot/usr/lib/python3/site-packages/pytest_snapshot/plugin.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-pytest-snapshot-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-pytest-snapshot-buildroot/usr/lib/python3/site-packages/pytest_snapshot/__init__.py compile /usr/src/tmp/python3-module-pytest-snapshot-buildroot/usr/lib/python3/site-packages/pytest_snapshot/_utils.py compile /usr/src/tmp/python3-module-pytest-snapshot-buildroot/usr/lib/python3/site-packages/pytest_snapshot/plugin.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/pytest_snapshot/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pytest_snapshot/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/pytest_snapshot/__pycache__/__init__.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/pytest_snapshot/__pycache__/__init__.cpython-312.opt-1.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.10261 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd pytest-snapshot-0.9.0 + export 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export 'CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export 'FFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export NO_INTERNET=YES + NO_INTERNET=YES + /usr/bin/python3 -m pyproject_installer run -- python3 -m pytest INFO : Creating venv INFO : Installing console scripts INFO : Installing package: /usr/src/RPM/BUILD/pytest-snapshot-0.9.0/dist/pytest_snapshot-0.0.0-py3-none-any.whl INFO : Running command: ['/usr/src/RPM/BUILD/pytest-snapshot-0.9.0/.run_venv/bin/python3', '-m', 'pyproject_installer', 'install', '/usr/src/RPM/BUILD/pytest-snapshot-0.9.0/dist/pytest_snapshot-0.0.0-py3-none-any.whl'] INFO : Running command: ['python3', '-m', 'pytest'] ============================= test session starts ============================== platform linux -- Python 3.12.1, pytest-8.0.0, pluggy-1.4.0 rootdir: /usr/src/RPM/BUILD/pytest-snapshot-0.9.0 plugins: snapshot-0.0.0 collected 108 items tests/test_assert_match.py ....F.............................x.... [ 36%] tests/test_assert_match_dir.py ............................ [ 62%] tests/test_misc.py ......................................... [100%] =================================== FAILURES =================================== _______________________ test_assert_match_failure_bytes ________________________ request = > testdir = basic_case_dir = local('/usr/src/tmp/pytest-of-builder/pytest-0/test_assert_match_failure_bytes0/case_dir') def test_assert_match_failure_bytes(request, testdir, basic_case_dir): testdir.makepyfile(r""" import os def test_sth(snapshot): snapshot.snapshot_dir = 'case_dir' snapshot.assert_match(b'the INCORRECT value of snapshot1.txt' + os.linesep.encode(), 'snapshot1.txt') """) result = runpytest_with_assert_mode(testdir, request, '-v', '--assert=rewrite') > result.stdout.fnmatch_lines([ r'*::test_sth FAILED*', r">* snapshot.assert_match(b'the INCORRECT value of snapshot1.txt' + os.linesep.encode(), 'snapshot1.txt')", r'E* AssertionError: value does not match the expected value in snapshot case_dir?snapshot1.txt', r'E* (run pytest with --snapshot-update to update snapshots)', r"E* assert * == *", r"E* At index 4 diff: * != *", r"E* Full diff:", r"E* - b'the valu\xc3\x89 of snapshot1.txt{}'".format(repr(os.linesep)[1:-1]), r"E* + b'the INCORRECT value of snapshot1.txt{}'".format(repr(os.linesep)[1:-1]), ]) E Failed: nomatch: '*::test_sth FAILED*' E and: '============================= test session starts ==============================' E and: 'platform linux -- Python 3.12.1, pytest-8.0.0, pluggy-1.4.0 -- /usr/src/RPM/BUILD/pytest-snapshot-0.9.0/.run_venv/bin/python3' E and: 'cachedir: .pytest_cache' E and: 'rootdir: /usr/src/tmp/pytest-of-builder/pytest-0/test_assert_match_failure_bytes0' E and: 'plugins: snapshot-0.0.0' E and: 'collecting ... collected 1 item' E and: '' E fnmatch: '*::test_sth FAILED*' E with: 'test_assert_match_failure_bytes.py::test_sth FAILED [100%]' E nomatch: ">* snapshot.assert_match(b'the INCORRECT value of snapshot1.txt' + os.linesep.encode(), 'snapshot1.txt')" E and: '' E and: '=================================== FAILURES ===================================' E and: '___________________________________ test_sth ___________________________________' E and: '' E and: 'snapshot = ' E and: '' E and: ' def test_sth(snapshot):' E and: " snapshot.snapshot_dir = 'case_dir'" E fnmatch: ">* snapshot.assert_match(b'the INCORRECT value of snapshot1.txt' + os.linesep.encode(), 'snapshot1.txt')" E with: "> snapshot.assert_match(b'the INCORRECT value of snapshot1.txt' + os.linesep.encode(), 'snapshot1.txt')" E fnmatch: 'E* AssertionError: value does not match the expected value in snapshot case_dir?snapshot1.txt' E with: 'E AssertionError: value does not match the expected value in snapshot case_dir/snapshot1.txt' E fnmatch: 'E* (run pytest with --snapshot-update to update snapshots)' E with: 'E (run pytest with --snapshot-update to update snapshots)' E fnmatch: 'E* assert * == *' E with: "E assert b'the INCORRE...apshot1.txt\\n' == b'the valu\\xc...apshot1.txt\\n'" E nomatch: 'E* At index 4 diff: * != *' E and: 'E ' E fnmatch: 'E* At index 4 diff: * != *' E with: "E At index 4 diff: b'I' != b'v'" E nomatch: 'E* Full diff:' E and: 'E ' E fnmatch: 'E* Full diff:' E with: 'E Full diff:' E nomatch: "E* - b'the valu\\xc3\\x89 of snapshot1.txt\\n'" E and: "E - (b'the valu\\xc3\\x89 of snapshot1.txt\\n')" E and: 'E ? ^^^^^^^^' E and: "E + (b'the INCORRECT value of snapshot1.txt\\n')" E and: 'E ? ++++++++++ ^' E and: '' E and: 'test_assert_match_failure_bytes.py:4: AssertionError' E and: '=========================== short test summary info ============================' E and: 'FAILED test_assert_match_failure_bytes.py::test_sth - AssertionError: value d...' E and: '============================== 1 failed in 0.01s ===============================' E remains unmatched: "E* - b'the valu\\xc3\\x89 of snapshot1.txt\\n'" /usr/src/RPM/BUILD/pytest-snapshot-0.9.0/tests/test_assert_match.py:82: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.12.1, pytest-8.0.0, pluggy-1.4.0 -- /usr/src/RPM/BUILD/pytest-snapshot-0.9.0/.run_venv/bin/python3 cachedir: .pytest_cache rootdir: /usr/src/tmp/pytest-of-builder/pytest-0/test_assert_match_failure_bytes0 plugins: snapshot-0.0.0 collecting ... collected 1 item test_assert_match_failure_bytes.py::test_sth FAILED [100%] =================================== FAILURES =================================== ___________________________________ test_sth ___________________________________ snapshot = def test_sth(snapshot): snapshot.snapshot_dir = 'case_dir' > snapshot.assert_match(b'the INCORRECT value of snapshot1.txt' + os.linesep.encode(), 'snapshot1.txt') E AssertionError: value does not match the expected value in snapshot case_dir/snapshot1.txt E (run pytest with --snapshot-update to update snapshots) E assert b'the INCORRE...apshot1.txt\n' == b'the valu\xc...apshot1.txt\n' E E At index 4 diff: b'I' != b'v' E E Full diff: E - (b'the valu\xc3\x89 of snapshot1.txt\n') E ? ^^^^^^^^ E + (b'the INCORRECT value of snapshot1.txt\n') E ? ++++++++++ ^ test_assert_match_failure_bytes.py:4: AssertionError =========================== short test summary info ============================ FAILED test_assert_match_failure_bytes.py::test_sth - AssertionError: value d... ============================== 1 failed in 0.01s =============================== =========================== short test summary info ============================ FAILED tests/test_assert_match.py::test_assert_match_failure_bytes - Failed: ... =================== 1 failed, 106 passed, 1 xfailed in 3.32s =================== INFO : Command's result: FAILURE INFO : Command's error: Command '['python3', '-m', 'pytest']' returned non-zero exit status 1. error: Bad exit status from /usr/src/tmp/rpm-tmp.10261 (%check) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.10261 (%check) Command exited with non-zero status 1 4.00user 0.59system 0:04.64elapsed 99%CPU (0avgtext+0avgdata 40692maxresident)k 0inputs+0outputs (0major+98438minor)pagefaults 0swaps hsh-rebuild: rebuild of `python3-module-pytest-snapshot-0.9.0-alt1.src.rpm' failed. Command exited with non-zero status 1 3.65user 1.75system 0:14.14elapsed 38%CPU (0avgtext+0avgdata 128868maxresident)k 0inputs+0outputs (0major+334716minor)pagefaults 0swaps