Skip to content

implement kb sync #376#382

Open
fqrious wants to merge 2 commits into
mainfrom
add-kb-sync
Open

implement kb sync #376#382
fqrious wants to merge 2 commits into
mainfrom
add-kb-sync

Conversation

@fqrious
Copy link
Copy Markdown
Contributor

@fqrious fqrious commented May 22, 2026

closes #376

@codecov
Copy link
Copy Markdown

codecov Bot commented May 22, 2026

❌ 7 Tests Failed:

Tests completed Failed Passed Skipped
7 7 0 0
View the top 1 failed test(s) by shortest run time
tests/src/test_task_helpers.py::tests.src.test_task_helpers
Stack Traces | 0s run time
ImportError while importing test module '.../tests/src/test_task_helpers.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
.../hostedtoolcache/Python/3.11.15............/x64/lib/python3.11.../site-packages/_pytest/python.py:498: in importtestmodule
    mod = import_path(
.../hostedtoolcache/Python/3.11.15............/x64/lib/python3.11.../site-packages/_pytest/pathlib.py:587: in import_path
    importlib.import_module(module_name)
.../hostedtoolcache/Python/3.11.15............/x64/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<frozen importlib._bootstrap>:1204: in _gcd_import
    ???
<frozen importlib._bootstrap>:1176: in _find_and_load
    ???
<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:690: in _load_unlocked
    ???
.../hostedtoolcache/Python/3.11.15............/x64/lib/python3.11.../_pytest/assertion/rewrite.py:186: in exec_module
    exec(co, module.__dict__)
tests/src/test_task_helpers.py:11: in <module>
    from stixify.worker import helpers
stixify/worker/helpers.py:4: in <module>
    from dogesec_commons.objects.kb_sync import sync
E   ModuleNotFoundError: No module named 'dogesec_commons.objects.kb_sync'
View the full list of 6 ❄️ flaky test(s)
tests/src/test_pdf_converter.py::tests.src.test_pdf_converter

Flake rate in main: 100.00% (Passed 0 times, Failed 2 times)

Stack Traces | 0s run time
ImportError while importing test module '.../tests/src/test_pdf_converter.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
.../hostedtoolcache/Python/3.11.15............/x64/lib/python3.11.../site-packages/_pytest/python.py:498: in importtestmodule
    mod = import_path(
.../hostedtoolcache/Python/3.11.15............/x64/lib/python3.11.../site-packages/_pytest/pathlib.py:587: in import_path
    importlib.import_module(module_name)
.../hostedtoolcache/Python/3.11.15............/x64/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<frozen importlib._bootstrap>:1204: in _gcd_import
    ???
<frozen importlib._bootstrap>:1176: in _find_and_load
    ???
<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:690: in _load_unlocked
    ???
.../hostedtoolcache/Python/3.11.15............/x64/lib/python3.11.../_pytest/assertion/rewrite.py:186: in exec_module
    exec(co, module.__dict__)
tests/src/test_pdf_converter.py:8: in <module>
    from stixify.worker.tasks import job_completed_with_error, new_task, process_post
stixify/worker/tasks.py:16: in <module>
    from stixify.worker import helpers, pdf_converter
stixify/worker/helpers.py:4: in <module>
    from dogesec_commons.objects.kb_sync import sync
E   ModuleNotFoundError: No module named 'dogesec_commons.objects.kb_sync'
tests/src/test_tasks.py::tests.src.test_tasks

Flake rate in main: 100.00% (Passed 0 times, Failed 2 times)

Stack Traces | 0s run time
ImportError while importing test module '.../tests/src/test_tasks.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
.../hostedtoolcache/Python/3.11.15............/x64/lib/python3.11.../site-packages/_pytest/python.py:498: in importtestmodule
    mod = import_path(
.../hostedtoolcache/Python/3.11.15............/x64/lib/python3.11.../site-packages/_pytest/pathlib.py:587: in import_path
    importlib.import_module(module_name)
.../hostedtoolcache/Python/3.11.15............/x64/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<frozen importlib._bootstrap>:1204: in _gcd_import
    ???
<frozen importlib._bootstrap>:1176: in _find_and_load
    ???
<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:690: in _load_unlocked
    ???
.../hostedtoolcache/Python/3.11.15............/x64/lib/python3.11.../_pytest/assertion/rewrite.py:186: in exec_module
    exec(co, module.__dict__)
tests/src/test_tasks.py:7: in <module>
    from stixify.worker.tasks import job_completed_with_error, new_task, process_post
stixify/worker/tasks.py:16: in <module>
    from stixify.worker import helpers, pdf_converter
stixify/worker/helpers.py:4: in <module>
    from dogesec_commons.objects.kb_sync import sync
E   ModuleNotFoundError: No module named 'dogesec_commons.objects.kb_sync'
tests/src/views/test_file_view.py::tests.src.views.test_file_view

Flake rate in main: 100.00% (Passed 0 times, Failed 2 times)

Stack Traces | 0s run time
ImportError while importing test module '.../src/views/test_file_view.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
.../hostedtoolcache/Python/3.11.15............/x64/lib/python3.11.../site-packages/_pytest/python.py:498: in importtestmodule
    mod = import_path(
.../hostedtoolcache/Python/3.11.15............/x64/lib/python3.11.../site-packages/_pytest/pathlib.py:587: in import_path
    importlib.import_module(module_name)
.../hostedtoolcache/Python/3.11.15............/x64/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<frozen importlib._bootstrap>:1204: in _gcd_import
    ???
<frozen importlib._bootstrap>:1176: in _find_and_load
    ???
<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:690: in _load_unlocked
    ???
.../hostedtoolcache/Python/3.11.15............/x64/lib/python3.11.../_pytest/assertion/rewrite.py:186: in exec_module
    exec(co, module.__dict__)
.../src/views/test_file_view.py:7: in <module>
    from stixify.web.views import FileView
stixify/web/views.py:26: in <module>
    from stixify.worker import tasks
stixify/worker/tasks.py:16: in <module>
    from stixify.worker import helpers, pdf_converter
stixify/worker/helpers.py:4: in <module>
    from dogesec_commons.objects.kb_sync import sync
E   ModuleNotFoundError: No module named 'dogesec_commons.objects.kb_sync'
tests/src/views/test_identity_view.py::tests.src.views.test_identity_view

Flake rate in main: 100.00% (Passed 0 times, Failed 2 times)

Stack Traces | 0s run time
ImportError while importing test module '.../src/views/test_identity_view.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
.../hostedtoolcache/Python/3.11.15.............../x64/lib/python3.11.../site-packages/_pytest/python.py:498: in importtestmodule
    mod = import_path(
.../hostedtoolcache/Python/3.11.15.............../x64/lib/python3.11.../site-packages/_pytest/pathlib.py:587: in import_path
    importlib.import_module(module_name)
.../hostedtoolcache/Python/3.11.15.............../x64/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<frozen importlib._bootstrap>:1204: in _gcd_import
    ???
<frozen importlib._bootstrap>:1176: in _find_and_load
    ???
<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:690: in _load_unlocked
    ???
.../hostedtoolcache/Python/3.11.15.............../x64/lib/python3.11.../_pytest/assertion/rewrite.py:186: in exec_module
    exec(co, module.__dict__)
.../src/views/test_identity_view.py:8: in <module>
    from .test_report_view import upload_arango_objects
.../hostedtoolcache/Python/3.11.15.............../x64/lib/python3.11.../_pytest/assertion/rewrite.py:186: in exec_module
    exec(co, module.__dict__)
.../src/views/test_report_view.py:7: in <module>
    from stixify.web.views import FileView
stixify/web/views.py:26: in <module>
    from stixify.worker import tasks
stixify/worker/tasks.py:16: in <module>
    from stixify.worker import helpers, pdf_converter
stixify/worker/helpers.py:4: in <module>
    from dogesec_commons.objects.kb_sync import sync
E   ModuleNotFoundError: No module named 'dogesec_commons.objects.kb_sync'
tests/src/views/test_report_view.py::tests.src.views.test_report_view

Flake rate in main: 100.00% (Passed 0 times, Failed 2 times)

Stack Traces | 0s run time
ImportError while importing test module '.../src/views/test_report_view.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
.../hostedtoolcache/Python/3.11.15............/x64/lib/python3.11.../site-packages/_pytest/python.py:498: in importtestmodule
    mod = import_path(
.../hostedtoolcache/Python/3.11.15............/x64/lib/python3.11.../site-packages/_pytest/pathlib.py:587: in import_path
    importlib.import_module(module_name)
.../hostedtoolcache/Python/3.11.15............/x64/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<frozen importlib._bootstrap>:1204: in _gcd_import
    ???
<frozen importlib._bootstrap>:1176: in _find_and_load
    ???
<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:690: in _load_unlocked
    ???
.../hostedtoolcache/Python/3.11.15............/x64/lib/python3.11.../_pytest/assertion/rewrite.py:186: in exec_module
    exec(co, module.__dict__)
.../src/views/test_report_view.py:7: in <module>
    from stixify.web.views import FileView
stixify/web/views.py:26: in <module>
    from stixify.worker import tasks
stixify/worker/tasks.py:16: in <module>
    from stixify.worker import helpers, pdf_converter
stixify/worker/helpers.py:4: in <module>
    from dogesec_commons.objects.kb_sync import sync
E   ModuleNotFoundError: No module named 'dogesec_commons.objects.kb_sync'
tests/st/test_schemathesis.py::tests.st.test_schemathesis

Flake rate in main: 100.00% (Passed 0 times, Failed 2 times)

Stack Traces | 0s run time
ImportError while importing test module '.../tests/st/test_schemathesis.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../core/handlers/exception.py:55: in inner
    response = get_response(request)
               ^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../core/handlers/base.py:181: in _get_response
    callback, callback_args, callback_kwargs = self.resolve_request(request)
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../core/handlers/base.py:313: in resolve_request
    resolver_match = resolver.resolve(request.path_info)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../django/urls/resolvers.py:666: in resolve
    for pattern in self.url_patterns:
                   ^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../django/utils/functional.py:47: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
                                         ^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../django/urls/resolvers.py:718: in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
                       ^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../django/utils/functional.py:47: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
                                         ^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../django/urls/resolvers.py:711: in urlconf_module
    return import_module(self.urlconf_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<frozen importlib._bootstrap>:1204: in _gcd_import
    ???
<frozen importlib._bootstrap>:1176: in _find_and_load
    ???
<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:690: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:940: in exec_module
    ???
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
    ???
stixify/urls.py:24: in <module>
    from .web.views import FileView, JobView, ReportView, SchemaViewCached, HealthCheckView, TasksView
stixify/web/views.py:26: in <module>
    from stixify.worker import tasks
stixify/worker/tasks.py:16: in <module>
    from stixify.worker import helpers, pdf_converter
stixify/worker/helpers.py:4: in <module>
    from dogesec_commons.objects.kb_sync import sync
E   ModuleNotFoundError: No module named 'dogesec_commons.objects.kb_sync'

During handling of the above exception, another exception occurred:
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../core/handlers/exception.py:55: in inner
    response = get_response(request)
               ^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../django/utils/deprecation.py:120: in __call__
    response = response or self.get_response(request)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../core/handlers/exception.py:141: in response_for_exception
    response = handle_uncaught_exception(
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../core/handlers/exception.py:185: in handle_uncaught_exception
    callback = resolver.resolve_error_handler(500)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../django/urls/resolvers.py:732: in resolve_error_handler
    callback = getattr(self.urlconf_module, "handler%s" % view_type, None)
                       ^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../django/utils/functional.py:47: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
                                         ^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../django/urls/resolvers.py:711: in urlconf_module
    return import_module(self.urlconf_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<frozen importlib._bootstrap>:1204: in _gcd_import
    ???
<frozen importlib._bootstrap>:1176: in _find_and_load
    ???
<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:690: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:940: in exec_module
    ???
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
    ???
stixify/urls.py:24: in <module>
    from .web.views import FileView, JobView, ReportView, SchemaViewCached, HealthCheckView, TasksView
stixify/web/views.py:26: in <module>
    from stixify.worker import tasks
stixify/worker/tasks.py:16: in <module>
    from stixify.worker import helpers, pdf_converter
stixify/worker/helpers.py:4: in <module>
    from dogesec_commons.objects.kb_sync import sync
E   ModuleNotFoundError: No module named 'dogesec_commons.objects.kb_sync'

During handling of the above exception, another exception occurred:
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../core/handlers/exception.py:55: in inner
    response = get_response(request)
               ^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../django/utils/deprecation.py:120: in __call__
    response = response or self.get_response(request)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../core/handlers/exception.py:141: in response_for_exception
    response = handle_uncaught_exception(
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../core/handlers/exception.py:185: in handle_uncaught_exception
    callback = resolver.resolve_error_handler(500)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../django/urls/resolvers.py:732: in resolve_error_handler
    callback = getattr(self.urlconf_module, "handler%s" % view_type, None)
                       ^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../django/utils/functional.py:47: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
                                         ^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../django/urls/resolvers.py:711: in urlconf_module
    return import_module(self.urlconf_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<frozen importlib._bootstrap>:1204: in _gcd_import
    ???
<frozen importlib._bootstrap>:1176: in _find_and_load
    ???
<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:690: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:940: in exec_module
    ???
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
    ???
stixify/urls.py:24: in <module>
    from .web.views import FileView, JobView, ReportView, SchemaViewCached, HealthCheckView, TasksView
stixify/web/views.py:26: in <module>
    from stixify.worker import tasks
stixify/worker/tasks.py:16: in <module>
    from stixify.worker import helpers, pdf_converter
stixify/worker/helpers.py:4: in <module>
    from dogesec_commons.objects.kb_sync import sync
E   ModuleNotFoundError: No module named 'dogesec_commons.objects.kb_sync'

During handling of the above exception, another exception occurred:
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../core/handlers/exception.py:55: in inner
    response = get_response(request)
               ^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../django/utils/deprecation.py:120: in __call__
    response = response or self.get_response(request)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../core/handlers/exception.py:141: in response_for_exception
    response = handle_uncaught_exception(
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../core/handlers/exception.py:185: in handle_uncaught_exception
    callback = resolver.resolve_error_handler(500)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../django/urls/resolvers.py:732: in resolve_error_handler
    callback = getattr(self.urlconf_module, "handler%s" % view_type, None)
                       ^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../django/utils/functional.py:47: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
                                         ^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../django/urls/resolvers.py:711: in urlconf_module
    return import_module(self.urlconf_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<frozen importlib._bootstrap>:1204: in _gcd_import
    ???
<frozen importlib._bootstrap>:1176: in _find_and_load
    ???
<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:690: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:940: in exec_module
    ???
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
    ???
stixify/urls.py:24: in <module>
    from .web.views import FileView, JobView, ReportView, SchemaViewCached, HealthCheckView, TasksView
stixify/web/views.py:26: in <module>
    from stixify.worker import tasks
stixify/worker/tasks.py:16: in <module>
    from stixify.worker import helpers, pdf_converter
stixify/worker/helpers.py:4: in <module>
    from dogesec_commons.objects.kb_sync import sync
E   ModuleNotFoundError: No module named 'dogesec_commons.objects.kb_sync'

During handling of the above exception, another exception occurred:
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../core/handlers/exception.py:55: in inner
    response = get_response(request)
               ^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../django/utils/deprecation.py:120: in __call__
    response = response or self.get_response(request)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../core/handlers/exception.py:141: in response_for_exception
    response = handle_uncaught_exception(
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../core/handlers/exception.py:185: in handle_uncaught_exception
    callback = resolver.resolve_error_handler(500)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../django/urls/resolvers.py:732: in resolve_error_handler
    callback = getattr(self.urlconf_module, "handler%s" % view_type, None)
                       ^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../django/utils/functional.py:47: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
                                         ^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../django/urls/resolvers.py:711: in urlconf_module
    return import_module(self.urlconf_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<frozen importlib._bootstrap>:1204: in _gcd_import
    ???
<frozen importlib._bootstrap>:1176: in _find_and_load
    ???
<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:690: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:940: in exec_module
    ???
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
    ???
stixify/urls.py:24: in <module>
    from .web.views import FileView, JobView, ReportView, SchemaViewCached, HealthCheckView, TasksView
stixify/web/views.py:26: in <module>
    from stixify.worker import tasks
stixify/worker/tasks.py:16: in <module>
    from stixify.worker import helpers, pdf_converter
stixify/worker/helpers.py:4: in <module>
    from dogesec_commons.objects.kb_sync import sync
E   ModuleNotFoundError: No module named 'dogesec_commons.objects.kb_sync'

During handling of the above exception, another exception occurred:
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../core/handlers/exception.py:55: in inner
    response = get_response(request)
               ^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../django/utils/deprecation.py:120: in __call__
    response = response or self.get_response(request)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../core/handlers/exception.py:141: in response_for_exception
    response = handle_uncaught_exception(
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../core/handlers/exception.py:185: in handle_uncaught_exception
    callback = resolver.resolve_error_handler(500)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../django/urls/resolvers.py:732: in resolve_error_handler
    callback = getattr(self.urlconf_module, "handler%s" % view_type, None)
                       ^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../django/utils/functional.py:47: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
                                         ^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../django/urls/resolvers.py:711: in urlconf_module
    return import_module(self.urlconf_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<frozen importlib._bootstrap>:1204: in _gcd_import
    ???
<frozen importlib._bootstrap>:1176: in _find_and_load
    ???
<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:690: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:940: in exec_module
    ???
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
    ???
stixify/urls.py:24: in <module>
    from .web.views import FileView, JobView, ReportView, SchemaViewCached, HealthCheckView, TasksView
stixify/web/views.py:26: in <module>
    from stixify.worker import tasks
stixify/worker/tasks.py:16: in <module>
    from stixify.worker import helpers, pdf_converter
stixify/worker/helpers.py:4: in <module>
    from dogesec_commons.objects.kb_sync import sync
E   ModuleNotFoundError: No module named 'dogesec_commons.objects.kb_sync'

During handling of the above exception, another exception occurred:
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../core/handlers/exception.py:55: in inner
    response = get_response(request)
               ^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../django/utils/deprecation.py:120: in __call__
    response = response or self.get_response(request)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../core/handlers/exception.py:141: in response_for_exception
    response = handle_uncaught_exception(
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../core/handlers/exception.py:185: in handle_uncaught_exception
    callback = resolver.resolve_error_handler(500)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../django/urls/resolvers.py:732: in resolve_error_handler
    callback = getattr(self.urlconf_module, "handler%s" % view_type, None)
                       ^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../django/utils/functional.py:47: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
                                         ^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../django/urls/resolvers.py:711: in urlconf_module
    return import_module(self.urlconf_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<frozen importlib._bootstrap>:1204: in _gcd_import
    ???
<frozen importlib._bootstrap>:1176: in _find_and_load
    ???
<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:690: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:940: in exec_module
    ???
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
    ???
stixify/urls.py:24: in <module>
    from .web.views import FileView, JobView, ReportView, SchemaViewCached, HealthCheckView, TasksView
stixify/web/views.py:26: in <module>
    from stixify.worker import tasks
stixify/worker/tasks.py:16: in <module>
    from stixify.worker import helpers, pdf_converter
stixify/worker/helpers.py:4: in <module>
    from dogesec_commons.objects.kb_sync import sync
E   ModuleNotFoundError: No module named 'dogesec_commons.objects.kb_sync'

During handling of the above exception, another exception occurred:
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../core/handlers/exception.py:55: in inner
    response = get_response(request)
               ^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../django/utils/deprecation.py:120: in __call__
    response = response or self.get_response(request)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../core/handlers/exception.py:141: in response_for_exception
    response = handle_uncaught_exception(
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../core/handlers/exception.py:185: in handle_uncaught_exception
    callback = resolver.resolve_error_handler(500)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../django/urls/resolvers.py:732: in resolve_error_handler
    callback = getattr(self.urlconf_module, "handler%s" % view_type, None)
                       ^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../django/utils/functional.py:47: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
                                         ^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../django/urls/resolvers.py:711: in urlconf_module
    return import_module(self.urlconf_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<frozen importlib._bootstrap>:1204: in _gcd_import
    ???
<frozen importlib._bootstrap>:1176: in _find_and_load
    ???
<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:690: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:940: in exec_module
    ???
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
    ???
stixify/urls.py:24: in <module>
    from .web.views import FileView, JobView, ReportView, SchemaViewCached, HealthCheckView, TasksView
stixify/web/views.py:26: in <module>
    from stixify.worker import tasks
stixify/worker/tasks.py:16: in <module>
    from stixify.worker import helpers, pdf_converter
stixify/worker/helpers.py:4: in <module>
    from dogesec_commons.objects.kb_sync import sync
E   ModuleNotFoundError: No module named 'dogesec_commons.objects.kb_sync'

During handling of the above exception, another exception occurred:
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../site-packages/_pytest/python.py:498: in importtestmodule
    mod = import_path(
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../site-packages/_pytest/pathlib.py:587: in import_path
    importlib.import_module(module_name)
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<frozen importlib._bootstrap>:1204: in _gcd_import
    ???
<frozen importlib._bootstrap>:1176: in _find_and_load
    ???
<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:690: in _load_unlocked
    ???
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../_pytest/assertion/rewrite.py:186: in exec_module
    exec(co, module.__dict__)
tests/st/test_schemathesis.py:15: in <module>
    schema = schemathesis.openapi.from_wsgi("/api/schema/?format=json", wsgi_app)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../schemathesis/openapi/loaders.py:74: in from_wsgi
    response = client.get(path=path, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11............/site-packages/werkzeug/test.py:1162: in get
    return self.open(*args, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11............/site-packages/werkzeug/test.py:1116: in open
    response_parts = self.run_wsgi_app(request.environ, buffered=buffered)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11............/site-packages/werkzeug/test.py:988: in run_wsgi_app
    rv = run_wsgi_app(self.application, environ, buffered=buffered)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11............/site-packages/werkzeug/test.py:1264: in run_wsgi_app
    app_rv = app(environ, start_response)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../core/handlers/wsgi.py:124: in __call__
    response = self.get_response(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../core/handlers/base.py:140: in get_response
    response = self._middleware_chain(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../core/handlers/exception.py:141: in response_for_exception
    response = handle_uncaught_exception(
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../core/handlers/exception.py:185: in handle_uncaught_exception
    callback = resolver.resolve_error_handler(500)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../django/urls/resolvers.py:732: in resolve_error_handler
    callback = getattr(self.urlconf_module, "handler%s" % view_type, None)
                       ^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../django/utils/functional.py:47: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
                                         ^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11.../django/urls/resolvers.py:711: in urlconf_module
    return import_module(self.urlconf_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.../hostedtoolcache/Python/3.11.15............................................................................................................................................................................................................................................................................../x64/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<frozen importlib._bootstrap>:1204: in _gcd_import
    ???
<frozen importlib._bootstrap>:1176: in _find_and_load
    ???
<frozen importlib._bootstrap>:1147: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:690: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:940: in exec_module
    ???
<frozen importlib._bootstrap>:241: in _call_with_frames_removed
    ???
stixify/urls.py:24: in <module>
    from .web.views import FileView, JobView, ReportView, SchemaViewCached, HealthCheckView, TasksView
stixify/web/views.py:26: in <module>
    from stixify.worker import tasks
stixify/worker/tasks.py:16: in <module>
    from stixify.worker import helpers, pdf_converter
stixify/worker/helpers.py:4: in <module>
    from dogesec_commons.objects.kb_sync import sync
E   ModuleNotFoundError: No module named 'dogesec_commons.objects.kb_sync'

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add sync for all external knowledgebases supported by app

1 participant