Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump pre-commit from 3.8.0 to 4.0.0 in /requirements #126

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 8, 2024

Bumps pre-commit from 3.8.0 to 4.0.0.

Release notes

Sourced from pre-commit's releases.

pre-commit v4.0.0

Features

Migrating

Changelog

Sourced from pre-commit's changelog.

4.0.0 - 2024-10-05

Features

Migrating

Commits
  • dbccd57 v4.0.0
  • d07e529 Merge pull request #3320 from pre-commit/remove-python-venv
  • 801b956 remove deprecated python_venv alias
  • a2f7b80 Merge pull request #3315 from pre-commit/warn-deprecated-stage-names-on-init
  • d317223 add warning for deprecates stages for remote repos on init
  • 7555e11 Merge pull request #3314 from pre-commit/remove-log-info-mock
  • 05e365f Merge pull request #3313 from pre-commit/default-stages-warning
  • 1d2f1c0 replace log_info_mock with pytest's caplog
  • 33e020f add warning for deprecated stages values in default_stages
  • e7cfc0d Merge pull request #3312 from pre-commit/warning-for-old-stage-names
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.8.0 to 4.0.0.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](pre-commit/pre-commit@v3.8.0...v4.0.0)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 8, 2024
Copy link

sourcery-ai bot commented Oct 8, 2024

🧙 Sourcery has finished reviewing your pull request!


Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!

Copy link

deepsource-io bot commented Oct 8, 2024

Here's the code health analysis summary for commits cf422ba..7c2cdf9. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource Python LogoPython✅ SuccessView Check ↗
DeepSource Docker LogoDocker✅ SuccessView Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

Copy link
Contributor

qodo-merge-pro bot commented Oct 8, 2024

PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here.

CI Failure Feedback 🧐

Action: backend-tests

Failed stage: Run test [❌]

Failed test name: test_subclasses

Failure summary:

