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 django-ses from 4.1.0 to 4.2.0 in /requirements #129

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 django-ses from 4.1.0 to 4.2.0.

Release notes

Sourced from django-ses's releases.

v4.1.1

Drop requirement for pytz

Pulls:

Changelog

Sourced from django-ses's changelog.

Change Log

For a list of releases, see: https://github.com/django-ses/django-ses/releases/

Upcoming (dev)

The following changes are not yet released, but are code complete:

Pulls and Issues:

  • None

Features:

  • None

Changes:

  • None

Deprecations:

  • None

Fixes:

  • None

Current

4.2.0

Automatic handling of bounce and complaint events, managed with a blacklist

Pulls:

Past

4.1.1

Drop requirement for pytz

Pulls:

4.1.0

Adds support for AWS Session Profile with a new setting.

This is a minor bump due to the new setting, it also changes the way the connection is initialized, see here.

Pulls:

... (truncated)

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 [django-ses](https://github.com/django-ses/django-ses) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/django-ses/django-ses/releases)
- [Changelog](https://github.com/django-ses/django-ses/blob/main/CHANGES.md)
- [Commits](django-ses/django-ses@v4.1.0...v4.2.0)

---
updated-dependencies:
- dependency-name: django-ses
  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

@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..33c24f6. 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

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 errors and one test failure:

  • Several tests failed with a FileNotFoundError because the file test_files/file.exe could not be
    found. This affected multiple tests in the tests.api_app.test_api.ApiViewTests and
    tests.api_app.pivots_manager.test_models test cases.
  • The test test_subclasses in tests.api_app.analyzers_manager.test_classes.FileAnalyzerTestCase failed
    with an AssertionError because no valid job was found for the analyzer APKiD with configuration
    APKiD.

  • Relevant error logs:
    1:  ##[group]Operating System
    2:  Ubuntu
    ...
    
    2331:  #15 9.248 Checking optional features...
    2332:  #15 9.248 inc_bundling_support....disabled
    2333:  #15 9.248   requires:
    2334:  #15 9.248     ! inc::latest is not installed
    2335:  #15 9.248 license_creation........disabled
    2336:  #15 9.248   requires:
    2337:  #15 9.248     ! Software::License is not installed
    2338:  #15 9.248 
    2339:  #15 9.248 ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
    ...
    
    2409:  #15 10.15     !  Email::MIME is not installed
    2410:  #15 10.15     !  Email::MIME::ContentType is not installed
    2411:  #15 10.15     !  Email::Sender is not installed
    2412:  #15 10.15     !  Email::Simple is not installed
    2413:  #15 10.15     !  IO::All is not installed
    2414:  #15 10.15     !  IO::String is not installed
    2415:  #15 10.15     !  OLE::Storage_Lite is not installed
    2416:  #15 10.15 
    2417:  #15 10.15 ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
    ...
    
    3686:  #15 22.84 Warning: prerequisite Capture::Tiny 0.08 not found.
    3687:  #15 22.85 Warning: prerequisite Email::Abstract 3.006 not found.
    3688:  #15 22.85 Warning: prerequisite Moo 2.000000 not found.
    3689:  #15 22.85 Warning: prerequisite Moo::Role 0 not found.
    3690:  #15 22.85 Warning: prerequisite MooX::Types::MooseLike 0.15 not found.
    3691:  #15 22.85 Warning: prerequisite MooX::Types::MooseLike::Base 0 not found.
    3692:  #15 22.85 Warning: prerequisite Sub::Exporter 0 not found.
    3693:  #15 22.85 Warning: prerequisite Sub::Exporter::Util 0 not found.
    3694:  #15 22.85 Warning: prerequisite Throwable::Error 0.200003 not found.
    ...
    
    3706:  #15 22.96     Capture::Tiny [build_requires]
    3707:  #15 22.96     Email::Abstract [requires]
    3708:  #15 22.96     Moo [requires]
    3709:  #15 22.96     Moo::Role [requires]
    3710:  #15 22.96     MooX::Types::MooseLike [requires]
    3711:  #15 22.96     MooX::Types::MooseLike::Base [requires]
    3712:  #15 22.96     Sub::Exporter [requires]
    3713:  #15 22.96     Sub::Exporter::Util [requires]
    3714:  #15 22.96     Throwable::Error [requires]
    ...
    
    4549:  #14 41.85 "@babel/plugin-proposal-private-property-in-object" package without
    4550:  #14 41.85 declaring it in its dependencies. This is currently working because
    4551:  #14 41.85 "@babel/plugin-proposal-private-property-in-object" is already in your
    4552:  #14 41.85 node_modules folder for unrelated reasons, but it �[1mmay break at any time�[0;33m.
    4553:  #14 41.85 
    4554:  #14 41.85 babel-preset-react-app is part of the create-react-app project, �[1mwhich
    4555:  #14 41.85 is not maintianed anymore�[0;33m. It is thus unlikely that this bug will
    4556:  #14 41.85 ever be fixed. Add "@babel/plugin-proposal-private-property-in-object" to
    4557:  #14 41.85 your devDependencies to work around this error. This will make this message
    ...
    
    5434:  #15 49.75 Installing /usr/local/man/man3/Sub::Exporter::Cookbook.3pm
    5435:  #15 49.75 Installing /usr/local/man/man3/Sub::Exporter.3pm
    5436:  #15 49.75 Installing /usr/local/man/man3/Sub::Exporter::Util.3pm
    5437:  #15 49.75 Installing /usr/local/man/man3/Sub::Exporter::Tutorial.3pm
    5438:  #15 49.76 Appending installation info to /usr/local/lib/x86_64-linux-gnu/perl/5.36.0/perllocal.pod
    5439:  #15 49.78   RJBS/Sub-Exporter-0.991.tar.gz
    5440:  #15 49.78   /usr/bin/make install  -- OK
    5441:  #15 49.79 Sub::Exporter::Util is up to date (0.991).
    5442:  #15 49.79 Running install for module 'Throwable::Error'
    ...
    
    5549:  #15 51.34 Appending installation info to /usr/local/lib/x86_64-linux-gnu/perl/5.36.0/perllocal.pod
    5550:  #15 51.37   DROLSKY/Devel-StackTrace-2.05.tar.gz
    5551:  #15 51.37   /usr/bin/make install  -- OK
    5552:  #15 51.37   RJBS/Throwable-1.001.tar.gz
    5553:  #15 51.37   Has already been unwrapped into directory /root/.cpan/build/Throwable-1.001-0
    5554:  #15 51.37   RJBS/Throwable-1.001.tar.gz
    5555:  #15 51.37   Has already been prepared
    5556:  #15 51.37 Running make for R/RJ/RJBS/Throwable-1.001.tar.gz
    5557:  #15 51.61 cp lib/Throwable/Error.pm blib/lib/Throwable/Error.pm
    ...
    
    5561:  #15 51.68   RJBS/Throwable-1.001.tar.gz
    5562:  #15 51.68   /usr/bin/make -- OK
    5563:  #15 51.68   RJBS/Throwable-1.001.tar.gz
    5564:  #15 51.68   Skipping test because of notest pragma
    5565:  #15 51.68 Running make install for RJBS/Throwable-1.001.tar.gz
    5566:  #15 51.75 Manifying 3 pod documents
    5567:  #15 51.78 Installing /usr/local/share/perl/5.36.0/Throwable.pm
    5568:  #15 51.78 Installing /usr/local/share/perl/5.36.0/StackTrace/Auto.pm
    5569:  #15 51.78 Installing /usr/local/share/perl/5.36.0/Throwable/Error.pm
    5570:  #15 51.78 Installing /usr/local/man/man3/Throwable::Error.3pm
    ...
    
    7926:  #19 119.5   Attempting uninstall: prometheus-client
    7927:  #19 119.5     Found existing installation: prometheus_client 0.21.0
    7928:  #19 119.5     Uninstalling prometheus_client-0.21.0:
    7929:  #19 119.5       Successfully uninstalled prometheus_client-0.21.0
    7930:  #19 119.7   Attempting uninstall: cachetools
    7931:  #19 119.7     Found existing installation: cachetools 5.5.0
    7932:  #19 119.7     Uninstalling cachetools-5.5.0:
    7933:  #19 119.7       Successfully uninstalled cachetools-5.5.0
    7934:  #19 119.9 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.
    ...
    
    8018:  #19 122.3   Stored in directory: /tmp/pip-ephem-wheel-cache-ubqm9mfp/wheels/0f/fe/56/6cba6eafbb252c805af7616631ef63d8e0790c958b1bd86c63
    8019:  #19 122.3 Successfully built drf-flex-fields
    8020:  #19 122.6 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
    8021:  #19 124.0 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
    8022:  #19 124.0 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.
    8023:  #19 DONE 125.9s
    8024:  #20 [uwsgi backend-build  9/10] COPY . /opt/deploy/threat_matrix
    8025:  #20 DONE 0.3s
    8026:  #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
    ...
    
    8079:  #28 extracting sha256:b3ee43e51ca6c92d08e40eaf4d7dbc50444ba57c1a200c437a3c86e5a7631ba6 done
    8080:  #28 extracting sha256:b17a9d410da1886001947f5f826043292df395277cb23e17970f5b82a6b486ed done
    8081:  #28 extracting sha256:542e3e75411d1223efe21092951a0b87b85cb4377accf8f360d635d23dea72a9 done
    8082:  #28 extracting sha256:2b2faad386dfd2da1e19aa6e0d91d428b849181de439c0b289f383816c812304 done
    8083:  #28 extracting sha256:a5e22afba545a92d46609059fe9fe2b90028b9f3fb7c78be28cb6d4ed9e53fd3 done
    8084:  #28 extracting sha256:fb923a41dc10df4d74119907e9112426c8e0e2ce3d6851c4e2dcfb7e0765861b 0.1s
    8085:  #28 extracting sha256:fb923a41dc10df4d74119907e9112426c8e0e2ce3d6851c4e2dcfb7e0765861b 0.3s done
    8086:  #28 DONE 1.0s
    8087:  #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
    ...
    
    8181:  Applying contenttypes.0001_initial... OK
    8182:  Applying contenttypes.0002_remove_content_type_name... OK
    8183:  Applying auth.0001_initial... OK
    8184:  Applying auth.0002_alter_permission_name_max_length... OK
    8185:  Applying auth.0003_alter_user_email_max_length... OK
    8186:  Applying auth.0004_alter_user_username_opts... OK
    8187:  Applying auth.0005_alter_user_last_login_null... OK
    8188:  Applying auth.0006_require_contenttypes_0002... OK
    8189:  Applying auth.0007_alter_validators_add_error_messages... OK
    ...
    
    8194:  [--number-of-releases [NUMBER_OF_RELEASES]]
    8195:  [--debug | --no-debug] [--version]
    8196:  [-v {0,1,2,3}] [--settings SETTINGS]
    8197:  [--pythonpath PYTHONPATH]
    8198:  [--traceback] [--no-color]
    8199:  [--force-color] [--skip-checks]
    8200:  path
    8201:  {ACCOUNTS,DRAGONFLY,INTELOWL,QUOKKA_PUBLIC,QUOKKA}
    8202:  manage.py changelog_notification: error: argument appname: invalid choice: 'THREATMATRIX' (choose from 'ACCOUNTS', 'DRAGONFLY', 'INTELOWL', 'QUOKKA_PUBLIC', 'QUOKKA')
    ...
    
    9175:  test_delete (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_delete) ... ok-dokey (0.020196s)
    9176:  test_get (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_get) ... ok-dokey (0.080627s)
    9177:  test_get_non_existent (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_get_non_existent) ... ok-dokey (0.016962s)
    9178:  test_health_check (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_health_check) ... ok-dokey (0.168087s)
    9179:  test_list (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_list) ... ok-dokey (0.699442s)
    9180:  test_organization_disable (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_organization_disable) ... ok-dokey (0.217250s)
    9181:  test_organization_enable (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_organization_enable) ... ok-dokey (0.268651s)
    9182:  test_pull (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_pull) ... ok-dokey (24.359123s)
    9183:  {'errors': {'detail': 'This Plugin has no Update implemented'}}
    ...
    
    9288:  test_get (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_get) ... ok-dokey (0.148961s)
    9289:  test_get_non_existent (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_get_non_existent) ... ok-dokey (0.026859s)
    9290:  test_list (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_list) ... ok-dokey (0.490891s)
    9291:  test_organization_disable (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_organization_disable) ... ok-dokey (0.383043s)
    9292:  test_organization_enable (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_organization_enable) ... ok-dokey (0.482327s)
    9293:  test_update (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_update) ... ok-dokey (0.121620s)
    9294:  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.097051s)
    9295:  test_python_path (tests.api_app.test_classes.PluginTestCase.test_python_path) ... ok-dokey (0.070829s)
    9296:  test_start_errors (tests.api_app.test_classes.PluginTestCase.test_start_errors) ... Traceback (most recent call last):
    9297:  File "/opt/deploy/threat_matrix/api_app/classes.py", line 297, in start
    9298:  _result = self.run()
    9299:  ^^^^^^^^^^
    9300:  File "/opt/deploy/threat_matrix/tests/api_app/test_classes.py", line 57, in raise_error
    9301:  raise TypeError("Test")
    9302:  TypeError: Test
    9303:  ok-dokey (0.183114s)
    9304:  test_start_no_errors (tests.api_app.test_classes.PluginTestCase.test_start_no_errors) ... ok-dokey (0.176193s)
    ...
    
    9403:  test_get (tests.api_app.test_views.PluginConfigViewSetTestCase.test_get) ... ok-dokey (34.728800s)
    9404:  test_list (tests.api_app.test_views.PluginConfigViewSetTestCase.test_list) ... ok-dokey (34.599997s)
    9405:  test_create_201 (tests.api_app.test_views.TagViewsetTests.test_create_201) ... ok-dokey (0.024947s)
    9406:  test_create_400 (tests.api_app.test_views.TagViewsetTests.test_create_400) ... ok-dokey (0.018169s)
    9407:  test_delete_204 (tests.api_app.test_views.TagViewsetTests.test_delete_204) ... ok-dokey (0.033493s)
    9408:  test_list_200 (tests.api_app.test_views.TagViewsetTests.test_list_200) ... ok-dokey (0.017282s)
    9409:  test_retrieve_200 (tests.api_app.test_views.TagViewsetTests.test_retrieve_200) ... ok-dokey (0.015033s)
    9410:  test_update_200 (tests.api_app.test_views.TagViewsetTests.test_update_200) ... ok-dokey (0.026186s)
    9411:  test_with_error (tests.api_app.visualizers_manager.test_classes.ErrorHandlerTestCase.test_with_error) ... ok-dokey (0.000347s)
    9412:  test_without_error (tests.api_app.visualizers_manager.test_classes.ErrorHandlerTestCase.test_without_error) ... ok-dokey (0.000190s)
    ...
    
    9493:  test_yara_updater (tests.test_crons.CronTests.test_yara_updater) ... ok-dokey (9.965290s)
    9494:  test_validate_playbook_to_execute (tests.test_interfaces.CreateJobsFromPlaybookInterfaceTestCase.test_validate_playbook_to_execute) ... ok-dokey (0.086478s)
    9495:  test_job_killed (tests.api_app.test_websocket.JobConsumerTestCase.test_job_killed) ... ok-dokey (4.499003s)
    9496:  test_job_not_exist (tests.api_app.test_websocket.JobConsumerTestCase.test_job_not_exist) ... ok-dokey (0.034905s)
    9497:  test_job_running (tests.api_app.test_websocket.JobConsumerTestCase.test_job_running) ... ok-dokey (6.693551s)
    9498:  test_job_terminated (tests.api_app.test_websocket.JobConsumerTestCase.test_job_terminated) ... ok-dokey (0.198036s)
    9499:  test_job_unauthorized (tests.api_app.test_websocket.JobConsumerTestCase.test_job_unauthorized) ... ok-dokey (0.033308s)
    9500:  ======================================================================
    9501:  ERROR: test_create_job_multiple_file (tests.api_app.pivots_manager.test_models.PivotConfigTestCase.test_create_job_multiple_file)
    9502:  ----------------------------------------------------------------------
    9503:  Traceback (most recent call last):
    9504:  File "/opt/deploy/threat_matrix/tests/api_app/pivots_manager/test_models.py", line 88, in test_create_job_multiple_file
    9505:  with open("test_files/file.exe", "rb") as f:
    9506:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9507:  FileNotFoundError: [Errno 2] No such file or directory: 'test_files/file.exe'
    9508:  ======================================================================
    9509:  ERROR: test_analyze_file__exe (tests.api_app.test_api.ApiViewTests.test_analyze_file__exe)
    9510:  ----------------------------------------------------------------------
    9511:  Traceback (most recent call last):
    9512:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9513:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9514:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9515:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9516:  with open(floc, "rb") as f:
    9517:  ^^^^^^^^^^^^^^^^
    9518:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9519:  ======================================================================
    9520:  ERROR: test_analyze_file__guess_optional (tests.api_app.test_api.ApiViewTests.test_analyze_file__guess_optional)
    9521:  ----------------------------------------------------------------------
    9522:  Traceback (most recent call last):
    9523:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9524:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9525:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9526:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9527:  with open(floc, "rb") as f:
    9528:  ^^^^^^^^^^^^^^^^
    9529:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9530:  ======================================================================
    9531:  ERROR: test_analyze_file__pcap (tests.api_app.test_api.ApiViewTests.test_analyze_file__pcap)
    9532:  ----------------------------------------------------------------------
    9533:  Traceback (most recent call last):
    9534:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9535:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9536:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9537:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9538:  with open(floc, "rb") as f:
    9539:  ^^^^^^^^^^^^^^^^
    9540:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9541:  ======================================================================
    9542:  ERROR: test_analyze_multiple_files__exe (tests.api_app.test_api.ApiViewTests.test_analyze_multiple_files__exe)
    9543:  ----------------------------------------------------------------------
    9544:  Traceback (most recent call last):
    9545:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9546:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9547:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9548:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9549:  with open(floc, "rb") as f:
    9550:  ^^^^^^^^^^^^^^^^
    9551:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9552:  ======================================================================
    9553:  ERROR: test_analyze_multiple_files__guess_optional (tests.api_app.test_api.ApiViewTests.test_analyze_multiple_files__guess_optional)
    9554:  ----------------------------------------------------------------------
    9555:  Traceback (most recent call last):
    9556:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9557:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9558:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9559:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9560:  with open(floc, "rb") as f:
    9561:  ^^^^^^^^^^^^^^^^
    9562:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9563:  ======================================================================
    9564:  ERROR: test_analyze_multiple_observables (tests.api_app.test_api.ApiViewTests.test_analyze_multiple_observables)
    9565:  ----------------------------------------------------------------------
    9566:  Traceback (most recent call last):
    9567:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9568:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9569:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9570:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9571:  with open(floc, "rb") as f:
    9572:  ^^^^^^^^^^^^^^^^
    9573:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9574:  ======================================================================
    9575:  ERROR: test_analyze_observable__domain (tests.api_app.test_api.ApiViewTests.test_analyze_observable__domain)
    9576:  ----------------------------------------------------------------------
    9577:  Traceback (most recent call last):
    9578:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9579:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9580:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9581:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9582:  with open(floc, "rb") as f:
    9583:  ^^^^^^^^^^^^^^^^
    9584:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9585:  ======================================================================
    9586:  ERROR: test_analyze_observable__guess_optional (tests.api_app.test_api.ApiViewTests.test_analyze_observable__guess_optional)
    9587:  ----------------------------------------------------------------------
    9588:  Traceback (most recent call last):
    9589:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9590:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9591:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9592:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9593:  with open(floc, "rb") as f:
    9594:  ^^^^^^^^^^^^^^^^
    9595:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9596:  ======================================================================
    9597:  ERROR: test_analyze_observable__ip (tests.api_app.test_api.ApiViewTests.test_analyze_observable__ip)
    9598:  ----------------------------------------------------------------------
    9599:  Traceback (most recent call last):
    9600:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9601:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9602:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9603:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9604:  with open(floc, "rb") as f:
    9605:  ^^^^^^^^^^^^^^^^
    9606:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9607:  ======================================================================
    9608:  ERROR: test_ask_analysis_availability (tests.api_app.test_api.ApiViewTests.test_ask_analysis_availability)
    9609:  ----------------------------------------------------------------------
    9610:  Traceback (most recent call last):
    9611:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9612:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9613:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9614:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9615:  with open(floc, "rb") as f:
    9616:  ^^^^^^^^^^^^^^^^
    9617:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9618:  ======================================================================
    9619:  ERROR: test_ask_analysis_availability__run_all_analyzers (tests.api_app.test_api.ApiViewTests.test_ask_analysis_availability__run_all_analyzers)
    9620:  ----------------------------------------------------------------------
    9621:  Traceback (most recent call last):
    9622:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9623:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9624:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9625:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9626:  with open(floc, "rb") as f:
    9627:  ^^^^^^^^^^^^^^^^
    9628:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9629:  ======================================================================
    9630:  ERROR: test_ask_multi_analysis_availability (tests.api_app.test_api.ApiViewTests.test_ask_multi_analysis_availability)
    9631:  ----------------------------------------------------------------------
    9632:  Traceback (most recent call last):
    9633:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9634:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9635:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9636:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9637:  with open(floc, "rb") as f:
    9638:  ^^^^^^^^^^^^^^^^
    9639:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9640:  ======================================================================
    9641:  ERROR: test_download_sample_200 (tests.api_app.test_api.ApiViewTests.test_download_sample_200)
    9642:  ----------------------------------------------------------------------
    9643:  Traceback (most recent call last):
    9644:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9645:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9646:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9647:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9648:  with open(floc, "rb") as f:
    9649:  ^^^^^^^^^^^^^^^^
    9650:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9651:  ======================================================================
    9652:  ERROR: test_download_sample_400 (tests.api_app.test_api.ApiViewTests.test_download_sample_400)
    9653:  ----------------------------------------------------------------------
    9654:  Traceback (most recent call last):
    9655:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9656:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9657:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9658:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9659:  with open(floc, "rb") as f:
    9660:  ^^^^^^^^^^^^^^^^
    9661:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9662:  ======================================================================
    9663:  ERROR: test_download_sample_404 (tests.api_app.test_api.ApiViewTests.test_download_sample_404)
    9664:  ----------------------------------------------------------------------
    9665:  Traceback (most recent call last):
    9666:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9667:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9668:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9669:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9670:  with open(floc, "rb") as f:
    9671:  ^^^^^^^^^^^^^^^^
    9672:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9673:  ======================================================================
    9674:  ERROR: test_incorrect_tlp (tests.api_app.test_api.ApiViewTests.test_incorrect_tlp)
    9675:  ----------------------------------------------------------------------
    9676:  Traceback (most recent call last):
    9677:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9678:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9679:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9680:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9681:  with open(floc, "rb") as f:
    9682:  ^^^^^^^^^^^^^^^^
    9683:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9684:  ======================================================================
    9685:  ERROR: test_no_analyzers (tests.api_app.test_api.ApiViewTests.test_no_analyzers)
    9686:  ----------------------------------------------------------------------
    9687:  Traceback (most recent call last):
    9688:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9689:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9690:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9691:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9692:  with open(floc, "rb") as f:
    9693:  ^^^^^^^^^^^^^^^^
    9694:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9695:  ======================================================================
    9696:  ERROR: test_tlp_clear_and_white (tests.api_app.test_api.ApiViewTests.test_tlp_clear_and_white)
    9697:  ----------------------------------------------------------------------
    9698:  Traceback (most recent call last):
    9699:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9700:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9701:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9702:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9703:  with open(floc, "rb") as f:
    9704:  ^^^^^^^^^^^^^^^^
    9705:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9706:  ======================================================================
    9707:  FAIL: test_subclasses (tests.api_app.analyzers_manager.test_classes.FileAnalyzerTestCase.test_subclasses)
    9708:  ----------------------------------------------------------------------
    9709:  Traceback (most recent call last):
    9710:  File "/opt/deploy/threat_matrix/tests/api_app/analyzers_manager/test_classes.py", line 169, in test_subclasses
    9711:  self.fail(
    9712:  AssertionError: No valid job found for analyzer APKiD with configuration APKiD
    9713:  ----------------------------------------------------------------------
    9714:  Ran 315 tests in 204.403s
    9715:  FAILED (failures=1, errors=19, skipped=1)
    9716:  Preserving test database for alias 'default'...
    9717:  ##[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