Source: python-mbed-ls
Version: 1.6.2+dfsg-8
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@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>>'
> python3 setup.py egg_info
> running egg_info
> creating mbed_ls.egg-info
> writing mbed_ls.egg-info/PKG-INFO
> writing dependency_links to mbed_ls.egg-info/dependency_links.txt
> writing entry points to mbed_ls.egg-info/entry_points.txt
> writing requirements to mbed_ls.egg-info/requires.txt
> writing top-level names to mbed_ls.egg-info/top_level.txt
> writing manifest file 'mbed_ls.egg-info/SOURCES.txt'
> reading manifest file 'mbed_ls.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'LICENSE'
> writing manifest file 'mbed_ls.egg-info/SOURCES.txt'
> PYBUILD_SYSTEM=custom \
> PYBUILD_TEST_ARGS="{interpreter} -m unittest discover -v -s test -p \"*.py\" 
> -t {dir}" \
> dh_auto_test
>       pybuild --test --test-pytest -i python{version} -p "3.12 3.11"
> D: pybuild pybuild:605: version: 6.20231204
> D: pybuild pybuild:606: ['/usr/bin/pybuild', '--test', '--test-pytest', '-i', 
> 'python{version}', '-p', '3.12 3.11']
> D: pybuild pybuild:39: cfg: Namespace(verbose=True, quiet=False, 
> really_quiet=False, detect_only=False, clean_only=False, 
> configure_only=False, build_only=False, install_only=False, test_only=True, 
> autopkgtest_only=False, list_systems=False, print_args=None, 
> before_clean=None, clean_args=None, after_clean=None, before_configure=None, 
> configure_args=None, after_configure=None, before_build=None, 
> build_args=None, after_build=None, before_install=None, install_args=None, 
> after_install=None, before_test=None, test_args=None, after_test=None, 
> test_nose=False, test_nose2=False, test_pytest=True, test_tox=False, 
> test_custom=False, dir='/<<PKGBUILDDIR>>', destdir='debian/tmp', 
> ext_destdir=None, ext_pattern='\\.so(\\.[^/]*)?$', ext_sub_pattern=None, 
> ext_sub_repl=None, install_dir=None, name='mbed_ls', system='custom', 
> versions=['3.12', '3.11'], interpreter=['python{version}'], disable=None, 
> custom_tests=True)
> D: pybuild __init__:37: cannot initialize 'cmake' plugin: Missing command 
> 'cmake'
> D: pybuild __init__:37: cannot initialize 'meson' plugin: Missing command 
> 'meson'
> D: pybuild tools:232: invoking: /usr/bin/dpkg-architecture
> D: pybuild pybuild:155: detected build system: custom (certainty: 99%)
> I: pybuild pybuild:314: cp -rv /<<PKGBUILDDIR>>/test 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mbed_ls/build
> D: pybuild tools:232: invoking: cp -rv /<<PKGBUILDDIR>>/test 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mbed_ls/build
> '/<<PKGBUILDDIR>>/test/__init__.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mbed_ls/build/test/__init__.py'
> '/<<PKGBUILDDIR>>/test/base.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mbed_ls/build/test/base.py'
> '/<<PKGBUILDDIR>>/test/details_txt.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mbed_ls/build/test/details_txt.py'
> '/<<PKGBUILDDIR>>/test/detect_os.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mbed_ls/build/test/detect_os.py'
> '/<<PKGBUILDDIR>>/test/mbed_htm.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mbed_ls/build/test/mbed_htm.py'
> '/<<PKGBUILDDIR>>/test/os_linux_generic.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mbed_ls/build/test/os_linux_generic.py'
> '/<<PKGBUILDDIR>>/test/platform_detection.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mbed_ls/build/test/platform_detection.py'
> '/<<PKGBUILDDIR>>/test/test_data' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mbed_ls/build/test/test_data'
> '/<<PKGBUILDDIR>>/test/test_data/efm32pg_stk3401_jlink' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mbed_ls/build/test/test_data/efm32pg_stk3401_jlink'
> '/<<PKGBUILDDIR>>/test/test_data/efm32pg_stk3401_jlink/MBED.HTM' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mbed_ls/build/test/test_data/efm32pg_stk3401_jlink/MBED.HTM'
> '/<<PKGBUILDDIR>>/test/test_data/efm32pg_stk3401_jlink/README.TXT' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mbed_ls/build/test/test_data/efm32pg_stk3401_jlink/README.TXT'
> '/<<PKGBUILDDIR>>/test/test_data/efm32pg_stk3401_jlink/sl_kit.html' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mbed_ls/build/test/test_data/efm32pg_stk3401_jlink/sl_kit.html'
> '/<<PKGBUILDDIR>>/test/test_data/efm32pg_stk3401_jlink/sl_qsg.html' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mbed_ls/build/test/test_data/efm32pg_stk3401_jlink/sl_qsg.html'
> '/<<PKGBUILDDIR>>/test/test_data/k64f_daplink' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mbed_ls/build/test/test_data/k64f_daplink'
> '/<<PKGBUILDDIR>>/test/test_data/k64f_daplink/DETAILS.TXT' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mbed_ls/build/test/test_data/k64f_daplink/DETAILS.TXT'
> '/<<PKGBUILDDIR>>/test/test_data/k64f_daplink/MBED.HTM' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mbed_ls/build/test/test_data/k64f_daplink/MBED.HTM'
> '/<<PKGBUILDDIR>>/test/test_data/lpc1768' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mbed_ls/build/test/test_data/lpc1768'
> '/<<PKGBUILDDIR>>/test/test_data/lpc1768/MBED.HTM' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mbed_ls/build/test/test_data/lpc1768/MBED.HTM'
> '/<<PKGBUILDDIR>>/test/test_data/nrf51_microbit' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mbed_ls/build/test/test_data/nrf51_microbit'
> '/<<PKGBUILDDIR>>/test/test_data/nrf51_microbit/DETAILS.TXT' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mbed_ls/build/test/test_data/nrf51_microbit/DETAILS.TXT'
> '/<<PKGBUILDDIR>>/test/test_data/nrf51_microbit/MICROBIT.HTM' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mbed_ls/build/test/test_data/nrf51_microbit/MICROBIT.HTM'
> '/<<PKGBUILDDIR>>/test/test_data/nrf52_dk_daplink' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mbed_ls/build/test/test_data/nrf52_dk_daplink'
> '/<<PKGBUILDDIR>>/test/test_data/nrf52_dk_daplink/DETAILS.TXT' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mbed_ls/build/test/test_data/nrf52_dk_daplink/DETAILS.TXT'
> '/<<PKGBUILDDIR>>/test/test_data/nrf52_dk_daplink/MBED.HTM' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mbed_ls/build/test/test_data/nrf52_dk_daplink/MBED.HTM'
> '/<<PKGBUILDDIR>>/test/test_data/nrf52_dk_jlink' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mbed_ls/build/test/test_data/nrf52_dk_jlink'
> '/<<PKGBUILDDIR>>/test/test_data/nrf52_dk_jlink/MBED.HTM' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mbed_ls/build/test/test_data/nrf52_dk_jlink/MBED.HTM'
> '/<<PKGBUILDDIR>>/test/test_data/nrf52_dk_jlink/README.TXT' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mbed_ls/build/test/test_data/nrf52_dk_jlink/README.TXT'
> '/<<PKGBUILDDIR>>/test/test_data/nrf52_dk_jlink/Segger.html' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mbed_ls/build/test/test_data/nrf52_dk_jlink/Segger.html'
> '/<<PKGBUILDDIR>>/test/test_data/nrf52_dk_jlink/User Guide.html' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mbed_ls/build/test/test_data/nrf52_dk_jlink/User
>  Guide.html'
> '/<<PKGBUILDDIR>>/test/test_data/nucleo_f411re_stlink' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mbed_ls/build/test/test_data/nucleo_f411re_stlink'
> '/<<PKGBUILDDIR>>/test/test_data/nucleo_f411re_stlink/DETAILS.TXT' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mbed_ls/build/test/test_data/nucleo_f411re_stlink/DETAILS.TXT'
> '/<<PKGBUILDDIR>>/test/test_data/nucleo_f411re_stlink/MBED.HTM' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mbed_ls/build/test/test_data/nucleo_f411re_stlink/MBED.HTM'
> '/<<PKGBUILDDIR>>/test/mbedls_toolsbase.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mbed_ls/build/test/mbedls_toolsbase.py'
> '/<<PKGBUILDDIR>>/test/platform_database.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mbed_ls/build/test/platform_database.py'
> I: pybuild base:310: python3.12 -m unittest discover -v -s test -p "*.py" -t 
> /<<PKGBUILDDIR>>
> D: pybuild tools:232: invoking: python3.12 -m unittest discover -v -s test -p 
> "*.py" -t /<<PKGBUILDDIR>>
> /<<PKGBUILDDIR>>/mbed_lstools/lstools_base.py:675: SyntaxWarning: invalid 
> escape sequence '\?'
>   m = re.search('\?code=([a-fA-F0-9]+)', line)
> /<<PKGBUILDDIR>>/mbed_lstools/lstools_base.py:681: SyntaxWarning: invalid 
> escape sequence '\?'
>   m = re.search('\?auth=([a-fA-F0-9]+)', line)
> test_json_by_target_id (test.base.CLIComands.test_json_by_target_id) ... ok
> test_json_platforms (test.base.CLIComands.test_json_platforms) ... ok
> test_json_platforms_ext (test.base.CLIComands.test_json_platforms_ext) ... ok
> test_list_platform (test.base.CLIComands.test_list_platform) ... ok
> test_mbeds_as_json (test.base.CLIComands.test_mbeds_as_json) ... ok
> test_print_simple (test.base.CLIComands.test_print_simple) ... ok
> test_print_table (test.base.CLIComands.test_print_table) ... ok
> test_print_version (test.base.CLIComands.test_print_version) ... ok
> test_parse_cli_conflict (test.base.CLIParser.test_parse_cli_conflict) ... 
> usage: python3.12 -m unittest [-h]
>                               [-s | -j | -J | -p | -P | -l | --version | -m 
> ID:NAME]
>                               [--skip-retarget] [-u] [-d]
> python3.12 -m unittest: error: argument -J/--json-by-target-id: not allowed 
> with argument -j/--json
> ok
> test_parse_cli_defaults (test.base.CLIParser.test_parse_cli_defaults) ... ok
> test_parse_cli_single_param (test.base.CLIParser.test_parse_cli_single_param) 
> ... ok
> test_start_logging (test.base.CLISetup.test_start_logging) ... ok
> test_ (test.details_txt.ParseMbedHTMTestCase.test_) ... 
> WARNING:mbedls.platform_database:Error loading database 
> /<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/mbedls/platforms.json:
>  Platform Database is out of date; Recreating
> ok
> test_extended_daplink_txt_content 
> (test.details_txt.ParseMbedHTMTestCase.test_extended_daplink_txt_content) ... 
> ok
> test_simplified_daplink_txt_content 
> (test.details_txt.ParseMbedHTMTestCase.test_simplified_daplink_txt_content) 
> ... ok
> test_detect_os_support_ext 
> (test.detect_os.DetectOSTestCase.test_detect_os_support_ext) ... ok
> test_porting_create (test.detect_os.DetectOSTestCase.test_porting_create) ... 
> ok
> test_porting_mbed_lstools_os_info 
> (test.detect_os.DetectOSTestCase.test_porting_mbed_lstools_os_info) ... ok
> test_porting_mbed_os_support 
> (test.detect_os.DetectOSTestCase.test_porting_mbed_os_support) ... ok
> test_supported_os_name 
> (test.detect_os.DetectOSTestCase.test_supported_os_name) ... ok
> test_ (test.mbed_htm.ParseMbedHTMTestCase.test_) ... ok
> test_daplink_240_mbed_html 
> (test.mbed_htm.ParseMbedHTMTestCase.test_daplink_240_mbed_html) ... ok
> test_daplink_nucleo_l031k6_url 
> (test.mbed_htm.ParseMbedHTMTestCase.test_daplink_nucleo_l031k6_url) ... ok
> test_mbed_htm_k64f_url 
> (test.mbed_htm.ParseMbedHTMTestCase.test_mbed_htm_k64f_url) ... ok
> test_mbed_htm_l152re_url 
> (test.mbed_htm.ParseMbedHTMTestCase.test_mbed_htm_l152re_url) ... ok
> test_mbed_htm_lpc1768_url 
> (test.mbed_htm.ParseMbedHTMTestCase.test_mbed_htm_lpc1768_url) ... ok
> test_mbed_htm_nrf51_url 
> (test.mbed_htm.ParseMbedHTMTestCase.test_mbed_htm_nrf51_url) ... ok
> test_detect_device_test 
> (test.mbedls_toolsbase.BasicTestCase.test_detect_device_test) ... ok
> test_device_type_unmounted 
> (test.mbedls_toolsbase.BasicTestCase.test_device_type_unmounted) ... ok
> test_fs_after (test.mbedls_toolsbase.BasicTestCase.test_fs_after) ... ERROR
> test_fs_before (test.mbedls_toolsbase.BasicTestCase.test_fs_before) ... ERROR
> test_fs_never (test.mbedls_toolsbase.BasicTestCase.test_fs_never) ... ok
> test_get_supported_platforms 
> (test.mbedls_toolsbase.BasicTestCase.test_get_supported_platforms) ... ok
> test_list_manufacture_ids 
> (test.mbedls_toolsbase.BasicTestCase.test_list_manufacture_ids) ... 
> WARNING:mbedls.lstools_base:Call to deprecated function 
> list_manufacture_ids. List formatting methods are deprecated for a simpler 
> API. Please use 'list_mbeds' instead.
> ok
> test_list_mbeds_invalid_platform 
> (test.mbedls_toolsbase.BasicTestCase.test_list_mbeds_invalid_platform) ... 
> WARNING:mbedls.lstools_base:daplink entry: "not_" not found in 
> platform database
> WARNING:mbedls.lstools_base:daplink entry: "not_" not found in 
> platform database
> ok
> test_list_mbeds_invalid_tid 
> (test.mbedls_toolsbase.BasicTestCase.test_list_mbeds_invalid_tid) ... ok
> test_list_mbeds_read_details_txt_failure 
> (test.mbedls_toolsbase.BasicTestCase.test_list_mbeds_read_details_txt_failure)
>  ... WARNING:mbedls.lstools_base:Marking device with mount point 
> "dummy_mount_point" as unmounted due to the following error: 
> WARNING:mbedls.lstools_base:Marking device with mount point 
> "dummy_mount_point" as unmounted due to the following error: 
> ok
> test_list_mbeds_read_mbed_htm_failure 
> (test.mbedls_toolsbase.BasicTestCase.test_list_mbeds_read_mbed_htm_failure) 
> ... WARNING:mbedls.lstools_base:Marking device with mount point 
> "dummy_mount_point" as unmounted due to the following error: 
> WARNING:mbedls.lstools_base:Marking device with mount point 
> "dummy_mount_point" as unmounted due to the following error: 
> ok
> test_list_mbeds_read_no_mbed_htm 
> (test.mbedls_toolsbase.BasicTestCase.test_list_mbeds_read_no_mbed_htm) ... ok
> test_list_mbeds_unmount_mid_read 
> (test.mbedls_toolsbase.BasicTestCase.test_list_mbeds_unmount_mid_read) ... 
> WARNING:mbedls.lstools_base:Marking device with mount point 
> "dummy_mount_point" as unmounted due to the following error: 
> ok
> test_list_mbeds_unmount_mid_read_list_unmounted 
> (test.mbedls_toolsbase.BasicTestCase.test_list_mbeds_unmount_mid_read_list_unmounted)
>  ... WARNING:mbedls.lstools_base:Marking device with mount point 
> "dummy_mount_point" as unmounted due to the following error: 
> ok
> test_list_mbeds_valid_platform 
> (test.mbedls_toolsbase.BasicTestCase.test_list_mbeds_valid_platform) ... 
> WARNING:mbedls.lstools_base:MBED with target id '00000000000' is 
> connected, but not mounted. Use the '-u' flag to include it in the list.
> ok
> test_mock_manufacture_ids_default_multiple 
> (test.mbedls_toolsbase.BasicTestCase.test_mock_manufacture_ids_default_multiple)
>  ... skipped 'skip database tests'
> test_mock_manufacture_ids_minus 
> (test.mbedls_toolsbase.BasicTestCase.test_mock_manufacture_ids_minus) ... 
> skipped 'skip database tests'
> test_mock_manufacture_ids_star 
> (test.mbedls_toolsbase.BasicTestCase.test_mock_manufacture_ids_star) ... 
> skipped 'skip database tests'
> test_update_device_details_jlink 
> (test.mbedls_toolsbase.BasicTestCase.test_update_device_details_jlink) ... 
> WARNING:mbedls.lstools_base:No valid file found to update JLink 
> device details
> ok
> test_update_device_from_fs_mid_unmount 
> (test.mbedls_toolsbase.BasicTestCase.test_update_device_from_fs_mid_unmount) 
> ... WARNING:mbedls.lstools_base:Marking device with mount point 
> "dummy_mount" as unmounted due to the following error: 
> ok
> test_list_mbeds_valid_platform 
> (test.mbedls_toolsbase.RetargetTestCase.test_list_mbeds_valid_platform) ... ok
> test_get_detected_1_k64f 
> (test.os_linux_generic.LinuxPortTestCase.test_get_detected_1_k64f) ... ok
> test_get_detected_2_k64f 
> (test.os_linux_generic.LinuxPortTestCase.test_get_detected_2_k64f) ... ok
> test_get_detected_3_k64f 
> (test.os_linux_generic.LinuxPortTestCase.test_get_detected_3_k64f) ... ok
> test_get_detected_rpi 
> (test.os_linux_generic.LinuxPortTestCase.test_get_detected_rpi) ... ok
> test_get_mount_point_basic 
> (test.os_linux_generic.LinuxPortTestCase.test_get_mount_point_basic) ... ok
> test_get_mount_point_ext 
> (test.os_linux_generic.LinuxPortTestCase.test_get_mount_point_ext) ... ok
> test_add (test.platform_database.EmptyPlatformDatabaseTests.test_add)
> Test that what was added can later be queried ... ok
> test_bogus_add 
> (test.platform_database.EmptyPlatformDatabaseTests.test_bogus_add)
> Test that add requires properly formatted platform ids ... ok
> test_bogus_database 
> (test.platform_database.EmptyPlatformDatabaseTests.test_bogus_database)
> Basic empty database test ... ok
> test_bogus_remove 
> (test.platform_database.EmptyPlatformDatabaseTests.test_bogus_remove)
> Test that removing a not present platform does nothing ... ok
> test_broken_database 
> (test.platform_database.EmptyPlatformDatabaseTests.test_broken_database)
> Verify that the platform database correctly reset's its database ... skipped 
> 'skip database tests'
> test_broken_database_bad_json 
> (test.platform_database.EmptyPlatformDatabaseTests.test_broken_database_bad_json)
> Verify that the platform database still works without a ... ok
> test_broken_database_io 
> (test.platform_database.EmptyPlatformDatabaseTests.test_broken_database_io)
> Verify that the platform database still works without a ... ok
> test_extra_broken_database 
> (test.platform_database.EmptyPlatformDatabaseTests.test_extra_broken_database)
> Verify that the platform database falls back to the built in database ... 
> WARNING:mbedls.platform_database:Error loading database 
> /<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/mbedls/platforms.json:
>  Bogus; Recreating
> ok
> test_old_database 
> (test.platform_database.EmptyPlatformDatabaseTests.test_old_database)
> Verify that the platform database correctly updates's its database ... 
> WARNING:mbedls.platform_database:Error loading database 
> /<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/mbedls/platforms.json:
>  Platform Database is out of date; Recreating
> ok
> test_remove (test.platform_database.EmptyPlatformDatabaseTests.test_remove)
> Test that once something is removed it no longer shows up when queried ... ok
> test_simplify_verbose_data 
> (test.platform_database.EmptyPlatformDatabaseTests.test_simplify_verbose_data)
> Test that fetching a verbose entry without verbose data correctly ... ok
> test_no_update (test.platform_database.InternalLockingChecks.test_no_update)
> Test that no locks are used when no modifications are specified ... ok
> test_update (test.platform_database.InternalLockingChecks.test_update)
> Test that locks are used when modifications are specified ... ok
> test_update_ambiguous 
> (test.platform_database.InternalLockingChecks.test_update_ambiguous)
> Test that the backing file is not updated when lock acquisition fails ... 
> ERROR:mbedls.platform_database:Can't update platform database: 
> destination database is ambiguous
> ok
> test_update_fail_acquire 
> (test.platform_database.InternalLockingChecks.test_update_fail_acquire)
> Test that the backing file is not updated when lock acquisition fails ... 
> ERROR:mbedls.platform_database:Could not update platform database: 
> Lock acquire failed after 60 seconds
> ok
> test_add_non_override 
> (test.platform_database.OverriddenPlatformDatabaseTests.test_add_non_override)
> Check that adding keys goes to the Override database ... ok
> test_add_override_permanent 
> (test.platform_database.OverriddenPlatformDatabaseTests.test_add_override_permanent)
> Check that adding a platform goes to the Override database and ... ok
> test_basline 
> (test.platform_database.OverriddenPlatformDatabaseTests.test_basline)
> Sanity check that the base database does what we expect ... ok
> test_load_override 
> (test.platform_database.OverriddenPlatformDatabaseTests.test_load_override)
> Check that adding a platform goes to the Override database and ... 
> WARNING:mbedls.platform_database:Duplicate platform ids found: 
> daplink.0123, ignoring the definitions from /tmp/tmpxxjy0ya6/base
> ok
> test_remove_from_base 
> (test.platform_database.OverriddenPlatformDatabaseTests.test_remove_from_base)
> Check that removing a platform from the base database no longer allows you to 
> query ... ok
> test_remove_from_base_permanent 
> (test.platform_database.OverriddenPlatformDatabaseTests.test_remove_from_base_permanent)
> Check that removing a platform from the base database no longer allows you to 
> query ... ok
> test_remove_override 
> (test.platform_database.OverriddenPlatformDatabaseTests.test_remove_override)
> Check that removing a platform from the Override database allows you to query 
> ... ok
> test_efm32pg_stk3401_jlink 
> (test.platform_detection.PlatformDetectionTestCase.test_efm32pg_stk3401_jlink)
>  ... WARNING:mbedls.lstools_base:No valid file found to update JLink 
> device details
> ok
> test_k64f_daplink 
> (test.platform_detection.PlatformDetectionTestCase.test_k64f_daplink) ... ok
> test_lpc1768 (test.platform_detection.PlatformDetectionTestCase.test_lpc1768) 
> ... ok
> test_nrf51_microbit 
> (test.platform_detection.PlatformDetectionTestCase.test_nrf51_microbit) ... ok
> test_nrf52_dk_daplink 
> (test.platform_detection.PlatformDetectionTestCase.test_nrf52_dk_daplink) ... 
> ok
> test_nrf52_dk_jlink 
> (test.platform_detection.PlatformDetectionTestCase.test_nrf52_dk_jlink) ... ok
> test_nucleo_f411re_stlink 
> (test.platform_detection.PlatformDetectionTestCase.test_nucleo_f411re_stlink) 
> ... ok
> 
> ======================================================================
> ERROR: test_fs_after (test.mbedls_toolsbase.BasicTestCase.test_fs_after)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/test/mbedls_toolsbase.py", line 425, in test_fs_after
>     self.assertDictContainsSubset(ret[0], ret_with_details[0])
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> AttributeError: 'BasicTestCase' object has no attribute 
> 'assertDictContainsSubset'
> 
> ======================================================================
> ERROR: test_fs_before (test.mbedls_toolsbase.BasicTestCase.test_fs_before)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/test/mbedls_toolsbase.py", line 501, in 
> test_fs_before
>     self.assertDictContainsSubset(ret[0], ret_with_details[0])
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> AttributeError: 'BasicTestCase' object has no attribute 
> 'assertDictContainsSubset'
> 
> ----------------------------------------------------------------------
> Ran 79 tests in 0.276s
> 
> FAILED (errors=2, skipped=4)
> E: pybuild pybuild:395: test: plugin custom failed with: exit code=1: 
> python3.12 -m unittest discover -v -s test -p "*.py" -t /<<PKGBUILDDIR>>
> Traceback (most recent call last):
>   File "/usr/bin/pybuild", line 393, in main
>     run(func, i, version, c)
>   File "/usr/bin/pybuild", line 331, in run
>     result = func(context, args)
>              ^^^^^^^^^^^^^^^^^^^
>   File "/usr/share/dh-python/dhpython/build/base.py", line 363, in 
> wrapped_func
>     raise Exception(msg)
> Exception: exit code=1: python3.12 -m unittest discover -v -s test -p "*.py" 
> -t /<<PKGBUILDDIR>>
> I: pybuild pybuild:314: cp -rv /<<PKGBUILDDIR>>/test 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build
> D: pybuild tools:232: invoking: cp -rv /<<PKGBUILDDIR>>/test 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build
> '/<<PKGBUILDDIR>>/test/__init__.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/__init__.py'
> '/<<PKGBUILDDIR>>/test/base.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/base.py'
> '/<<PKGBUILDDIR>>/test/details_txt.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/details_txt.py'
> '/<<PKGBUILDDIR>>/test/detect_os.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/detect_os.py'
> '/<<PKGBUILDDIR>>/test/mbed_htm.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/mbed_htm.py'
> '/<<PKGBUILDDIR>>/test/os_linux_generic.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/os_linux_generic.py'
> '/<<PKGBUILDDIR>>/test/platform_detection.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/platform_detection.py'
> '/<<PKGBUILDDIR>>/test/test_data' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data'
> '/<<PKGBUILDDIR>>/test/test_data/efm32pg_stk3401_jlink' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/efm32pg_stk3401_jlink'
> '/<<PKGBUILDDIR>>/test/test_data/efm32pg_stk3401_jlink/MBED.HTM' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/efm32pg_stk3401_jlink/MBED.HTM'
> '/<<PKGBUILDDIR>>/test/test_data/efm32pg_stk3401_jlink/README.TXT' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/efm32pg_stk3401_jlink/README.TXT'
> '/<<PKGBUILDDIR>>/test/test_data/efm32pg_stk3401_jlink/sl_kit.html' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/efm32pg_stk3401_jlink/sl_kit.html'
> '/<<PKGBUILDDIR>>/test/test_data/efm32pg_stk3401_jlink/sl_qsg.html' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/efm32pg_stk3401_jlink/sl_qsg.html'
> '/<<PKGBUILDDIR>>/test/test_data/k64f_daplink' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/k64f_daplink'
> '/<<PKGBUILDDIR>>/test/test_data/k64f_daplink/DETAILS.TXT' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/k64f_daplink/DETAILS.TXT'
> '/<<PKGBUILDDIR>>/test/test_data/k64f_daplink/MBED.HTM' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/k64f_daplink/MBED.HTM'
> '/<<PKGBUILDDIR>>/test/test_data/lpc1768' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/lpc1768'
> '/<<PKGBUILDDIR>>/test/test_data/lpc1768/MBED.HTM' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/lpc1768/MBED.HTM'
> '/<<PKGBUILDDIR>>/test/test_data/nrf51_microbit' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/nrf51_microbit'
> '/<<PKGBUILDDIR>>/test/test_data/nrf51_microbit/DETAILS.TXT' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/nrf51_microbit/DETAILS.TXT'
> '/<<PKGBUILDDIR>>/test/test_data/nrf51_microbit/MICROBIT.HTM' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/nrf51_microbit/MICROBIT.HTM'
> '/<<PKGBUILDDIR>>/test/test_data/nrf52_dk_daplink' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/nrf52_dk_daplink'
> '/<<PKGBUILDDIR>>/test/test_data/nrf52_dk_daplink/DETAILS.TXT' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/nrf52_dk_daplink/DETAILS.TXT'
> '/<<PKGBUILDDIR>>/test/test_data/nrf52_dk_daplink/MBED.HTM' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/nrf52_dk_daplink/MBED.HTM'
> '/<<PKGBUILDDIR>>/test/test_data/nrf52_dk_jlink' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/nrf52_dk_jlink'
> '/<<PKGBUILDDIR>>/test/test_data/nrf52_dk_jlink/MBED.HTM' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/nrf52_dk_jlink/MBED.HTM'
> '/<<PKGBUILDDIR>>/test/test_data/nrf52_dk_jlink/README.TXT' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/nrf52_dk_jlink/README.TXT'
> '/<<PKGBUILDDIR>>/test/test_data/nrf52_dk_jlink/Segger.html' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/nrf52_dk_jlink/Segger.html'
> '/<<PKGBUILDDIR>>/test/test_data/nrf52_dk_jlink/User Guide.html' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/nrf52_dk_jlink/User
>  Guide.html'
> '/<<PKGBUILDDIR>>/test/test_data/nucleo_f411re_stlink' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/nucleo_f411re_stlink'
> '/<<PKGBUILDDIR>>/test/test_data/nucleo_f411re_stlink/DETAILS.TXT' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/nucleo_f411re_stlink/DETAILS.TXT'
> '/<<PKGBUILDDIR>>/test/test_data/nucleo_f411re_stlink/MBED.HTM' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/nucleo_f411re_stlink/MBED.HTM'
> '/<<PKGBUILDDIR>>/test/mbedls_toolsbase.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/mbedls_toolsbase.py'
> '/<<PKGBUILDDIR>>/test/platform_database.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/platform_database.py'
> '/<<PKGBUILDDIR>>/test/__pycache__' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/__pycache__'
> '/<<PKGBUILDDIR>>/test/__pycache__/__init__.cpython-312.pyc' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/__pycache__/__init__.cpython-312.pyc'
> '/<<PKGBUILDDIR>>/test/__pycache__/base.cpython-312.pyc' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/__pycache__/base.cpython-312.pyc'
> '/<<PKGBUILDDIR>>/test/__pycache__/details_txt.cpython-312.pyc' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/__pycache__/details_txt.cpython-312.pyc'
> '/<<PKGBUILDDIR>>/test/__pycache__/detect_os.cpython-312.pyc' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/__pycache__/detect_os.cpython-312.pyc'
> '/<<PKGBUILDDIR>>/test/__pycache__/mbed_htm.cpython-312.pyc' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/__pycache__/mbed_htm.cpython-312.pyc'
> '/<<PKGBUILDDIR>>/test/__pycache__/mbedls_toolsbase.cpython-312.pyc' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/__pycache__/mbedls_toolsbase.cpython-312.pyc'
> '/<<PKGBUILDDIR>>/test/__pycache__/os_linux_generic.cpython-312.pyc' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/__pycache__/os_linux_generic.cpython-312.pyc'
> '/<<PKGBUILDDIR>>/test/__pycache__/platform_database.cpython-312.pyc' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/__pycache__/platform_database.cpython-312.pyc'
> '/<<PKGBUILDDIR>>/test/__pycache__/platform_detection.cpython-312.pyc' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/__pycache__/platform_detection.cpython-312.pyc'
> I: pybuild base:310: python3.11 -m unittest discover -v -s test -p "*.py" -t 
> /<<PKGBUILDDIR>>
> D: pybuild tools:232: invoking: python3.11 -m unittest discover -v -s test -p 
> "*.py" -t /<<PKGBUILDDIR>>
> test_json_by_target_id (test.base.CLIComands.test_json_by_target_id) ... ok
> test_json_platforms (test.base.CLIComands.test_json_platforms) ... ok
> test_json_platforms_ext (test.base.CLIComands.test_json_platforms_ext) ... ok
> test_list_platform (test.base.CLIComands.test_list_platform) ... ok
> test_mbeds_as_json (test.base.CLIComands.test_mbeds_as_json) ... ok
> test_print_simple (test.base.CLIComands.test_print_simple) ... ok
> test_print_table (test.base.CLIComands.test_print_table) ... ok
> test_print_version (test.base.CLIComands.test_print_version) ... ok
> test_parse_cli_conflict (test.base.CLIParser.test_parse_cli_conflict) ... 
> usage: python3.11 -m unittest [-h]
>                               [-s | -j | -J | -p | -P | -l | --version | -m 
> ID:NAME]
>                               [--skip-retarget] [-u] [-d]
> python3.11 -m unittest: error: argument -J/--json-by-target-id: not allowed 
> with argument -j/--json
> ok
> test_parse_cli_defaults (test.base.CLIParser.test_parse_cli_defaults) ... ok
> test_parse_cli_single_param (test.base.CLIParser.test_parse_cli_single_param) 
> ... ok
> test_start_logging (test.base.CLISetup.test_start_logging) ... ok
> test_ (test.details_txt.ParseMbedHTMTestCase.test_) ... ok
> test_extended_daplink_txt_content 
> (test.details_txt.ParseMbedHTMTestCase.test_extended_daplink_txt_content) ... 
> ok
> test_simplified_daplink_txt_content 
> (test.details_txt.ParseMbedHTMTestCase.test_simplified_daplink_txt_content) 
> ... ok
> test_detect_os_support_ext 
> (test.detect_os.DetectOSTestCase.test_detect_os_support_ext) ... ok
> test_porting_create (test.detect_os.DetectOSTestCase.test_porting_create) ... 
> ok
> test_porting_mbed_lstools_os_info 
> (test.detect_os.DetectOSTestCase.test_porting_mbed_lstools_os_info) ... ok
> test_porting_mbed_os_support 
> (test.detect_os.DetectOSTestCase.test_porting_mbed_os_support) ... ok
> test_supported_os_name 
> (test.detect_os.DetectOSTestCase.test_supported_os_name) ... ok
> test_ (test.mbed_htm.ParseMbedHTMTestCase.test_) ... ok
> test_daplink_240_mbed_html 
> (test.mbed_htm.ParseMbedHTMTestCase.test_daplink_240_mbed_html) ... ok
> test_daplink_nucleo_l031k6_url 
> (test.mbed_htm.ParseMbedHTMTestCase.test_daplink_nucleo_l031k6_url) ... ok
> test_mbed_htm_k64f_url 
> (test.mbed_htm.ParseMbedHTMTestCase.test_mbed_htm_k64f_url) ... ok
> test_mbed_htm_l152re_url 
> (test.mbed_htm.ParseMbedHTMTestCase.test_mbed_htm_l152re_url) ... ok
> test_mbed_htm_lpc1768_url 
> (test.mbed_htm.ParseMbedHTMTestCase.test_mbed_htm_lpc1768_url) ... ok
> test_mbed_htm_nrf51_url 
> (test.mbed_htm.ParseMbedHTMTestCase.test_mbed_htm_nrf51_url) ... ok
> test_detect_device_test 
> (test.mbedls_toolsbase.BasicTestCase.test_detect_device_test) ... ok
> test_device_type_unmounted 
> (test.mbedls_toolsbase.BasicTestCase.test_device_type_unmounted) ... ok
> test_fs_after (test.mbedls_toolsbase.BasicTestCase.test_fs_after) ... 
> /usr/lib/python3.11/unittest/case.py:1176: DeprecationWarning: 
> assertDictContainsSubset is deprecated
>   warnings.warn('assertDictContainsSubset is deprecated',
> ok
> test_fs_before (test.mbedls_toolsbase.BasicTestCase.test_fs_before) ... ok
> test_fs_never (test.mbedls_toolsbase.BasicTestCase.test_fs_never) ... ok
> test_get_supported_platforms 
> (test.mbedls_toolsbase.BasicTestCase.test_get_supported_platforms) ... ok
> test_list_manufacture_ids 
> (test.mbedls_toolsbase.BasicTestCase.test_list_manufacture_ids) ... 
> WARNING:mbedls.lstools_base:Call to deprecated function 
> list_manufacture_ids. List formatting methods are deprecated for a simpler 
> API. Please use 'list_mbeds' instead.
> ok
> test_list_mbeds_invalid_platform 
> (test.mbedls_toolsbase.BasicTestCase.test_list_mbeds_invalid_platform) ... 
> WARNING:mbedls.lstools_base:daplink entry: "not_" not found in 
> platform database
> WARNING:mbedls.lstools_base:daplink entry: "not_" not found in 
> platform database
> ok
> test_list_mbeds_invalid_tid 
> (test.mbedls_toolsbase.BasicTestCase.test_list_mbeds_invalid_tid) ... ok
> test_list_mbeds_read_details_txt_failure 
> (test.mbedls_toolsbase.BasicTestCase.test_list_mbeds_read_details_txt_failure)
>  ... WARNING:mbedls.lstools_base:Marking device with mount point 
> "dummy_mount_point" as unmounted due to the following error: 
> WARNING:mbedls.lstools_base:Marking device with mount point 
> "dummy_mount_point" as unmounted due to the following error: 
> ok
> test_list_mbeds_read_mbed_htm_failure 
> (test.mbedls_toolsbase.BasicTestCase.test_list_mbeds_read_mbed_htm_failure) 
> ... WARNING:mbedls.lstools_base:Marking device with mount point 
> "dummy_mount_point" as unmounted due to the following error: 
> WARNING:mbedls.lstools_base:Marking device with mount point 
> "dummy_mount_point" as unmounted due to the following error: 
> ok
> test_list_mbeds_read_no_mbed_htm 
> (test.mbedls_toolsbase.BasicTestCase.test_list_mbeds_read_no_mbed_htm) ... ok
> test_list_mbeds_unmount_mid_read 
> (test.mbedls_toolsbase.BasicTestCase.test_list_mbeds_unmount_mid_read) ... 
> WARNING:mbedls.lstools_base:Marking device with mount point 
> "dummy_mount_point" as unmounted due to the following error: 
> ok
> test_list_mbeds_unmount_mid_read_list_unmounted 
> (test.mbedls_toolsbase.BasicTestCase.test_list_mbeds_unmount_mid_read_list_unmounted)
>  ... WARNING:mbedls.lstools_base:Marking device with mount point 
> "dummy_mount_point" as unmounted due to the following error: 
> ok
> test_list_mbeds_valid_platform 
> (test.mbedls_toolsbase.BasicTestCase.test_list_mbeds_valid_platform) ... 
> WARNING:mbedls.lstools_base:MBED with target id '00000000000' is 
> connected, but not mounted. Use the '-u' flag to include it in the list.
> ok
> test_mock_manufacture_ids_default_multiple 
> (test.mbedls_toolsbase.BasicTestCase.test_mock_manufacture_ids_default_multiple)
>  ... skipped 'skip database tests'
> test_mock_manufacture_ids_minus 
> (test.mbedls_toolsbase.BasicTestCase.test_mock_manufacture_ids_minus) ... 
> skipped 'skip database tests'
> test_mock_manufacture_ids_star 
> (test.mbedls_toolsbase.BasicTestCase.test_mock_manufacture_ids_star) ... 
> skipped 'skip database tests'
> test_update_device_details_jlink 
> (test.mbedls_toolsbase.BasicTestCase.test_update_device_details_jlink) ... 
> WARNING:mbedls.lstools_base:No valid file found to update JLink 
> device details
> ok
> test_update_device_from_fs_mid_unmount 
> (test.mbedls_toolsbase.BasicTestCase.test_update_device_from_fs_mid_unmount) 
> ... WARNING:mbedls.lstools_base:Marking device with mount point 
> "dummy_mount" as unmounted due to the following error: 
> ok
> test_list_mbeds_valid_platform 
> (test.mbedls_toolsbase.RetargetTestCase.test_list_mbeds_valid_platform) ... ok
> test_get_detected_1_k64f 
> (test.os_linux_generic.LinuxPortTestCase.test_get_detected_1_k64f) ... ok
> test_get_detected_2_k64f 
> (test.os_linux_generic.LinuxPortTestCase.test_get_detected_2_k64f) ... ok
> test_get_detected_3_k64f 
> (test.os_linux_generic.LinuxPortTestCase.test_get_detected_3_k64f) ... ok
> test_get_detected_rpi 
> (test.os_linux_generic.LinuxPortTestCase.test_get_detected_rpi) ... ok
> test_get_mount_point_basic 
> (test.os_linux_generic.LinuxPortTestCase.test_get_mount_point_basic) ... ok
> test_get_mount_point_ext 
> (test.os_linux_generic.LinuxPortTestCase.test_get_mount_point_ext) ... ok
> test_add (test.platform_database.EmptyPlatformDatabaseTests.test_add)
> Test that what was added can later be queried ... ok
> test_bogus_add 
> (test.platform_database.EmptyPlatformDatabaseTests.test_bogus_add)
> Test that add requires properly formatted platform ids ... ok
> test_bogus_database 
> (test.platform_database.EmptyPlatformDatabaseTests.test_bogus_database)
> Basic empty database test ... ok
> test_bogus_remove 
> (test.platform_database.EmptyPlatformDatabaseTests.test_bogus_remove)
> Test that removing a not present platform does nothing ... ok
> test_broken_database 
> (test.platform_database.EmptyPlatformDatabaseTests.test_broken_database)
> Verify that the platform database correctly reset's its database ... skipped 
> 'skip database tests'
> test_broken_database_bad_json 
> (test.platform_database.EmptyPlatformDatabaseTests.test_broken_database_bad_json)
> Verify that the platform database still works without a ... ok
> test_broken_database_io 
> (test.platform_database.EmptyPlatformDatabaseTests.test_broken_database_io)
> Verify that the platform database still works without a ... ok
> test_extra_broken_database 
> (test.platform_database.EmptyPlatformDatabaseTests.test_extra_broken_database)
> Verify that the platform database falls back to the built in database ... 
> WARNING:mbedls.platform_database:Error loading database 
> /<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/mbedls/platforms.json:
>  Bogus; Recreating
> ok
> test_old_database 
> (test.platform_database.EmptyPlatformDatabaseTests.test_old_database)
> Verify that the platform database correctly updates's its database ... 
> WARNING:mbedls.platform_database:Error loading database 
> /<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/mbedls/platforms.json:
>  Platform Database is out of date; Recreating
> ok
> test_remove (test.platform_database.EmptyPlatformDatabaseTests.test_remove)
> Test that once something is removed it no longer shows up when queried ... ok
> test_simplify_verbose_data 
> (test.platform_database.EmptyPlatformDatabaseTests.test_simplify_verbose_data)
> Test that fetching a verbose entry without verbose data correctly ... ok
> test_no_update (test.platform_database.InternalLockingChecks.test_no_update)
> Test that no locks are used when no modifications are specified ... ok
> test_update (test.platform_database.InternalLockingChecks.test_update)
> Test that locks are used when modifications are specified ... ok
> test_update_ambiguous 
> (test.platform_database.InternalLockingChecks.test_update_ambiguous)
> Test that the backing file is not updated when lock acquisition fails ... 
> ERROR:mbedls.platform_database:Can't update platform database: 
> destination database is ambiguous
> ok
> test_update_fail_acquire 
> (test.platform_database.InternalLockingChecks.test_update_fail_acquire)
> Test that the backing file is not updated when lock acquisition fails ... 
> ERROR:mbedls.platform_database:Could not update platform database: 
> Lock acquire failed after 60 seconds
> ok
> test_add_non_override 
> (test.platform_database.OverriddenPlatformDatabaseTests.test_add_non_override)
> Check that adding keys goes to the Override database ... ok
> test_add_override_permanent 
> (test.platform_database.OverriddenPlatformDatabaseTests.test_add_override_permanent)
> Check that adding a platform goes to the Override database and ... ok
> test_basline 
> (test.platform_database.OverriddenPlatformDatabaseTests.test_basline)
> Sanity check that the base database does what we expect ... ok
> test_load_override 
> (test.platform_database.OverriddenPlatformDatabaseTests.test_load_override)
> Check that adding a platform goes to the Override database and ... 
> WARNING:mbedls.platform_database:Duplicate platform ids found: 
> daplink.0123, ignoring the definitions from /tmp/tmpeig23505/base
> ok
> test_remove_from_base 
> (test.platform_database.OverriddenPlatformDatabaseTests.test_remove_from_base)
> Check that removing a platform from the base database no longer allows you to 
> query ... ok
> test_remove_from_base_permanent 
> (test.platform_database.OverriddenPlatformDatabaseTests.test_remove_from_base_permanent)
> Check that removing a platform from the base database no longer allows you to 
> query ... ok
> test_remove_override 
> (test.platform_database.OverriddenPlatformDatabaseTests.test_remove_override)
> Check that removing a platform from the Override database allows you to query 
> ... ok
> test_efm32pg_stk3401_jlink 
> (test.platform_detection.PlatformDetectionTestCase.test_efm32pg_stk3401_jlink)
>  ... WARNING:mbedls.lstools_base:No valid file found to update JLink 
> device details
> ok
> test_k64f_daplink 
> (test.platform_detection.PlatformDetectionTestCase.test_k64f_daplink) ... ok
> test_lpc1768 (test.platform_detection.PlatformDetectionTestCase.test_lpc1768) 
> ... ok
> test_nrf51_microbit 
> (test.platform_detection.PlatformDetectionTestCase.test_nrf51_microbit) ... ok
> test_nrf52_dk_daplink 
> (test.platform_detection.PlatformDetectionTestCase.test_nrf52_dk_daplink) ... 
> ok
> test_nrf52_dk_jlink 
> (test.platform_detection.PlatformDetectionTestCase.test_nrf52_dk_jlink) ... ok
> test_nucleo_f411re_stlink 
> (test.platform_detection.PlatformDetectionTestCase.test_nucleo_f411re_stlink) 
> ... ok
> 
> ----------------------------------------------------------------------
> Ran 83 tests in 0.236s
> 
> OK (skipped=4)
> I: pybuild pybuild:340: rm -rfv 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test
> D: pybuild tools:232: invoking: rm -rfv 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test
> removed 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/__init__.py'
> removed 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/details_txt.py'
> removed 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/platform_database.py'
> removed 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/__pycache__/platform_detection.cpython-312.pyc'
> removed 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/__pycache__/os_linux_generic.cpython-312.pyc'
> removed 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/__pycache__/mbed_htm.cpython-312.pyc'
> removed 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/__pycache__/details_txt.cpython-312.pyc'
> removed 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/__pycache__/platform_database.cpython-312.pyc'
> removed 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/__pycache__/__init__.cpython-312.pyc'
> removed 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/__pycache__/base.cpython-312.pyc'
> removed 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/__pycache__/mbedls_toolsbase.cpython-312.pyc'
> removed 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/__pycache__/detect_os.cpython-312.pyc'
> removed directory 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/__pycache__'
> removed 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/platform_detection.py'
> removed 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/detect_os.py'
> removed '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/base.py'
> removed 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/mbed_htm.py'
> removed 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/mbedls_toolsbase.py'
> removed 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/os_linux_generic.py'
> removed 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/nrf51_microbit/MICROBIT.HTM'
> removed 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/nrf51_microbit/DETAILS.TXT'
> removed directory 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/nrf51_microbit'
> removed 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/efm32pg_stk3401_jlink/sl_qsg.html'
> removed 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/efm32pg_stk3401_jlink/sl_kit.html'
> removed 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/efm32pg_stk3401_jlink/README.TXT'
> removed 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/efm32pg_stk3401_jlink/MBED.HTM'
> removed directory 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/efm32pg_stk3401_jlink'
> removed 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/nrf52_dk_daplink/DETAILS.TXT'
> removed 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/nrf52_dk_daplink/MBED.HTM'
> removed directory 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/nrf52_dk_daplink'
> removed 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/k64f_daplink/DETAILS.TXT'
> removed 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/k64f_daplink/MBED.HTM'
> removed directory 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/k64f_daplink'
> removed 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/lpc1768/MBED.HTM'
> removed directory 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/lpc1768'
> removed 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/nrf52_dk_jlink/README.TXT'
> removed 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/nrf52_dk_jlink/Segger.html'
> removed 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/nrf52_dk_jlink/User
>  Guide.html'
> removed 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/nrf52_dk_jlink/MBED.HTM'
> removed directory 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/nrf52_dk_jlink'
> removed 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/nucleo_f411re_stlink/DETAILS.TXT'
> removed 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/nucleo_f411re_stlink/MBED.HTM'
> removed directory 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data/nucleo_f411re_stlink'
> removed directory 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test/test_data'
> removed directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mbed_ls/build/test'
>       rm -fr -- /tmp/dh-xdg-rundir-VzqWhd9x
> 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/python-mbed-ls_1.6.2+dfsg-8_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lu...@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.

Reply via email to