Skip to content

Bot module discovery fails on Debian 13 #2648

@sebix

Description

@sebix
[  111s] ======================================================================                                                                                                         
[  111s] FAIL: test_get_bot_module_name_builtin_bot (intelmq.tests.lib.test_utils.TestUtils.test_get_bot_module_name_builtin_bot)                                                       
[  111s] ----------------------------------------------------------------------                                                                                                         
[  111s] Traceback (most recent call last):                                                                                                                                             
[  111s]   File "/usr/src/packages/BUILD/.pybuild/cpython3_3.13_intelmq/build/intelmq/tests/lib/test_utils.py", line 367, in test_get_bot_module_name_builtin_bot                       
[  111s]     self.assertEqual("intelmq.bots.collectors.api.collector_api", found_name)                                                                                                  
[  111s]     ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                                                  
[  111s] AssertionError: 'intelmq.bots.collectors.api.collector_api' != None                                                                                                            
[  111s]                                                                                                                                                                                
[  111s] ======================================================================                                                                                                         
[  111s] FAIL: test_list_all_bots_ignores_bots_with_syntax_error (intelmq.tests.lib.test_utils.TestUtils.test_list_all_bots_ignores_bots_with_syntax_error)                             
[  111s] ----------------------------------------------------------------------                                                                                                         
[  111s] Traceback (most recent call last):                                                                                                                                             
[  111s]   File "/usr/src/packages/BUILD/.pybuild/cpython3_3.13_intelmq/build/intelmq/tests/lib/test_utils.py", line 341, in test_list_all_bots_ignores_bots_with_syntax_error          
[  111s]     self.assertEqual(1, bot_count)                                                                                                                                             
[  111s]     ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^                                                                                                                                             
[  111s] AssertionError: 1 != 0                                                                                                                                                         

cc @kamil-certat (code author)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or unintended behaviorcomponent: core

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions