Your message dated Sun, 15 Dec 2024 14:51:07 +0000
with message-id <e1tmpxb-00dy5p...@fasolo.debian.org>
and subject line Bug#1082228: fixed in python-mbed-host-tests 1.4.4-11
has caused the Debian Bug report #1082228,
regarding python-mbed-host-tests FTBFS with Python 3.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 ow...@bugs.debian.org
immediately.)


-- 
1082228: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082228
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-mbed-host-tests
Version: 1.4.4-10
Severity: normal
User: debian-pyt...@lists.debian.org
Usertags: python3.13

This package failed build from source when test-built against a version of
python3-defaults that includes 3.13 as a supported version.

To reproduce this issue, build against python3-defaults (python3-all-dev etc.)
from Debian experimental.

telnetlib was removed in Python 3.13.

What's new in Python 3.13:
https://docs.python.org/3.13/whatsnew/3.13.html

Log snippet:

test_examle (test.host_test_plugins.HostOSDetectionTestCase.test_examle) ... ok
test_pyserial_version_detect 
(test.host_test_plugins.HostOSDetectionTestCase.test_pyserial_version_detect) 
... ok
test_host_test_class_has_test_attr 
(test.host_test_scheme.HostRegistryTestCase.test_host_test_class_has_test_attr)
Check if host test has 'result' class member ... ok
test_host_test_class_test_attr_callable 
(test.host_test_scheme.HostRegistryTestCase.test_host_test_class_test_attr_callable)
Check if host test has callable 'result' class member ... ok
test_host_test_class_test_attr_callable_args_num 
(test.host_test_scheme.HostRegistryTestCase.test_host_test_class_test_attr_callable_args_num)
Check if host test has callable setup(), result() and teardown() class member 
has 2 arguments ... ok
test_copy_bin (test.mps2_copy.MPS2CopyTestCase.test_copy_bin) ... ok
test_copy_elf (test.mps2_copy.MPS2CopyTestCase.test_copy_elf) ... ok
test_check_sync (test.mps2_reset.MPS2ResetTestCase.test_check_sync) ... ok

======================================================================
ERROR: test.conn_primitive_remote 
(unittest.loader._FailedTest.test.conn_primitive_remote)
----------------------------------------------------------------------
ImportError: Failed to import test module: test.conn_primitive_remote
Traceback (most recent call last):
  File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.13/unittest/loader.py", line 339, in 
_get_module_from_name
    __import__(name)
    ~~~~~~~~~~^^^^^^
  File "/<<PKGBUILDDIR>>/test/conn_primitive_remote.py", line 22, in <module>
    from mbed_host_tests.host_tests_conn_proxy.conn_primitive_remote import 
RemoteConnectorPrimitive
  File "/<<PKGBUILDDIR>>/mbed_host_tests/host_tests_conn_proxy/__init__.py", 
line 20, in <module>
    from .conn_proxy import conn_process
  File "/<<PKGBUILDDIR>>/mbed_host_tests/host_tests_conn_proxy/conn_proxy.py", 
line 26, in <module>
    from .conn_primitive_fastmodel import FastmodelConnectorPrimitive
  File 
"/<<PKGBUILDDIR>>/mbed_host_tests/host_tests_conn_proxy/conn_primitive_fastmodel.py",
 line 18, in <module>
    import telnetlib
ModuleNotFoundError: No module named 'telnetlib'


----------------------------------------------------------------------
Ran 24 tests in 0.305s

FAILED (errors=1)
E: pybuild pybuild:389: test: plugin custom failed with: exit code=1: 
python3.13 -m unittest discover -v -s test -p "*.py" -t /<<PKGBUILDDIR>>
Traceback (most recent call last):
  File "/usr/bin/pybuild", line 387, in main
    run(func, i, version, c)
  File "/usr/bin/pybuild", line 325, in run
    result = func(context, args)
             ^^^^^^^^^^^^^^^^^^^
  File "/usr/share/dh-python/dhpython/build/base.py", line 365, in wrapped_func
    raise Exception(msg)
Exception: exit code=1: python3.13 -m unittest discover -v -s test -p "*.py" -t 
/<<PKGBUILDDIR>>
I: pybuild base:311: python3.12 -m unittest discover -v -s test -p "*.py" -t 
/<<PKGBUILDDIR>>
D: pybuild tools:231: invoking: python3.12 -m unittest discover -v -s test -p 
"*.py" -t /<<PKGBUILDDIR>>
/<<PKGBUILDDIR>>/mbed_host_tests/host_tests_plugins/module_reset_mbed.py:42: 
SyntaxWarning: invalid escape sequence '\d'
  self.re_float = re.compile("^\d+\.\d+")
/<<PKGBUILDDIR>>/test/host_test_os_detect.py:33: SyntaxWarning: invalid escape 
sequence '\d'
  self.re_float = re.compile("^\d+\.\d+$")
test_example (test.basic.BasicTestCase.test_example) ... ok
test_get_plugin_caps 
(test.basic_ht.BasicHostTestsTestCase.test_get_plugin_caps) ... ok
test_constructor 
(test.conn_primitive_remote.ConnPrimitiveRemoteTestCase.test_constructor) ... 
[1726718324.89][remote][INF] remote resources initialization: remote(host=None, 
port=8000)
[1726718324.89][remote][INF] remote resources count: 1
[1726718324.89][remote][INF] remote resources flashing with 'test.bin'...
[1726718324.89][remote][INF] opening connection to platform at baudrate='9600'
[1726718324.89][remote][INF] remote resources reset...
ok
test_finish 
(test.conn_primitive_remote.ConnPrimitiveRemoteTestCase.test_finish) ... 
[1726718324.89][remote][INF] remote resources initialization: remote(host=None, 
port=8000)
[1726718324.89][remote][INF] remote resources count: 1
[1726718324.89][remote][INF] remote resources flashing with 'test.bin'...
[1726718324.89][remote][INF] opening connection to platform at baudrate='9600'
[1726718324.89][remote][INF] remote resources reset...
ok
test_read (test.conn_primitive_remote.ConnPrimitiveRemoteTestCase.test_read) 
... [1726718324.89][remote][INF] remote resources initialization: 
remote(host=None, port=8000)
[1726718324.89][remote][INF] remote resources count: 1
[1726718324.89][remote][INF] remote resources flashing with 'test.bin'...
[1726718324.89][remote][INF] opening connection to platform at baudrate='9600'
[1726718324.89][remote][INF] remote resources reset...
ok
test_reset (test.conn_primitive_remote.ConnPrimitiveRemoteTestCase.test_reset) 
... [1726718324.90][remote][INF] remote resources initialization: 
remote(host=None, port=8000)
[1726718324.90][remote][INF] remote resources count: 1
[1726718324.90][remote][INF] remote resources flashing with 'test.bin'...
[1726718324.90][remote][INF] opening connection to platform at baudrate='9600'
[1726718324.90][remote][INF] remote resources reset...
[1726718324.90][remote][INF] remote resources reset...
ok
test_write (test.conn_primitive_remote.ConnPrimitiveRemoteTestCase.test_write) 
... [1726718324.90][remote][INF] remote resources initialization: 
remote(host=None, port=8000)
[1726718324.90][remote][INF] remote resources count: 1
[1726718324.90][remote][INF] remote resources flashing with 'test.bin'...
[1726718324.90][remote][INF] opening connection to platform at baudrate='9600'
[1726718324.90][remote][INF] remote resources reset...
ok
test_event_callback_decorator 
(test.event_callback_decorator.TestEvenCallbackDecorator.test_event_callback_decorator)
 ... ok
test_get_host_test (test.host_registry.HostRegistryTestCase.test_get_host_test) 
... ok
test_host_test_has_name_attribute 
(test.host_registry.HostRegistryTestCase.test_host_test_has_name_attribute) ... 
ok
test_host_test_str_not_empty 
(test.host_registry.HostRegistryTestCase.test_host_test_str_not_empty) ... ok
test_is_host_test (test.host_registry.HostRegistryTestCase.test_is_host_test) 
... ok
test_register_host_test 
(test.host_registry.HostRegistryTestCase.test_register_host_test) ... ok
test_unregister_host_test 
(test.host_registry.HostRegistryTestCase.test_unregister_host_test) ... ok
test_host_test_has_no_rampUpDown_attribute 
(test.host_test_base.BaseHostTestTestCase.test_host_test_has_no_rampUpDown_attribute)
 ... ok
test_host_test_has_setup_teardown_attribute 
(test.host_test_base.BaseHostTestTestCase.test_host_test_has_setup_teardown_attribute)
 ... ok
test_detect_os_support_ext 
(test.host_test_os_detect.HostOSDetectionTestCase.test_detect_os_support_ext) 
... ok
test_os_info (test.host_test_os_detect.HostOSDetectionTestCase.test_os_info) 
... ok
test_os_support 
(test.host_test_os_detect.HostOSDetectionTestCase.test_os_support) ... ok
test_supported_os_name 
(test.host_test_os_detect.HostOSDetectionTestCase.test_supported_os_name) ... ok
test_examle (test.host_test_plugins.HostOSDetectionTestCase.test_examle) ... ok
test_pyserial_version_detect 
(test.host_test_plugins.HostOSDetectionTestCase.test_pyserial_version_detect) 
... ok
test_host_test_class_has_test_attr 
(test.host_test_scheme.HostRegistryTestCase.test_host_test_class_has_test_attr)
Check if host test has 'result' class member ... ok
test_host_test_class_test_attr_callable 
(test.host_test_scheme.HostRegistryTestCase.test_host_test_class_test_attr_callable)
Check if host test has callable 'result' class member ... ok
test_host_test_class_test_attr_callable_args_num 
(test.host_test_scheme.HostRegistryTestCase.test_host_test_class_test_attr_callable_args_num)
Check if host test has callable setup(), result() and teardown() class member 
has 2 arguments ... ok
test_copy_bin (test.mps2_copy.MPS2CopyTestCase.test_copy_bin) ... ok
test_copy_elf (test.mps2_copy.MPS2CopyTestCase.test_copy_elf) ... ok
test_check_sync (test.mps2_reset.MPS2ResetTestCase.test_check_sync) ... ok

