[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1058352: marked as done (pytest-localserver: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13)



Your message dated Sun, 14 Jan 2024 08:41:33 +0000
with message-id <E1rOw3h-00H0e4-L9@fasolo.debian.org>
and subject line Bug#1058352: fixed in pytest-localserver 0.8.1-1
has caused the Debian Bug report #1058352,
regarding pytest-localserver: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" 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 owner@bugs.debian.org
immediately.)


-- 
1058352: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058352
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: pytest-localserver
Version: 0.5.0-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20231212 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m pytest -v -x" dh_auto_test
> I: pybuild base:310: python3.12 -m pytest -v -x
> ============================= test session starts ==============================
> platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0 -- /usr/bin/python3.12
> cachedir: .pytest_cache
> rootdir: /<<PKGBUILDDIR>>
> plugins: localserver-0.5.0
> collecting ... collected 11 items / 1 error
> 
> ==================================== ERRORS ====================================
> _____________________ ERROR collecting tests/test_smtp.py ______________________
> ImportError while importing test module '/<<PKGBUILDDIR>>/tests/test_smtp.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.12/importlib/__init__.py:90: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_smtp.py:8: in <module>
>     from pytest_localserver import plugin, smtp
> pytest_localserver/smtp.py:10: in <module>
>     import asyncore
> E   ModuleNotFoundError: No module named 'asyncore'
> =========================== short test summary info ============================
> ERROR tests/test_smtp.py
> !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!
> !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
> =============================== 1 error in 0.19s ===============================
> E: pybuild pybuild:395: test: plugin custom failed with: exit code=2: python3.12 -m pytest -v -x
> I: pybuild base:310: python3.11 -m pytest -v -x
> ============================= test session starts ==============================
> platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0 -- /usr/bin/python3.11
> cachedir: .pytest_cache
> rootdir: /<<PKGBUILDDIR>>
> plugins: localserver-0.5.0
> collecting ... collected 16 items
> 
> tests/test_http.py::test_httpserver_funcarg PASSED                       [  6%]
> tests/test_http.py::test_server_does_not_serve_file_at_startup PASSED    [ 12%]
> tests/test_http.py::test_some_content_retrieval PASSED                   [ 18%]
> tests/test_http.py::test_request_is_stored PASSED                        [ 25%]
> tests/test_http.py::test_GET_request PASSED                              [ 31%]
> tests/test_http.py::test_HEAD_request PASSED                             [ 37%]
> tests/test_https.py::test_httpsserver_funcarg PASSED                     [ 43%]
> tests/test_https.py::test_server_does_not_serve_file_at_startup PASSED   [ 50%]
> tests/test_https.py::test_some_content_retrieval PASSED                  [ 56%]
> tests/test_https.py::test_GET_request PASSED                             [ 62%]
> tests/test_https.py::test_HEAD_request PASSED                            [ 68%]
> tests/test_smtp.py::test_smtpserver_funcarg PASSED                       [ 75%]
> tests/test_smtp.py::test_server_is_killed PASSED                         [ 81%]
> tests/test_smtp.py::test_server_is_deleted PASSED                        [ 87%]
> tests/test_smtp.py::test_smtpserver_has_empty_outbox_at_startup PASSED   [ 93%]
> tests/test_smtp.py::test_send_email PASSED                               [100%]
> 
> =============================== warnings summary ===============================
> pytest_localserver/smtp.py:10
>   /<<PKGBUILDDIR>>/pytest_localserver/smtp.py:10: DeprecationWarning: The asyncore module is deprecated and will be removed in Python 3.12. The recommended replacement is asyncio
>     import asyncore
> 
> pytest_localserver/smtp.py:12
>   /<<PKGBUILDDIR>>/pytest_localserver/smtp.py:12: DeprecationWarning: The smtpd module is deprecated and unmaintained and will be removed in Python 3.12.  Please see aiosmtpd (https://aiosmtpd.readthedocs.io/) for the recommended replacement.
>     import smtpd
> 
> ../../../usr/lib/python3.11/smtpd.py:97
>   /usr/lib/python3.11/smtpd.py:97: DeprecationWarning: The asynchat module is deprecated and will be removed in Python 3.12. The recommended replacement is asyncio
>     import asynchat
> 
> tests/test_https.py::test_some_content_retrieval
> tests/test_https.py::test_GET_request
> tests/test_https.py::test_HEAD_request
>   /usr/lib/python3/dist-packages/urllib3/connectionpool.py:1062: InsecureRequestWarning: Unverified HTTPS request is being made to host '127.0.0.1'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
>     warnings.warn(
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> ======================== 16 passed, 6 warnings in 5.85s ========================
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/pytest-localserver_0.5.0-4_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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 mark 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: pytest-localserver
Source-Version: 0.8.1-1
Done: Matthias Klose <doko@debian.org>

We believe that the bug you reported is fixed in the latest version of
pytest-localserver, 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 1058352@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <doko@debian.org> (supplier of updated pytest-localserver 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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Sun, 14 Jan 2024 08:54:49 +0100
Source: pytest-localserver
Architecture: source
Version: 0.8.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Closes: 1040093 1040120 1056449 1058352
Changes:
 pytest-localserver (0.8.1-1) unstable; urgency=medium
 .
   * QA upload.
   * New upstream version. Closes: #1056449, #1058352, #1040093, #1040120.
   * Fix installation of README.
   * Bump standards version.
Checksums-Sha1:
 6f4d2ece9cae46147fb6ac5a9e1e2440fed374ca 2263 pytest-localserver_0.8.1-1.dsc
 b77e1847ceb4c7854b290d8d6402eda9cd949140 22132 pytest-localserver_0.8.1.orig.tar.xz
 c83265afcd3af4068d897bce1a91ed6b9d479099 4332 pytest-localserver_0.8.1-1.debian.tar.xz
 4b6c978d33b5002dc62c24b8aaf1851044569e38 7478 pytest-localserver_0.8.1-1_source.buildinfo
Checksums-Sha256:
 53cac6cc3b7581d14780ed278cbae4ed4cb8aa0e0e13f3e8debf08eccc666f3a 2263 pytest-localserver_0.8.1-1.dsc
 9ab97d669ce00c43b0e23f9df0ce6b23cf5861050c9164c074ea12419c9c9726 22132 pytest-localserver_0.8.1.orig.tar.xz
 d9078e643edd0abadf2242bc0c2a25f0c715d00298dcc2a31c1df02e973db548 4332 pytest-localserver_0.8.1-1.debian.tar.xz
 633801a7bc6e2bdc897dc4bfce5b281088cde4cee79f619416c729475a3b006b 7478 pytest-localserver_0.8.1-1_source.buildinfo
Files:
 f8a8faf4f1d4b9df198ee8be2a986bd3 2263 python optional pytest-localserver_0.8.1-1.dsc
 21615e3b10150e79115fb659bc07aa1f 22132 python optional pytest-localserver_0.8.1.orig.tar.xz
 d2ae80097fce30ae7aa9075e255b5d3c 4332 python optional pytest-localserver_0.8.1-1.debian.tar.xz
 7ad013c091a3dd8c67c5ae63d0a5acaf 7478 python optional pytest-localserver_0.8.1-1_source.buildinfo

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

iQJEBAEBCgAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAmWjlJwQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9eOtEADDp506ujA55JGfOSHZBBWgjFN0pi3k9phl
McB1sbKZsyXinvYo6wwe0VSHkW8XNe45VGeGH1vksh31jY558b8Gj8623uSRowJQ
Yr/sRHSrTnsBTfh5pjfiG5HxSnadiGtK82SzhgffEmZrvLterwD5DES+iaLcmHmX
WADXOnvIgYoobBXdwHoKUMwGbeYTBBmO0FGBCDA9Q4BF4vjK+pK1JRoKr5ciAC7C
78hMPbQ2XUyOA3Nw3kYOyw3M8/nxe1TmKY5gi9sba+ztqzru1pUUYqxY+NFXzYH+
yGwvTgzZUwJpxL4/fCodGCxIAih4JwoY10PvfHzW4GimlVo4oGuVlLddwpY+q/6X
2n92CPyVQguaB6qD5T0ftXdkuQLvqxxsFuIHGK+Ox9LdM0mQbV76eeSVglBmPR8F
6pPtgZzE79FUNnPb+k0qcJAaxKeZ558SfRZ+TRgxL3rTfPEwAk5fYdPudENkOwgv
ju/kH1gGieFo7tZu07tH27Ngyp3A6jXzP6LVTBOVU3MvonkpT3kf2IU4cbKQ+hRs
wFqgGvYUunCpWcJNEvSKxi4gGipdK4cZP4MCGa9X74Lx/jKA0DLvlsp8DV8E9I6W
5Ri0KVjzxxht9EAFmHYvph2+ZKHhdm6OenM1jKUgAPyoqUdstQGR7aQi0MVs1mPj
KFWs1LZbdA==
=GeNy
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: