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 black from 24.8.0 to 24.10.0 in /requirements #127

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps black from 24.8.0 to 24.10.0.

Release notes

Sourced from black's releases.

24.10.0

Highlights

  • Black is now officially tested with Python 3.13 and provides Python 3.13 mypyc-compiled wheels. (#4436) (#4449)
  • Black will issue an error when used with Python 3.12.5, due to an upstream memory safety issue in Python 3.12.5 that can cause Black's AST safety checks to fail. Please use Python 3.12.6 or Python 3.12.4 instead. (#4447)
  • Black no longer supports running with Python 3.8 (#4452)

Stable style

  • Fix crashes involving comments in parenthesised return types or X | Y style unions. (#4453)
  • Fix skipping Jupyter cells with unknown %% magic (#4462)

Preview style

  • Fix type annotation spacing between * and more complex type variable tuple (i.e. def fn(*args: *tuple[*Ts, T]) -> None: pass) (#4440)

Caching

  • Fix bug where the cache was shared between runs with and without --unstable (#4466)

Packaging

  • Upgrade version of mypyc used to 1.12 beta (#4450) (#4449)
  • blackd now requires a newer version of aiohttp. (#4451)

Output

  • Added Python target version information on parse error (#4378)
  • Add information about Black version to internal error messages (#4457)
Changelog

Sourced from black's changelog.

24.10.0

Highlights

  • Black is now officially tested with Python 3.13 and provides Python 3.13 mypyc-compiled wheels. (#4436) (#4449)
  • Black will issue an error when used with Python 3.12.5, due to an upstream memory safety issue in Python 3.12.5 that can cause Black's AST safety checks to fail. Please use Python 3.12.6 or Python 3.12.4 instead. (#4447)
  • Black no longer supports running with Python 3.8 (#4452)

Stable style

  • Fix crashes involving comments in parenthesised return types or X | Y style unions. (#4453)
  • Fix skipping Jupyter cells with unknown %% magic (#4462)

Preview style

  • Fix type annotation spacing between * and more complex type variable tuple (i.e. def fn(*args: *tuple[*Ts, T]) -> None: pass) (#4440)

Caching

  • Fix bug where the cache was shared between runs with and without --unstable (#4466)

Packaging

  • Upgrade version of mypyc used to 1.12 beta (#4450) (#4449)
  • blackd now requires a newer version of aiohttp. (#4451)

Output

  • Added Python target version information on parse error (#4378)
  • Add information about Black version to internal error messages (#4457)
Commits

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 [black](https://github.com/psf/black) from 24.8.0 to 24.10.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](psf/black@24.8.0...24.10.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@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

deepsource-io bot commented Oct 8, 2024

Here's the code health analysis summary for commits cf422ba..042a5fb. 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

@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
Contributor

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: tests.api_app.analyzers_manager.test_classes.FileAnalyzerTestCase.test_subclasses

Failure summary:

The action failed due to multiple errors and one test failure:

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

  • Relevant error logs:
    1:  ##[group]Operating System
    2:  Ubuntu
    ...
    
    2198:  #15 8.908 Checking optional features...
    2199:  #15 8.908 inc_bundling_support....disabled
    2200:  #15 8.908   requires:
    2201:  #15 8.908     ! inc::latest is not installed
    2202:  #15 8.908 license_creation........disabled
    2203:  #15 8.908   requires:
    2204:  #15 8.908     ! Software::License is not installed
    2205:  #15 8.908 
    2206:  #15 8.908 ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
    ...
    
    2276:  #15 9.808     !  Email::MIME is not installed
    2277:  #15 9.808     !  Email::MIME::ContentType is not installed
    2278:  #15 9.808     !  Email::Sender is not installed
    2279:  #15 9.808     !  Email::Simple is not installed
    2280:  #15 9.808     !  IO::All is not installed
    2281:  #15 9.808     !  IO::String is not installed
    2282:  #15 9.808     !  OLE::Storage_Lite is not installed
    2283:  #15 9.808 
    2284:  #15 9.808 ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
    ...
    
    2612:  #14 40.04 "@babel/plugin-proposal-private-property-in-object" package without
    2613:  #14 40.04 declaring it in its dependencies. This is currently working because
    2614:  #14 40.04 "@babel/plugin-proposal-private-property-in-object" is already in your
    2615:  #14 40.04 node_modules folder for unrelated reasons, but it �[1mmay break at any time�[0;33m.
    2616:  #14 40.04 
    2617:  #14 40.04 babel-preset-react-app is part of the create-react-app project, �[1mwhich
    2618:  #14 40.04 is not maintianed anymore�[0;33m. It is thus unlikely that this bug will
    2619:  #14 40.04 ever be fixed. Add "@babel/plugin-proposal-private-property-in-object" to
    2620:  #14 40.04 your devDependencies to work around this error. This will make this message
    ...
    
    3597:  #15 32.14 Warning: prerequisite Capture::Tiny 0.08 not found.
    3598:  #15 32.14 Warning: prerequisite Email::Abstract 3.006 not found.
    3599:  #15 32.15 Warning: prerequisite Moo 2.000000 not found.
    3600:  #15 32.15 Warning: prerequisite Moo::Role 0 not found.
    3601:  #15 32.15 Warning: prerequisite MooX::Types::MooseLike 0.15 not found.
    3602:  #15 32.15 Warning: prerequisite MooX::Types::MooseLike::Base 0 not found.
    3603:  #15 32.15 Warning: prerequisite Sub::Exporter 0 not found.
    3604:  #15 32.15 Warning: prerequisite Sub::Exporter::Util 0 not found.
    3605:  #15 32.15 Warning: prerequisite Throwable::Error 0.200003 not found.
    ...
    
    3617:  #15 32.27     Capture::Tiny [build_requires]
    3618:  #15 32.27     Email::Abstract [requires]
    3619:  #15 32.27     Moo [requires]
    3620:  #15 32.27     Moo::Role [requires]
    3621:  #15 32.27     MooX::Types::MooseLike [requires]
    3622:  #15 32.27     MooX::Types::MooseLike::Base [requires]
    3623:  #15 32.27     Sub::Exporter [requires]
    3624:  #15 32.27     Sub::Exporter::Util [requires]
    3625:  #15 32.27     Throwable::Error [requires]
    ...
    
    5309:  #15 59.81 Installing /usr/local/man/man3/Sub::Exporter::Cookbook.3pm
    5310:  #15 59.81 Installing /usr/local/man/man3/Sub::Exporter.3pm
    5311:  #15 59.81 Installing /usr/local/man/man3/Sub::Exporter::Util.3pm
    5312:  #15 59.81 Installing /usr/local/man/man3/Sub::Exporter::Tutorial.3pm
    5313:  #15 59.82 Appending installation info to /usr/local/lib/x86_64-linux-gnu/perl/5.36.0/perllocal.pod
    5314:  #15 59.85   RJBS/Sub-Exporter-0.991.tar.gz
    5315:  #15 59.85   /usr/bin/make install  -- OK
    5316:  #15 59.86 Sub::Exporter::Util is up to date (0.991).
    5317:  #15 59.86 Running install for module 'Throwable::Error'
    ...
    
    5424:  #15 61.30 Appending installation info to /usr/local/lib/x86_64-linux-gnu/perl/5.36.0/perllocal.pod
    5425:  #15 61.33   DROLSKY/Devel-StackTrace-2.05.tar.gz
    5426:  #15 61.33   /usr/bin/make install  -- OK
    5427:  #15 61.33   RJBS/Throwable-1.001.tar.gz
    5428:  #15 61.33   Has already been unwrapped into directory /root/.cpan/build/Throwable-1.001-0
    5429:  #15 61.33   RJBS/Throwable-1.001.tar.gz
    5430:  #15 61.33   Has already been prepared
    5431:  #15 61.33 Running make for R/RJ/RJBS/Throwable-1.001.tar.gz
    5432:  #15 61.57 cp lib/Throwable/Error.pm blib/lib/Throwable/Error.pm
    ...
    
    5436:  #15 61.66   RJBS/Throwable-1.001.tar.gz
    5437:  #15 61.66   /usr/bin/make -- OK
    5438:  #15 61.66   RJBS/Throwable-1.001.tar.gz
    5439:  #15 61.66   Skipping test because of notest pragma
    5440:  #15 61.66 Running make install for RJBS/Throwable-1.001.tar.gz
    5441:  #15 61.75 Manifying 3 pod documents
    5442:  #15 61.79 Installing /usr/local/share/perl/5.36.0/Throwable.pm
    5443:  #15 61.79 Installing /usr/local/share/perl/5.36.0/StackTrace/Auto.pm
    5444:  #15 61.79 Installing /usr/local/share/perl/5.36.0/Throwable/Error.pm
    5445:  #15 61.79 Installing /usr/local/man/man3/Throwable::Error.3pm
    ...
    
    7801:  #19 110.7   Attempting uninstall: prometheus-client
    7802:  #19 110.7     Found existing installation: prometheus_client 0.21.0
    7803:  #19 110.8     Uninstalling prometheus_client-0.21.0:
    7804:  #19 110.8       Successfully uninstalled prometheus_client-0.21.0
    7805:  #19 110.9   Attempting uninstall: cachetools
    7806:  #19 110.9     Found existing installation: cachetools 5.5.0
    7807:  #19 110.9     Uninstalling cachetools-5.5.0:
    7808:  #19 110.9       Successfully uninstalled cachetools-5.5.0
    7809:  #19 111.1 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.
    ...
    
    7893:  #19 113.2   Stored in directory: /tmp/pip-ephem-wheel-cache-xsihd242/wheels/0f/fe/56/6cba6eafbb252c805af7616631ef63d8e0790c958b1bd86c63
    7894:  #19 113.2 Successfully built drf-flex-fields
    7895:  #19 113.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
    7896:  #19 114.7 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
    7897:  #19 114.7 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.
    7898:  #19 DONE 116.9s
    7899:  #20 [uwsgi backend-build  9/10] COPY . /opt/deploy/threat_matrix
    7900:  #20 DONE 0.2s
    7901:  #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
    ...
    
    7944:  #28 extracting sha256:b3ee43e51ca6c92d08e40eaf4d7dbc50444ba57c1a200c437a3c86e5a7631ba6 done
    7945:  #28 extracting sha256:b17a9d410da1886001947f5f826043292df395277cb23e17970f5b82a6b486ed done
    7946:  #28 extracting sha256:542e3e75411d1223efe21092951a0b87b85cb4377accf8f360d635d23dea72a9 done
    7947:  #28 extracting sha256:2b2faad386dfd2da1e19aa6e0d91d428b849181de439c0b289f383816c812304 done
    7948:  #28 extracting sha256:a5e22afba545a92d46609059fe9fe2b90028b9f3fb7c78be28cb6d4ed9e53fd3 done
    7949:  #28 extracting sha256:fb923a41dc10df4d74119907e9112426c8e0e2ce3d6851c4e2dcfb7e0765861b 0.1s
    7950:  #28 extracting sha256:fb923a41dc10df4d74119907e9112426c8e0e2ce3d6851c4e2dcfb7e0765861b 0.3s done
    7951:  #28 DONE 0.9s
    7952:  #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
    ...
    
    8046:  Applying contenttypes.0001_initial... OK
    8047:  Applying contenttypes.0002_remove_content_type_name... OK
    8048:  Applying auth.0001_initial... OK
    8049:  Applying auth.0002_alter_permission_name_max_length... OK
    8050:  Applying auth.0003_alter_user_email_max_length... OK
    8051:  Applying auth.0004_alter_user_username_opts... OK
    8052:  Applying auth.0005_alter_user_last_login_null... OK
    8053:  Applying auth.0006_require_contenttypes_0002... OK
    8054:  Applying auth.0007_alter_validators_add_error_messages... OK
    ...
    
    8066:  [--number-of-releases [NUMBER_OF_RELEASES]]
    8067:  [--debug | --no-debug] [--version]
    8068:  [-v {0,1,2,3}] [--settings SETTINGS]
    8069:  [--pythonpath PYTHONPATH]
    8070:  [--traceback] [--no-color]
    8071:  [--force-color] [--skip-checks]
    8072:  path
    8073:  {ACCOUNTS,DRAGONFLY,INTELOWL,QUOKKA_PUBLIC,QUOKKA}
    8074:  manage.py changelog_notification: error: argument appname: invalid choice: 'THREATMATRIX' (choose from 'ACCOUNTS', 'DRAGONFLY', 'INTELOWL', 'QUOKKA_PUBLIC', 'QUOKKA')
    ...
    
    9039:  test_create (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_create) ... ok-dokey (0.010460s)
    9040:  test_delete (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_delete) ... ok-dokey (0.020606s)
    9041:  test_get (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_get) ... ok-dokey (0.075272s)
    9042:  test_get_non_existent (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_get_non_existent) ... ok-dokey (0.014037s)
    9043:  test_health_check (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_health_check) ... ok-dokey (0.120223s)
    9044:  test_list (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_list) ... ok-dokey (0.634658s)
    9045:  test_organization_disable (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_organization_disable) ... ok-dokey (0.191697s)
    9046:  test_organization_enable (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_organization_enable) ... ok-dokey (0.231591s)
    9047:  {'errors': {'detail': 'This Plugin has no Update implemented'}}
    ...
    
    9153:  test_get (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_get) ... ok-dokey (0.143501s)
    9154:  test_get_non_existent (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_get_non_existent) ... ok-dokey (0.024889s)
    9155:  test_list (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_list) ... ok-dokey (0.466540s)
    9156:  test_organization_disable (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_organization_disable) ... ok-dokey (0.360890s)
    9157:  test_organization_enable (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_organization_enable) ... ok-dokey (0.442520s)
    9158:  test_update (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_update) ... ok-dokey (0.101516s)
    9159:  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.094633s)
    9160:  test_python_path (tests.api_app.test_classes.PluginTestCase.test_python_path) ... ok-dokey (0.071917s)
    9161:  test_start_errors (tests.api_app.test_classes.PluginTestCase.test_start_errors) ... Traceback (most recent call last):
    9162:  File "/opt/deploy/threat_matrix/api_app/classes.py", line 297, in start
    9163:  _result = self.run()
    9164:  ^^^^^^^^^^
    9165:  File "/opt/deploy/threat_matrix/tests/api_app/test_classes.py", line 57, in raise_error
    9166:  raise TypeError("Test")
    9167:  TypeError: Test
    9168:  ok-dokey (0.166258s)
    9169:  test_start_no_errors (tests.api_app.test_classes.PluginTestCase.test_start_no_errors) ... ok-dokey (0.161643s)
    ...
    
    9268:  test_get (tests.api_app.test_views.PluginConfigViewSetTestCase.test_get) ... ok-dokey (34.326988s)
    9269:  test_list (tests.api_app.test_views.PluginConfigViewSetTestCase.test_list) ... ok-dokey (33.294632s)
    9270:  test_create_201 (tests.api_app.test_views.TagViewsetTests.test_create_201) ... ok-dokey (0.029294s)
    9271:  test_create_400 (tests.api_app.test_views.TagViewsetTests.test_create_400) ... ok-dokey (0.018328s)
    9272:  test_delete_204 (tests.api_app.test_views.TagViewsetTests.test_delete_204) ... ok-dokey (0.032199s)
    9273:  test_list_200 (tests.api_app.test_views.TagViewsetTests.test_list_200) ... ok-dokey (0.017682s)
    9274:  test_retrieve_200 (tests.api_app.test_views.TagViewsetTests.test_retrieve_200) ... ok-dokey (0.017222s)
    9275:  test_update_200 (tests.api_app.test_views.TagViewsetTests.test_update_200) ... ok-dokey (0.037915s)
    9276:  test_with_error (tests.api_app.visualizers_manager.test_classes.ErrorHandlerTestCase.test_with_error) ... ok-dokey (0.000350s)
    9277:  test_without_error (tests.api_app.visualizers_manager.test_classes.ErrorHandlerTestCase.test_without_error) ... ok-dokey (0.000195s)
    ...
    
    9358:  test_yara_updater (tests.test_crons.CronTests.test_yara_updater) ... ok-dokey (9.467602s)
    9359:  test_validate_playbook_to_execute (tests.test_interfaces.CreateJobsFromPlaybookInterfaceTestCase.test_validate_playbook_to_execute) ... ok-dokey (0.089969s)
    9360:  test_job_killed (tests.api_app.test_websocket.JobConsumerTestCase.test_job_killed) ... ok-dokey (4.507241s)
    9361:  test_job_not_exist (tests.api_app.test_websocket.JobConsumerTestCase.test_job_not_exist) ... ok-dokey (0.035046s)
    9362:  test_job_running (tests.api_app.test_websocket.JobConsumerTestCase.test_job_running) ... ok-dokey (6.690150s)
    9363:  test_job_terminated (tests.api_app.test_websocket.JobConsumerTestCase.test_job_terminated) ... ok-dokey (0.185671s)
    9364:  test_job_unauthorized (tests.api_app.test_websocket.JobConsumerTestCase.test_job_unauthorized) ... ok-dokey (0.027236s)
    9365:  ======================================================================
    9366:  ERROR: test_create_job_multiple_file (tests.api_app.pivots_manager.test_models.PivotConfigTestCase.test_create_job_multiple_file)
    9367:  ----------------------------------------------------------------------
    9368:  Traceback (most recent call last):
    9369:  File "/opt/deploy/threat_matrix/tests/api_app/pivots_manager/test_models.py", line 88, in test_create_job_multiple_file
    9370:  with open("test_files/file.exe", "rb") as f:
    9371:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9372:  FileNotFoundError: [Errno 2] No such file or directory: 'test_files/file.exe'
    9373:  ======================================================================
    9374:  ERROR: test_analyze_file__exe (tests.api_app.test_api.ApiViewTests.test_analyze_file__exe)
    9375:  ----------------------------------------------------------------------
    9376:  Traceback (most recent call last):
    9377:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9378:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9379:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9380:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9381:  with open(floc, "rb") as f:
    9382:  ^^^^^^^^^^^^^^^^
    9383:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9384:  ======================================================================
    9385:  ERROR: test_analyze_file__guess_optional (tests.api_app.test_api.ApiViewTests.test_analyze_file__guess_optional)
    9386:  ----------------------------------------------------------------------
    9387:  Traceback (most recent call last):
    9388:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9389:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9390:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9391:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9392:  with open(floc, "rb") as f:
    9393:  ^^^^^^^^^^^^^^^^
    9394:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9395:  ======================================================================
    9396:  ERROR: test_analyze_file__pcap (tests.api_app.test_api.ApiViewTests.test_analyze_file__pcap)
    9397:  ----------------------------------------------------------------------
    9398:  Traceback (most recent call last):
    9399:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9400:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9401:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9402:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9403:  with open(floc, "rb") as f:
    9404:  ^^^^^^^^^^^^^^^^
    9405:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9406:  ======================================================================
    9407:  ERROR: test_analyze_multiple_files__exe (tests.api_app.test_api.ApiViewTests.test_analyze_multiple_files__exe)
    9408:  ----------------------------------------------------------------------
    9409:  Traceback (most recent call last):
    9410:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9411:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9412:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9413:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9414:  with open(floc, "rb") as f:
    9415:  ^^^^^^^^^^^^^^^^
    9416:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9417:  ======================================================================
    9418:  ERROR: test_analyze_multiple_files__guess_optional (tests.api_app.test_api.ApiViewTests.test_analyze_multiple_files__guess_optional)
    9419:  ----------------------------------------------------------------------
    9420:  Traceback (most recent call last):
    9421:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9422:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9423:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9424:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9425:  with open(floc, "rb") as f:
    9426:  ^^^^^^^^^^^^^^^^
    9427:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9428:  ======================================================================
    9429:  ERROR: test_analyze_multiple_observables (tests.api_app.test_api.ApiViewTests.test_analyze_multiple_observables)
    9430:  ----------------------------------------------------------------------
    9431:  Traceback (most recent call last):
    9432:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9433:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9434:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9435:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9436:  with open(floc, "rb") as f:
    9437:  ^^^^^^^^^^^^^^^^
    9438:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9439:  ======================================================================
    9440:  ERROR: test_analyze_observable__domain (tests.api_app.test_api.ApiViewTests.test_analyze_observable__domain)
    9441:  ----------------------------------------------------------------------
    9442:  Traceback (most recent call last):
    9443:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9444:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9445:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9446:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9447:  with open(floc, "rb") as f:
    9448:  ^^^^^^^^^^^^^^^^
    9449:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9450:  ======================================================================
    9451:  ERROR: test_analyze_observable__guess_optional (tests.api_app.test_api.ApiViewTests.test_analyze_observable__guess_optional)
    9452:  ----------------------------------------------------------------------
    9453:  Traceback (most recent call last):
    9454:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9455:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9456:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9457:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9458:  with open(floc, "rb") as f:
    9459:  ^^^^^^^^^^^^^^^^
    9460:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9461:  ======================================================================
    9462:  ERROR: test_analyze_observable__ip (tests.api_app.test_api.ApiViewTests.test_analyze_observable__ip)
    9463:  ----------------------------------------------------------------------
    9464:  Traceback (most recent call last):
    9465:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9466:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9467:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9468:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9469:  with open(floc, "rb") as f:
    9470:  ^^^^^^^^^^^^^^^^
    9471:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9472:  ======================================================================
    9473:  ERROR: test_ask_analysis_availability (tests.api_app.test_api.ApiViewTests.test_ask_analysis_availability)
    9474:  ----------------------------------------------------------------------
    9475:  Traceback (most recent call last):
    9476:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9477:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9478:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9479:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9480:  with open(floc, "rb") as f:
    9481:  ^^^^^^^^^^^^^^^^
    9482:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9483:  ======================================================================
    9484:  ERROR: test_ask_analysis_availability__run_all_analyzers (tests.api_app.test_api.ApiViewTests.test_ask_analysis_availability__run_all_analyzers)
    9485:  ----------------------------------------------------------------------
    9486:  Traceback (most recent call last):
    9487:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9488:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9489:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9490:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9491:  with open(floc, "rb") as f:
    9492:  ^^^^^^^^^^^^^^^^
    9493:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9494:  ======================================================================
    9495:  ERROR: test_ask_multi_analysis_availability (tests.api_app.test_api.ApiViewTests.test_ask_multi_analysis_availability)
    9496:  ----------------------------------------------------------------------
    9497:  Traceback (most recent call last):
    9498:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9499:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9500:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9501:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9502:  with open(floc, "rb") as f:
    9503:  ^^^^^^^^^^^^^^^^
    9504:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9505:  ======================================================================
    9506:  ERROR: test_download_sample_200 (tests.api_app.test_api.ApiViewTests.test_download_sample_200)
    9507:  ----------------------------------------------------------------------
    9508:  Traceback (most recent call last):
    9509:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9510:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9511:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9512:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9513:  with open(floc, "rb") as f:
    9514:  ^^^^^^^^^^^^^^^^
    9515:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9516:  ======================================================================
    9517:  ERROR: test_download_sample_400 (tests.api_app.test_api.ApiViewTests.test_download_sample_400)
    9518:  ----------------------------------------------------------------------
    9519:  Traceback (most recent call last):
    9520:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9521:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9522:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9523:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9524:  with open(floc, "rb") as f:
    9525:  ^^^^^^^^^^^^^^^^
    9526:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9527:  ======================================================================
    9528:  ERROR: test_download_sample_404 (tests.api_app.test_api.ApiViewTests.test_download_sample_404)
    9529:  ----------------------------------------------------------------------
    9530:  Traceback (most recent call last):
    9531:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9532:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9533:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9534:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9535:  with open(floc, "rb") as f:
    9536:  ^^^^^^^^^^^^^^^^
    9537:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9538:  ======================================================================
    9539:  ERROR: test_incorrect_tlp (tests.api_app.test_api.ApiViewTests.test_incorrect_tlp)
    9540:  ----------------------------------------------------------------------
    9541:  Traceback (most recent call last):
    9542:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9543:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9544:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9545:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9546:  with open(floc, "rb") as f:
    9547:  ^^^^^^^^^^^^^^^^
    9548:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9549:  ======================================================================
    9550:  ERROR: test_no_analyzers (tests.api_app.test_api.ApiViewTests.test_no_analyzers)
    9551:  ----------------------------------------------------------------------
    9552:  Traceback (most recent call last):
    9553:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9554:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9555:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9556:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9557:  with open(floc, "rb") as f:
    9558:  ^^^^^^^^^^^^^^^^
    9559:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9560:  ======================================================================
    9561:  ERROR: test_tlp_clear_and_white (tests.api_app.test_api.ApiViewTests.test_tlp_clear_and_white)
    9562:  ----------------------------------------------------------------------
    9563:  Traceback (most recent call last):
    9564:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9565:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9566:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9567:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9568:  with open(floc, "rb") as f:
    9569:  ^^^^^^^^^^^^^^^^
    9570:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9571:  ======================================================================
    9572:  FAIL: test_subclasses (tests.api_app.analyzers_manager.test_classes.FileAnalyzerTestCase.test_subclasses)
    9573:  ----------------------------------------------------------------------
    9574:  Traceback (most recent call last):
    9575:  File "/opt/deploy/threat_matrix/tests/api_app/analyzers_manager/test_classes.py", line 169, in test_subclasses
    9576:  self.fail(
    9577:  AssertionError: No valid job found for analyzer APKiD with configuration APKiD
    9578:  ----------------------------------------------------------------------
    9579:  Ran 315 tests in 191.245s
    9580:  FAILED (failures=1, errors=19, skipped=1)
    9581:  Preserving test database for alias 'default'...
    9582:  ##[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.

    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