----------------------------------------------------------------------
Ran 28 tests in 0.035s

OK
        rm -fr -- /tmp/dh-xdg-rundir-Q1Mq_5s0
dh_auto_test: error: pybuild --test -i python{version} -p "3.13 3.12" returned 
exit code 13
make[1]: *** [debian/rules:41: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:14: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-09-19T03:58:45Z


If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/785835/

This bug has been filed at "normal" severity, as we haven't started the
transition to add 3.13 as a supported version, yet. This will be raised to RC
as soon as that happens, hopefully well before trixie.

Thanks,

Stefano

--- End Message ---
--- Begin Message ---
Source: python-mbed-host-tests
Source-Version: 1.4.4-11
Done: Alexandre Detiste <tc...@debian.org>

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

Debian distribution maintenance software
pp.
Alexandre Detiste <tc...@debian.org> (supplier of updated 
python-mbed-host-tests 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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Sun, 15 Dec 2024 14:34:14 +0100
Source: python-mbed-host-tests
Architecture: source
Version: 1.4.4-11
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packa...@qa.debian.org>
Changed-By: Alexandre Detiste <tc...@debian.org>
Closes: 1082228 1084532 1086849
Changes:
 python-mbed-host-tests (1.4.4-11) unstable; urgency=medium
 .
   * QA upload
   * Remove build-dependency on python3-mock
   * Remove undeclared runtime dependency on python3-six
   * Fix SyntaxWarning (Closes: #1086849)
   * Add dependency on python3-zombie-telnetlib (Closes: #1084532, #1082228)
 .
   [ Nick Morrott ]
   * Orphan package
Checksums-Sha1:
 2ac416a42627c3a5eb8199e6f5633cbfc35722a8 2395 
python-mbed-host-tests_1.4.4-11.dsc
 ce9a7bbef31b287e777f26e8cee0d362381832ac 9576 
python-mbed-host-tests_1.4.4-11.debian.tar.xz
 bd992d640114af33968302a316851abdf65f465a 8647 
python-mbed-host-tests_1.4.4-11_source.buildinfo
Checksums-Sha256:
 534377f07c4a9a0a8ff265dd2769527767787e3391f65aa54bc232c1f77948d5 2395 
python-mbed-host-tests_1.4.4-11.dsc
 e8465c092a69ea03986edc424260b2dffc796d8762d3642688f2509e701a905e 9576 
python-mbed-host-tests_1.4.4-11.debian.tar.xz
 a1dd5f09b2db998b89d8534cad8fb476a78b0f90ca8e25b698d33c7fd375a7af 8647 
python-mbed-host-tests_1.4.4-11_source.buildinfo
Files:
 8f6fe6deca4130747f42ec8ff075a388 2395 python optional 
python-mbed-host-tests_1.4.4-11.dsc
 031888f795967cf1b9963b0331ec868a 9576 python optional 
python-mbed-host-tests_1.4.4-11.debian.tar.xz
 b1317418fa13e83b946c9597dc884035 8647 python optional 
python-mbed-host-tests_1.4.4-11_source.buildinfo

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

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmde3aURHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBpFYA//SQ5pI8URz5m2xcTgMrEQWUFeVN4J0B+h
R7gtt72STLxx8n12qZ7H/1JiyVPLA6sYc7POAOz0t08rWdxt/frXs346pI1NqHYy
Q3PofSQI7S2WUpOlMfqs1d4lI9QFrubBrVov551X3T6q6rl711woz71p8HngOvms
drveG0i2phRzAXHH38snOLha7zbgVwd6kqRcoFUo9Cke7zuHJaq8nWBtrtO6pPY2
4g5c9TTGIkqfFPDf22zszr36Y4CaGf1zlVdsc4FR81m4VAv2x6HFRKahSTQB42hw
LLN4q1EQMp8exdlmPNmW1vp1LKFsxZIMNtVOpXOZTJxmshT7YmGzRPvLHJLauFI+
AattrGZRzMAQPzvXksvamVZiVTnCXHSEudJeIYS7JgYw58AmuJ7aoFhcl90xxjrB
/0+U92ZEkkbXZmUcDJ6/YRlyvNXBsUGwI2CpCFWRE0Z0Jz8/bO7nA1IFJafnQm+c
BFGown+jYL+3Hk/97xSFPhNzpE9WUUQAeMXMlocIo/rJADwpbnCutNy5B0BQchvu
5CM9d1R+smnPWmwfLhK+o72etdy/b3TsU7TNG0aW9YYXwbLk1eKQ+pRq4NBimrms
oAG5EMO4k5QAucu6Kma8u9dMigtsZ8ueuf6bnjaZvBYxOS59kiyb3lZfiI8nYpVU
vPx5cE3tH8c=
=RkTH
-----END PGP SIGNATURE-----

Attachment: pgphMboIFbHjl.pgp
Description: PGP signature


--- End Message ---

Reply via email to