Your message dated Sat, 30 Oct 2021 21:06:42 +0000
with message-id <[email protected]>
and subject line Bug#997471: fixed in loguru 0.5.3-4
has caused the Debian Bug report #997471,
regarding loguru: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i 
python{version} -p 3.9 returned exit code 13
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
997471: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=997471
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: loguru
Version: 0.5.3-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20211023 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_test
>       pybuild --test --test-pytest -i python{version} -p 3.9
> I: pybuild pybuild:285: rm -f tests/test_exceptions_formatting.py
> I: pybuild base:232: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_loguru/build; 
> python3.9 -m pytest tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.9.7, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>, configfile: tox.ini
> plugins: cov-3.0.0
> collected 1283 items
> 
> tests/test_activation.py ..............................                  [  
> 2%]
> tests/test_add_option_backtrace.py .                                     [  
> 2%]
> tests/test_add_option_catch.py ...........                               [  
> 3%]
> tests/test_add_option_colorize.py ...................................... [  
> 6%]
> ............                                                             [  
> 7%]
> tests/test_add_option_diagnose.py .                                      [  
> 7%]
> tests/test_add_option_enqueue.py ......FF...                             [  
> 8%]
> tests/test_add_option_filter.py ........................................ [ 
> 11%]
> ...............                                                          [ 
> 12%]
> tests/test_add_option_format.py ....................                     [ 
> 13%]
> tests/test_add_option_kwargs.py .......                                  [ 
> 14%]
> tests/test_add_option_level.py ..........                                [ 
> 15%]
> tests/test_add_option_serialize.py ........                              [ 
> 15%]
> tests/test_add_sinks.py ................................................ [ 
> 19%]
> ......                                                                   [ 
> 20%]
> tests/test_ansimarkup_basic.py ......................................... [ 
> 23%]
> ...............................................                          [ 
> 26%]
> tests/test_ansimarkup_extended.py ...................................... [ 
> 29%]
> ......................................................                   [ 
> 34%]
> tests/test_bind.py .........                                             [ 
> 34%]
> tests/test_configure.py ................                                 [ 
> 36%]
> tests/test_contextualize.py .............                                [ 
> 37%]
> tests/test_coroutine_sink.py ...................................         [ 
> 39%]
> tests/test_datetime.py ..............................                    [ 
> 42%]
> tests/test_deepcopy.py ....                                              [ 
> 42%]
> tests/test_defaults.py .............                                     [ 
> 43%]
> tests/test_exceptions_catch.py ......................................... [ 
> 46%]
> ..........                                                               [ 
> 47%]
> tests/test_filesink_compression.py ..................................... [ 
> 50%]
> .................                                                        [ 
> 51%]
> tests/test_filesink_delay.py ..........                                  [ 
> 52%]
> tests/test_filesink_retention.py ....................................... [ 
> 55%]
> ..........                                                               [ 
> 56%]
> tests/test_filesink_rotation.py ........................................ [ 
> 59%]
> ...ss..................................................                  [ 
> 63%]
> tests/test_formatting.py ............................................... [ 
> 67%]
> ................................                                         [ 
> 69%]
> tests/test_get_frame.py ...                                              [ 
> 70%]
> tests/test_interception.py ............                                  [ 
> 71%]
> tests/test_levels.py .......................................             [ 
> 74%]
> tests/test_multiprocessing.py ...............................            [ 
> 76%]
> tests/test_opt.py ...................................................... [ 
> 80%]
> ........................................................................ [ 
> 86%]
> ........................                                                 [ 
> 88%]
> tests/test_parse.py .........................                            [ 
> 90%]
> tests/test_patch.py .......                                              [ 
> 90%]
> tests/test_pickling.py ................................................. [ 
> 94%]
> ....                                                                     [ 
> 94%]
> tests/test_propagation.py ......                                         [ 
> 95%]
> tests/test_recattr.py .........                                          [ 
> 95%]
> tests/test_remove.py ...........                                         [ 
> 96%]
> tests/test_repr.py ....................                                  [ 
> 98%]
> tests/test_standard_handler.py ................                          [ 
> 99%]
> tests/test_threading.py .....                                            
> [100%]
> 
> =================================== FAILURES 
> ===================================
> _____________________ test_not_caught_exception_queue_get 
> ______________________
> 
> writer = <function writer.<locals>.w at 0x7f569bfe3700>
> capsys = <_pytest.capture.CaptureFixture object at 0x7f569b484c40>
> 
>     def test_not_caught_exception_queue_get(writer, capsys):
>         logger.add(writer, enqueue=True, catch=False, format="{message}")
>     
>         logger.info("It's fine")
>         logger.bind(broken=NotUnpicklable()).info("Bye bye...")
>         logger.info("It's not fine")
>         logger.remove()
>     
>         out, err = capsys.readouterr()
>         lines = err.strip().splitlines()
>         assert writer.read() == "It's fine\n"
>         assert out == ""
> >       assert lines[0].startswith("Exception")
> E       IndexError: list index out of range
> 
> capsys     = <_pytest.capture.CaptureFixture object at 0x7f569b484c40>
> err        = ''
> lines      = []
> out        = ''
> writer     = <function writer.<locals>.w at 0x7f569bfe3700>
> 
> tests/test_add_option_enqueue.py:152: IndexError
> _____________________ test_not_caught_exception_sink_write 
> _____________________
> 
> capsys = <_pytest.capture.CaptureFixture object at 0x7f569b4fda60>
> 
>     def test_not_caught_exception_sink_write(capsys):
>         logger.add(NotWritable(), enqueue=True, catch=False, 
> format="{message}")
>     
>         logger.info("It's fine")
>         logger.bind(fail=True).info("Bye bye...")
>         logger.info("It's not fine")
>         logger.remove()
>     
>         out, err = capsys.readouterr()
>         lines = err.strip().splitlines()
>         assert out == "It's fine\n"
> >       assert lines[0].startswith("Exception")
> E       IndexError: list index out of range
> 
> capsys     = <_pytest.capture.CaptureFixture object at 0x7f569b4fda60>
> err        = ''
> lines      = []
> out        = "It's fine\n"
> 
> tests/test_add_option_enqueue.py:167: IndexError
> =============================== warnings summary 
> ===============================
> .pybuild/cpython3_3.9_loguru/build/tests/test_add_option_catch.py::test_broken_sink_not_caught_enqueue
>   /usr/lib/python3/dist-packages/_pytest/threadexception.py:75: 
> PytestUnhandledThreadExceptionWarning: Exception in thread loguru-writer-0
>   
>   Traceback (most recent call last):
>     File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner
>       self.run()
>     File "/usr/lib/python3.9/threading.py", line 910, in run
>       self._target(*self._args, **self._kwargs)
>     File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_loguru/build/loguru/_handler.py", 
> line 287, in _queued_writer
>       self._sink.write(message)
>     File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_loguru/build/loguru/_simple_sinks.py",
>  line 119, in write
>       self._function(message)
>     File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_loguru/build/tests/test_add_option_catch.py",
>  line 131, in broken_sink
>       raise ValueError("Nop")
>   ValueError: Nop
>   
>     warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
> 
> .pybuild/cpython3_3.9_loguru/build/tests/test_add_option_enqueue.py::test_not_caught_exception_queue_get
>   /usr/lib/python3/dist-packages/_pytest/threadexception.py:75: 
> PytestUnhandledThreadExceptionWarning: Exception in thread loguru-writer-0
>   
>   Traceback (most recent call last):
>     File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner
>       self.run()
>     File "/usr/lib/python3.9/threading.py", line 910, in run
>       self._target(*self._args, **self._kwargs)
>     File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_loguru/build/loguru/_handler.py", 
> line 270, in _queued_writer
>       message = queue.get()
>     File "/usr/lib/python3.9/multiprocessing/queues.py", line 368, in get
>       return _ForkingPickler.loads(res)
>     File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_loguru/build/tests/test_add_option_enqueue.py",
>  line 22, in __setstate__
>       raise pickle.UnpicklingError("You shall not de-serialize me!")
>   _pickle.UnpicklingError: You shall not de-serialize me!
>   
>     warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
> 
> .pybuild/cpython3_3.9_loguru/build/tests/test_add_option_enqueue.py::test_not_caught_exception_sink_write
>   /usr/lib/python3/dist-packages/_pytest/threadexception.py:75: 
> PytestUnhandledThreadExceptionWarning: Exception in thread loguru-writer-0
>   
>   Traceback (most recent call last):
>     File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner
>       self.run()
>     File "/usr/lib/python3.9/threading.py", line 910, in run
>       self._target(*self._args, **self._kwargs)
>     File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_loguru/build/loguru/_handler.py", 
> line 287, in _queued_writer
>       self._sink.write(message)
>     File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_loguru/build/loguru/_simple_sinks.py",
>  line 26, in write
>       self._stream.write(message)
>     File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_loguru/build/tests/test_add_option_enqueue.py",
>  line 28, in write
>       raise RuntimeError("You asked me to fail...")
>   RuntimeError: You asked me to fail...
>   
>     warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))
> 
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> =========================== short test summary info 
> ============================
> FAILED tests/test_add_option_enqueue.py::test_not_caught_exception_queue_get
> FAILED tests/test_add_option_enqueue.py::test_not_caught_exception_sink_write
> ============ 2 failed, 1279 passed, 2 skipped, 3 warnings in 30.05s 
> ============
> E: pybuild pybuild:354: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_loguru/build; python3.9 -m pytest tests
>       rm -fr -- /tmp/dh-xdg-rundir-j739kwuT
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/loguru_0.5.3-3_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