The action failed due to multiple issues:

  • Several tests in the tests.api_app.test_api.ApiViewTests suite failed because the file
    test_files/file.exe could not be found, resulting in FileNotFoundError.
  • The test test_subclasses in tests.api_app.analyzers_manager.test_classes.FileAnalyzerTestCase failed
    due to an AssertionError, indicating that no valid job was found for the analyzer APKiD with the
    specified configuration.

  • Relevant error logs:
    1:  ##[group]Operating System
    2:  Ubuntu
    ...
    
    2275:  #15 9.473 Checking optional features...
    2276:  #15 9.473 inc_bundling_support....disabled
    2277:  #15 9.473   requires:
    2278:  #15 9.473     ! inc::latest is not installed
    2279:  #15 9.473 license_creation........disabled
    2280:  #15 9.473   requires:
    2281:  #15 9.473     ! Software::License is not installed
    2282:  #15 9.473 
    2283:  #15 9.473 ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
    ...
    
    2353:  #15 10.43     !  Email::MIME is not installed
    2354:  #15 10.43     !  Email::MIME::ContentType is not installed
    2355:  #15 10.43     !  Email::Sender is not installed
    2356:  #15 10.43     !  Email::Simple is not installed
    2357:  #15 10.43     !  IO::All is not installed
    2358:  #15 10.43     !  IO::String is not installed
    2359:  #15 10.43     !  OLE::Storage_Lite is not installed
    2360:  #15 10.43 
    2361:  #15 10.43 ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
    ...
    
    3637:  #15 22.57 Warning: prerequisite Capture::Tiny 0.08 not found.
    3638:  #15 22.57 Warning: prerequisite Email::Abstract 3.006 not found.
    3639:  #15 22.57 Warning: prerequisite Moo 2.000000 not found.
    3640:  #15 22.57 Warning: prerequisite Moo::Role 0 not found.
    3641:  #15 22.57 Warning: prerequisite MooX::Types::MooseLike 0.15 not found.
    3642:  #15 22.57 Warning: prerequisite MooX::Types::MooseLike::Base 0 not found.
    3643:  #15 22.57 Warning: prerequisite Sub::Exporter 0 not found.
    3644:  #15 22.57 Warning: prerequisite Sub::Exporter::Util 0 not found.
    3645:  #15 22.57 Warning: prerequisite Throwable::Error 0.200003 not found.
    ...
    
    3657:  #15 22.69     Capture::Tiny [build_requires]
    3658:  #15 22.69     Email::Abstract [requires]
    3659:  #15 22.69     Moo [requires]
    3660:  #15 22.69     Moo::Role [requires]
    3661:  #15 22.69     MooX::Types::MooseLike [requires]
    3662:  #15 22.69     MooX::Types::MooseLike::Base [requires]
    3663:  #15 22.69     Sub::Exporter [requires]
    3664:  #15 22.69     Sub::Exporter::Util [requires]
    3665:  #15 22.69     Throwable::Error [requires]
    ...
    
    4466:  #14 41.76 "@babel/plugin-proposal-private-property-in-object" package without
    4467:  #14 41.76 declaring it in its dependencies. This is currently working because
    4468:  #14 41.76 "@babel/plugin-proposal-private-property-in-object" is already in your
    4469:  #14 41.76 node_modules folder for unrelated reasons, but it �[1mmay break at any time�[0;33m.
    4470:  #14 41.76 
    4471:  #14 41.76 babel-preset-react-app is part of the create-react-app project, �[1mwhich
    4472:  #14 41.76 is not maintianed anymore�[0;33m. It is thus unlikely that this bug will
    4473:  #14 41.76 ever be fixed. Add "@babel/plugin-proposal-private-property-in-object" to
    4474:  #14 41.76 your devDependencies to work around this error. This will make this message
    ...
    
    5385:  #15 50.20 Installing /usr/local/man/man3/Sub::Exporter::Cookbook.3pm
    5386:  #15 50.20 Installing /usr/local/man/man3/Sub::Exporter.3pm
    5387:  #15 50.20 Installing /usr/local/man/man3/Sub::Exporter::Util.3pm
    5388:  #15 50.20 Installing /usr/local/man/man3/Sub::Exporter::Tutorial.3pm
    5389:  #15 50.21 Appending installation info to /usr/local/lib/x86_64-linux-gnu/perl/5.36.0/perllocal.pod
    5390:  #15 50.24   RJBS/Sub-Exporter-0.991.tar.gz
    5391:  #15 50.24   /usr/bin/make install  -- OK
    5392:  #15 50.24 Sub::Exporter::Util is up to date (0.991).
    5393:  #15 50.24 Running install for module 'Throwable::Error'
    ...
    
    5502:  #15 51.65   /usr/bin/make install  -- OK
    5503:  #15 51.66   RJBS/Throwable-1.001.tar.gz
    5504:  #15 51.66   Has already been unwrapped into directory /root/.cpan/build/Throwable-1.001-0
    5505:  #15 51.66   RJBS/Throwable-1.001.tar.gz
    5506:  #15 51.66   Has already been prepared
    5507:  #15 51.66 Running make for R/RJ/RJBS/Throwable-1.001.tar.gz
    5508:  #15 51.86 cp lib/StackTrace/Auto.pm blib/lib/StackTrace/Auto.pm
    5509:  #15 51.86 cp lib/Throwable.pm blib/lib/Throwable.pm
    5510:  #15 51.86 cp lib/Throwable/Error.pm blib/lib/Throwable/Error.pm
    ...
    
    5512:  #15 51.94   RJBS/Throwable-1.001.tar.gz
    5513:  #15 51.94   /usr/bin/make -- OK
    5514:  #15 51.94   RJBS/Throwable-1.001.tar.gz
    5515:  #15 51.94   Skipping test because of notest pragma
    5516:  #15 51.94 Running make install for RJBS/Throwable-1.001.tar.gz
    5517:  #15 52.00 Manifying 3 pod documents
    5518:  #15 52.04 Installing /usr/local/share/perl/5.36.0/Throwable.pm
    5519:  #15 52.04 Installing /usr/local/share/perl/5.36.0/StackTrace/Auto.pm
    5520:  #15 52.04 Installing /usr/local/share/perl/5.36.0/Throwable/Error.pm
    5521:  #15 52.04 Installing /usr/local/man/man3/Throwable::Error.3pm
    ...
    
    7877:  #19 112.0   Attempting uninstall: prometheus-client
    7878:  #19 112.0     Found existing installation: prometheus_client 0.21.0
    7879:  #19 112.0     Uninstalling prometheus_client-0.21.0:
    7880:  #19 112.0       Successfully uninstalled prometheus_client-0.21.0
    7881:  #19 112.1   Attempting uninstall: cachetools
    7882:  #19 112.1     Found existing installation: cachetools 5.5.0
    7883:  #19 112.1     Uninstalling cachetools-5.5.0:
    7884:  #19 112.1       Successfully uninstalled cachetools-5.5.0
    7885:  #19 112.4 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
    ...
    
    7969:  #19 114.2   Stored in directory: /tmp/pip-ephem-wheel-cache-y_ewpvc6/wheels/0f/fe/56/6cba6eafbb252c805af7616631ef63d8e0790c958b1bd86c63
    7970:  #19 114.2 Successfully built drf-flex-fields
    7971:  #19 114.4 Installing collected packages: ua-parser, drf-flex-fields, user-agents, slack-sdk, python-ipware, oauthlib, Markdown, django-cache-memoize, stripe, requests-oauthlib, django-user-agents, django-ipware, python-twitter, drf-recaptcha, django-rest-durin, certego-saas
    7972:  #19 115.8 Successfully installed Markdown-3.3.7 certego-saas-0.7.11 django-cache-memoize-0.2.0 django-ipware-7.0.1 django-rest-durin-1.0.0 django-user-agents-0.4.0 drf-flex-fields-1.0.2 drf-recaptcha-4.0.2 oauthlib-3.2.2 python-ipware-3.0.0 python-twitter-3.5 requests-oauthlib-2.0.0 slack-sdk-3.33.1 stripe-11.1.0 ua-parser-0.18.0 user-agents-2.2.0
    7973:  #19 115.8 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
    7974:  #19 DONE 117.7s
    7975:  #20 [uwsgi backend-build  9/10] COPY . /opt/deploy/threat_matrix
    7976:  #20 DONE 0.2s
    7977:  #21 [uwsgi backend-build 10/10] RUN touch /var/log/threat_matrix/django/api_app.log /var/log/threat_matrix/django/api_app_errors.log     && touch /var/log/threat_matrix/django/threat_matrix.log /var/log/threat_matrix/django/threat_matrix_errors.log     && touch /var/log/threat_matrix/django/celery.log /var/log/threat_matrix/django/celery_errors.log     && touch /var/log/threat_matrix/django/django_auth_ldap.log /var/log/threat_matrix/django/django_errors.log     && touch /var/log/threat_matrix/django/certego_saas.log /var/log/threat_matrix/django/certego_saas_errors.log     && touch /var/log/threat_matrix/django/authentication.log /var/log/threat_matrix/django/authentication_errors.log     && touch /var/log/threat_matrix/asgi/daphne.log     && chown -R www-data:www-data /var/log/threat_matrix /opt/deploy/     && rm -rf /root/.local     && /opt/deploy/threat_matrix/docker/scripts/watchman_install.sh     && /opt/deploy/threat_matrix/api_app/analyzers_manager/repo_downloader.sh
    ...
    
    8027:  #28 extracting sha256:b3ee43e51ca6c92d08e40eaf4d7dbc50444ba57c1a200c437a3c86e5a7631ba6 done
    8028:  #28 extracting sha256:b17a9d410da1886001947f5f826043292df395277cb23e17970f5b82a6b486ed done
    8029:  #28 extracting sha256:542e3e75411d1223efe21092951a0b87b85cb4377accf8f360d635d23dea72a9 done
    8030:  #28 extracting sha256:2b2faad386dfd2da1e19aa6e0d91d428b849181de439c0b289f383816c812304 done
    8031:  #28 extracting sha256:a5e22afba545a92d46609059fe9fe2b90028b9f3fb7c78be28cb6d4ed9e53fd3 done
    8032:  #28 extracting sha256:fb923a41dc10df4d74119907e9112426c8e0e2ce3d6851c4e2dcfb7e0765861b 0.1s
    8033:  #28 extracting sha256:fb923a41dc10df4d74119907e9112426c8e0e2ce3d6851c4e2dcfb7e0765861b 0.3s done
    8034:  #28 DONE 1.0s
    8035:  #29 [nginx 2/2] RUN rm /var/log/nginx/access.log /var/log/nginx/error.log && touch /var/log/nginx/access.log /var/log/nginx/error.log
    ...
    
    8129:  Applying contenttypes.0001_initial... OK
    8130:  Applying contenttypes.0002_remove_content_type_name... OK
    8131:  Applying auth.0001_initial... OK
    8132:  Applying auth.0002_alter_permission_name_max_length... OK
    8133:  Applying auth.0003_alter_user_email_max_length... OK
    8134:  Applying auth.0004_alter_user_username_opts... OK
    8135:  Applying auth.0005_alter_user_last_login_null... OK
    8136:  Applying auth.0006_require_contenttypes_0002... OK
    8137:  Applying auth.0007_alter_validators_add_error_messages... OK
    ...
    
    8178:  [--number-of-releases [NUMBER_OF_RELEASES]]
    8179:  [--debug | --no-debug] [--version]
    8180:  [-v {0,1,2,3}] [--settings SETTINGS]
    8181:  [--pythonpath PYTHONPATH]
    8182:  [--traceback] [--no-color]
    8183:  [--force-color] [--skip-checks]
    8184:  path
    8185:  {ACCOUNTS,DRAGONFLY,INTELOWL,QUOKKA_PUBLIC,QUOKKA}
    8186:  manage.py changelog_notification: error: argument appname: invalid choice: 'THREATMATRIX' (choose from 'ACCOUNTS', 'DRAGONFLY', 'INTELOWL', 'QUOKKA_PUBLIC', 'QUOKKA')
    ...
    
    9123:  test_delete (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_delete) ... ok-dokey (0.020408s)
    9124:  test_get (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_get) ... ok-dokey (0.077276s)
    9125:  test_get_non_existent (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_get_non_existent) ... ok-dokey (0.014096s)
    9126:  test_health_check (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_health_check) ... ok-dokey (0.127789s)
    9127:  test_list (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_list) ... ok-dokey (0.683844s)
    9128:  test_organization_disable (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_organization_disable) ... ok-dokey (0.200059s)
    9129:  test_organization_enable (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_organization_enable) ... ok-dokey (0.252087s)
    9130:  test_pull (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_pull) ... ok-dokey (22.364550s)
    9131:  {'errors': {'detail': 'This Plugin has no Update implemented'}}
    ...
    
    9236:  test_get (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_get) ... ok-dokey (0.138740s)
    9237:  test_get_non_existent (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_get_non_existent) ... ok-dokey (0.024256s)
    9238:  test_list (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_list) ... ok-dokey (0.482033s)
    9239:  test_organization_disable (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_organization_disable) ... ok-dokey (0.365980s)
    9240:  test_organization_enable (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_organization_enable) ... ok-dokey (0.461601s)
    9241:  test_update (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_update) ... ok-dokey (0.104234s)
    9242:  test_analyze_file__exe (tests.api_app.test_api.ApiViewTests.test_analyze_file__exe) ... Etest_analyze_file__guess_optional (tests.api_app.test_api.ApiViewTests.test_analyze_file__guess_optional) ... Etest_analyze_file__pcap (tests.api_app.test_api.ApiViewTests.test_analyze_file__pcap) ... Etest_analyze_multiple_files__exe (tests.api_app.test_api.ApiViewTests.test_analyze_multiple_files__exe) ... Etest_analyze_multiple_files__guess_optional (tests.api_app.test_api.ApiViewTests.test_analyze_multiple_files__guess_optional) ... Etest_analyze_multiple_observables (tests.api_app.test_api.ApiViewTests.test_analyze_multiple_observables) ... Etest_analyze_observable__domain (tests.api_app.test_api.ApiViewTests.test_analyze_observable__domain) ... Etest_analyze_observable__guess_optional (tests.api_app.test_api.ApiViewTests.test_analyze_observable__guess_optional) ... Etest_analyze_observable__ip (tests.api_app.test_api.ApiViewTests.test_analyze_observable__ip) ... Etest_ask_analysis_availability (tests.api_app.test_api.ApiViewTests.test_ask_analysis_availability) ... Etest_ask_analysis_availability__run_all_analyzers (tests.api_app.test_api.ApiViewTests.test_ask_analysis_availability__run_all_analyzers) ... Etest_ask_multi_analysis_availability (tests.api_app.test_api.ApiViewTests.test_ask_multi_analysis_availability) ... Etest_download_sample_200 (tests.api_app.test_api.ApiViewTests.test_download_sample_200) ... Etest_download_sample_400 (tests.api_app.test_api.ApiViewTests.test_download_sample_400) ... Etest_download_sample_404 (tests.api_app.test_api.ApiViewTests.test_download_sample_404) ... Etest_incorrect_tlp (tests.api_app.test_api.ApiViewTests.test_incorrect_tlp) ... Etest_no_analyzers (tests.api_app.test_api.ApiViewTests.test_no_analyzers) ... Etest_tlp_clear_and_white (tests.api_app.test_api.ApiViewTests.test_tlp_clear_and_white) ... Etest_abstract (tests.api_app.test_classes.PluginTestCase.test_abstract) ... ok-dokey (0.090172s)
    9243:  test_python_path (tests.api_app.test_classes.PluginTestCase.test_python_path) ... ok-dokey (0.067873s)
    9244:  test_start_errors (tests.api_app.test_classes.PluginTestCase.test_start_errors) ... Traceback (most recent call last):
    9245:  File "/opt/deploy/threat_matrix/api_app/classes.py", line 297, in start
    9246:  _result = self.run()
    9247:  ^^^^^^^^^^
    9248:  File "/opt/deploy/threat_matrix/tests/api_app/test_classes.py", line 57, in raise_error
    9249:  raise TypeError("Test")
    9250:  TypeError: Test
    9251:  ok-dokey (0.172139s)
    9252:  test_start_no_errors (tests.api_app.test_classes.PluginTestCase.test_start_no_errors) ... ok-dokey (0.163734s)
    ...
    
    9351:  test_get (tests.api_app.test_views.PluginConfigViewSetTestCase.test_get) ... ok-dokey (34.714623s)
    9352:  test_list (tests.api_app.test_views.PluginConfigViewSetTestCase.test_list) ... ok-dokey (33.421086s)
    9353:  test_create_201 (tests.api_app.test_views.TagViewsetTests.test_create_201) ... ok-dokey (0.024460s)
    9354:  test_create_400 (tests.api_app.test_views.TagViewsetTests.test_create_400) ... ok-dokey (0.017853s)
    9355:  test_delete_204 (tests.api_app.test_views.TagViewsetTests.test_delete_204) ... ok-dokey (0.036124s)
    9356:  test_list_200 (tests.api_app.test_views.TagViewsetTests.test_list_200) ... ok-dokey (0.017757s)
    9357:  test_retrieve_200 (tests.api_app.test_views.TagViewsetTests.test_retrieve_200) ... ok-dokey (0.016141s)
    9358:  test_update_200 (tests.api_app.test_views.TagViewsetTests.test_update_200) ... ok-dokey (0.026300s)
    9359:  test_with_error (tests.api_app.visualizers_manager.test_classes.ErrorHandlerTestCase.test_with_error) ... ok-dokey (0.000329s)
    9360:  test_without_error (tests.api_app.visualizers_manager.test_classes.ErrorHandlerTestCase.test_without_error) ... ok-dokey (0.000195s)
    ...
    
    9441:  test_yara_updater (tests.test_crons.CronTests.test_yara_updater) ... ok-dokey (9.933525s)
    9442:  test_validate_playbook_to_execute (tests.test_interfaces.CreateJobsFromPlaybookInterfaceTestCase.test_validate_playbook_to_execute) ... ok-dokey (0.085154s)
    9443:  test_job_killed (tests.api_app.test_websocket.JobConsumerTestCase.test_job_killed) ... ok-dokey (4.481345s)
    9444:  test_job_not_exist (tests.api_app.test_websocket.JobConsumerTestCase.test_job_not_exist) ... ok-dokey (0.035278s)
    9445:  test_job_running (tests.api_app.test_websocket.JobConsumerTestCase.test_job_running) ... ok-dokey (6.672824s)
    9446:  test_job_terminated (tests.api_app.test_websocket.JobConsumerTestCase.test_job_terminated) ... ok-dokey (0.184081s)
    9447:  test_job_unauthorized (tests.api_app.test_websocket.JobConsumerTestCase.test_job_unauthorized) ... ok-dokey (0.028007s)
    9448:  ======================================================================
    9449:  ERROR: test_create_job_multiple_file (tests.api_app.pivots_manager.test_models.PivotConfigTestCase.test_create_job_multiple_file)
    9450:  ----------------------------------------------------------------------
    9451:  Traceback (most recent call last):
    9452:  File "/opt/deploy/threat_matrix/tests/api_app/pivots_manager/test_models.py", line 88, in test_create_job_multiple_file
    9453:  with open("test_files/file.exe", "rb") as f:
    9454:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9455:  FileNotFoundError: [Errno 2] No such file or directory: 'test_files/file.exe'
    9456:  ======================================================================
    9457:  ERROR: test_analyze_file__exe (tests.api_app.test_api.ApiViewTests.test_analyze_file__exe)
    9458:  ----------------------------------------------------------------------
    9459:  Traceback (most recent call last):
    9460:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9461:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9462:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9463:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9464:  with open(floc, "rb") as f:
    9465:  ^^^^^^^^^^^^^^^^
    9466:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9467:  ======================================================================
    9468:  ERROR: test_analyze_file__guess_optional (tests.api_app.test_api.ApiViewTests.test_analyze_file__guess_optional)
    9469:  ----------------------------------------------------------------------
    9470:  Traceback (most recent call last):
    9471:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9472:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9473:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9474:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9475:  with open(floc, "rb") as f:
    9476:  ^^^^^^^^^^^^^^^^
    9477:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9478:  ======================================================================
    9479:  ERROR: test_analyze_file__pcap (tests.api_app.test_api.ApiViewTests.test_analyze_file__pcap)
    9480:  ----------------------------------------------------------------------
    9481:  Traceback (most recent call last):
    9482:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9483:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9484:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9485:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9486:  with open(floc, "rb") as f:
    9487:  ^^^^^^^^^^^^^^^^
    9488:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9489:  ======================================================================
    9490:  ERROR: test_analyze_multiple_files__exe (tests.api_app.test_api.ApiViewTests.test_analyze_multiple_files__exe)
    9491:  ----------------------------------------------------------------------
    9492:  Traceback (most recent call last):
    9493:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9494:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9495:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9496:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9497:  with open(floc, "rb") as f:
    9498:  ^^^^^^^^^^^^^^^^
    9499:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9500:  ======================================================================
    9501:  ERROR: test_analyze_multiple_files__guess_optional (tests.api_app.test_api.ApiViewTests.test_analyze_multiple_files__guess_optional)
    9502:  ----------------------------------------------------------------------
    9503:  Traceback (most recent call last):
    9504:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9505:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9506:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9507:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9508:  with open(floc, "rb") as f:
    9509:  ^^^^^^^^^^^^^^^^
    9510:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9511:  ======================================================================
    9512:  ERROR: test_analyze_multiple_observables (tests.api_app.test_api.ApiViewTests.test_analyze_multiple_observables)
    9513:  ----------------------------------------------------------------------
    9514:  Traceback (most recent call last):
    9515:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9516:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9517:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9518:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9519:  with open(floc, "rb") as f:
    9520:  ^^^^^^^^^^^^^^^^
    9521:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9522:  ======================================================================
    9523:  ERROR: test_analyze_observable__domain (tests.api_app.test_api.ApiViewTests.test_analyze_observable__domain)
    9524:  ----------------------------------------------------------------------
    9525:  Traceback (most recent call last):
    9526:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9527:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9528:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9529:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9530:  with open(floc, "rb") as f:
    9531:  ^^^^^^^^^^^^^^^^
    9532:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9533:  ======================================================================
    9534:  ERROR: test_analyze_observable__guess_optional (tests.api_app.test_api.ApiViewTests.test_analyze_observable__guess_optional)
    9535:  ----------------------------------------------------------------------
    9536:  Traceback (most recent call last):
    9537:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9538:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9539:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9540:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9541:  with open(floc, "rb") as f:
    9542:  ^^^^^^^^^^^^^^^^
    9543:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9544:  ======================================================================
    9545:  ERROR: test_analyze_observable__ip (tests.api_app.test_api.ApiViewTests.test_analyze_observable__ip)
    9546:  ----------------------------------------------------------------------
    9547:  Traceback (most recent call last):
    9548:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9549:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9550:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9551:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9552:  with open(floc, "rb") as f:
    9553:  ^^^^^^^^^^^^^^^^
    9554:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9555:  ======================================================================
    9556:  ERROR: test_ask_analysis_availability (tests.api_app.test_api.ApiViewTests.test_ask_analysis_availability)
    9557:  ----------------------------------------------------------------------
    9558:  Traceback (most recent call last):
    9559:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9560:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9561:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9562:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9563:  with open(floc, "rb") as f:
    9564:  ^^^^^^^^^^^^^^^^
    9565:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9566:  ======================================================================
    9567:  ERROR: test_ask_analysis_availability__run_all_analyzers (tests.api_app.test_api.ApiViewTests.test_ask_analysis_availability__run_all_analyzers)
    9568:  ----------------------------------------------------------------------
    9569:  Traceback (most recent call last):
    9570:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9571:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9572:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9573:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9574:  with open(floc, "rb") as f:
    9575:  ^^^^^^^^^^^^^^^^
    9576:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9577:  ======================================================================
    9578:  ERROR: test_ask_multi_analysis_availability (tests.api_app.test_api.ApiViewTests.test_ask_multi_analysis_availability)
    9579:  ----------------------------------------------------------------------
    9580:  Traceback (most recent call last):
    9581:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9582:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9583:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9584:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9585:  with open(floc, "rb") as f:
    9586:  ^^^^^^^^^^^^^^^^
    9587:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9588:  ======================================================================
    9589:  ERROR: test_download_sample_200 (tests.api_app.test_api.ApiViewTests.test_download_sample_200)
    9590:  ----------------------------------------------------------------------
    9591:  Traceback (most recent call last):
    9592:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9593:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9594:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9595:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9596:  with open(floc, "rb") as f:
    9597:  ^^^^^^^^^^^^^^^^
    9598:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9599:  ======================================================================
    9600:  ERROR: test_download_sample_400 (tests.api_app.test_api.ApiViewTests.test_download_sample_400)
    9601:  ----------------------------------------------------------------------
    9602:  Traceback (most recent call last):
    9603:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9604:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9605:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9606:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9607:  with open(floc, "rb") as f:
    9608:  ^^^^^^^^^^^^^^^^
    9609:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9610:  ======================================================================
    9611:  ERROR: test_download_sample_404 (tests.api_app.test_api.ApiViewTests.test_download_sample_404)
    9612:  ----------------------------------------------------------------------
    9613:  Traceback (most recent call last):
    9614:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9615:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9616:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9617:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9618:  with open(floc, "rb") as f:
    9619:  ^^^^^^^^^^^^^^^^
    9620:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9621:  ======================================================================
    9622:  ERROR: test_incorrect_tlp (tests.api_app.test_api.ApiViewTests.test_incorrect_tlp)
    9623:  ----------------------------------------------------------------------
    9624:  Traceback (most recent call last):
    9625:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9626:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9627:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9628:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9629:  with open(floc, "rb") as f:
    9630:  ^^^^^^^^^^^^^^^^
    9631:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9632:  ======================================================================
    9633:  ERROR: test_no_analyzers (tests.api_app.test_api.ApiViewTests.test_no_analyzers)
    9634:  ----------------------------------------------------------------------
    9635:  Traceback (most recent call last):
    9636:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9637:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9638:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9639:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9640:  with open(floc, "rb") as f:
    9641:  ^^^^^^^^^^^^^^^^
    9642:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9643:  ======================================================================
    9644:  ERROR: test_tlp_clear_and_white (tests.api_app.test_api.ApiViewTests.test_tlp_clear_and_white)
    9645:  ----------------------------------------------------------------------
    9646:  Traceback (most recent call last):
    9647:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9648:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9649:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9650:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9651:  with open(floc, "rb") as f:
    9652:  ^^^^^^^^^^^^^^^^
    9653:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9654:  ======================================================================
    9655:  FAIL: test_subclasses (tests.api_app.analyzers_manager.test_classes.FileAnalyzerTestCase.test_subclasses)
    9656:  ----------------------------------------------------------------------
    9657:  Traceback (most recent call last):
    9658:  File "/opt/deploy/threat_matrix/tests/api_app/analyzers_manager/test_classes.py", line 169, in test_subclasses
    9659:  self.fail(
    9660:  AssertionError: No valid job found for analyzer APKiD with configuration APKiD
    9661:  ----------------------------------------------------------------------
    9662:  Ran 315 tests in 199.195s
    9663:  FAILED (failures=1, errors=19, skipped=1)
    9664:  Preserving test database for alias 'default'...
    9665:  ##[error]Process completed with exit code 1.
    

    ✨ CI feedback usage guide:

    The CI feedback tool (/checks) automatically triggers when a PR has a failed check.
    The tool analyzes the failed checks and provides several feedbacks:

    • Failed stage
    • Failed test name
    • Failure summary
    • Relevant error logs

    In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:

    /checks "https://github.com/{repo_name}/actions/runs/{run_number}/job/{job_number}"
    

    where {repo_name} is the name of the repository, {run_number} is the run number of the failed check, and {job_number} is the job number of the failed check.

    Configuration options

    • enable_auto_checks_feedback - if set to true, the tool will automatically provide feedback when a check is failed. Default is true.
    • excluded_checks_list - a list of checks to exclude from the feedback, for example: ["check1", "check2"]. Default is an empty list.
    • enable_help_text - if set to true, the tool will provide a help message with the feedback. Default is true.
    • persistent_comment - if set to true, the tool will overwrite a previous checks comment with the new feedback. Default is true.
    • final_update_message - if persistent_comment is true and updating a previous checks message, the tool will also create a new message: "Persistent checks updated to latest commit". Default is true.

    See more information about the checks tool in the docs.

    Copy link
    Contributor Author

    dependabot bot commented on behalf of github Oct 15, 2024

    Superseded by #143.

    @dependabot dependabot bot closed this Oct 15, 2024
    @dependabot dependabot bot deleted the dependabot/pip/requirements/develop/pre-commit-4.0.0 branch October 15, 2024 05:47
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    dependencies Pull requests that update a dependency file python Pull requests that update Python code
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    0 participants