--- End Message ---
--- Begin Message ---
Source: loguru
Source-Version: 0.5.3-4
Done: Nilesh Patra <[email protected]>

We believe that the bug you reported is fixed in the latest version of
loguru, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Nilesh Patra <[email protected]> (supplier of updated loguru package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 31 Oct 2021 02:15:29 +0530
Source: loguru
Architecture: source
Version: 0.5.3-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Nilesh Patra <[email protected]>
Closes: 997471
Changes:
 loguru (0.5.3-4) unstable; urgency=medium
 .
   * Team Upload.
   [ Debian Janitor ]
   * Use canonical URL in Vcs-Git.
 .
   [ Nilesh Patra ]
   * Backport upstream patch to fix FTBFS (Closes: #997471)
   * Bump Standards-Version to 4.6.0 (no changes needed)
Checksums-Sha1:
 e9e5b471951de08b216aa945547f5eb96fa68b48 2179 loguru_0.5.3-4.dsc
 f54fcf2433b8b62d8e12e8ff23fdbcfa255390c0 4148 loguru_0.5.3-4.debian.tar.xz
 3e56a73c56d42767e5af34bf9b26d166e7106946 7201 loguru_0.5.3-4_amd64.buildinfo
Checksums-Sha256:
 6f07dd19e25ec7a84640580a183d1ee028fd1e36ef644073d931582c9fe94a2e 2179 
loguru_0.5.3-4.dsc
 77977dd21da9f573d89b825e285b9518580b930b3ecf10f66880b4b96d65fe09 4148 
loguru_0.5.3-4.debian.tar.xz
 42f316f3568584835d66ded6f47150e1c8df759c7a735191dad7843a74120ba8 7201 
loguru_0.5.3-4_amd64.buildinfo
Files:
 c0b4a4d451be0819f313cf8c7bc8e41f 2179 python optional loguru_0.5.3-4.dsc
 f83a43d9dc47ab66db8a539fa7714b26 4148 python optional 
loguru_0.5.3-4.debian.tar.xz
 1cd648b520c601895f3841d8e374f108 7201 python optional 
loguru_0.5.3-4_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEPpmlJvXcwMu/HO6mALrnSzQzafEFAmF9r9MSHG5pbGVzaEBk
ZWJpYW4ub3JnAAoJEAC650s0M2nx/IgP/3h8++P6m0s2NXOcrcpur6nbdjVbpnd9
lWY77uWTZLF8BXRClpKwLKf3DxWZpuAgdVpbIulmQrd/HFXJ0EEiCRgsakRpHp9Q
zzaicf8Qrp/uIANLDQEaHQv4SFyPBPZWe6DM32WXn6FVJDth7h3eBMg+tDU+ERnh
wfBaEIJAfqBx4ViXdJWU/CIrDK47+jVbC9/CNwl53eGJ+mPgZHARrouS1r9J+jEY
uzNwFOJRz+TnioZ74KFXbs0Sl1+DX8WSalBBeDaqCbJXTHSlhCzdskNd6hzRI7pN
X/JxzXxYrzD5QuoRWjnh2tsFAo4ofaZ1ma9yzYRXmURF2S64zjr9S+f24tGPzfDi
qYRBYaprUOFXWc8cRbtOBcgr1wb1j9xDeWEakFY4c3JMasU1JizjWJp8b0czNA/+
wAlTcVXFgqRo6rPdNOxrXQ+yTUp0k+iwmB4vqVhaRQJcxmEW3GbkUA6zzlRHG9aq
4oloSVyfeVTQI6os7phgGXriwe3egFGmc1u5fzQZ7fysj/mEIuI9dqWJes5U844+
dtKRbfzDbTRHJBYCHjm2OZnKdRK6RTVVGzzAZ6De4JOGS+bBCVA4EFN1brbaJgSk
X5VfwYgDGEaypf0GB3ZhkR/OdCZNKRU4kf9abC6/QKLxE6RvqJZZF342So9die7r
KrAdqUqUmjf7
=ZR1e
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to