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 dnspython from 2.6.1 to 2.7.0 in /requirements #130

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 dnspython from 2.6.1 to 2.7.0.

Release notes

Sourced from dnspython's releases.

dnspython 2.7.0

See What's New for details.

The minimum supported version of Python is 3.9.

My thanks to the many people who have contributed to this release. Also thanks to my co-maintainers: Tomáš Křížek, Petr Špaček, and Brian Wellington.

Changelog

Sourced from dnspython's changelog.

2.7.0

  • dns.query.https() and dns.asyncquery.https() now support HTTP/3 and the http_version parameter may be used to specify which version to use.

  • If the cryptography module is installed, then dnspython will now create deterministic ECDSA signatures by default. Cryptography, if installed, must be at least version 43. Thanks to Jakob Schlyter for adding the feature.

  • The RESINFO and WALLET RdataTypes are now supported.

  • The COOKIE and Report-Channel EDNS0 options are now supported.

  • All supported RdataTypes can now be imported at a single time rather than lazily on first use by calling dns.rdata.load_all_types().

  • The SVCB and HTTPS records now support the ohttp parameter.

  • xfr() and inbound_xfr() now share a common implementation.

  • Tokens are now supported for QUIC and HTTP/3.

  • dns.message.from_wire() now saves the input wire format in the Message's "wire" attribute. Likewise, dns.message.Message.to_wire() now records the generated wire format in that attribute.

  • The dns.message.Message object now has a get_options() helper to retrieve EDNS0 options of a specified type, and an extended_errors() helper to retrieve the list of EDE options in a message (if any).

  • dns.message.make_response() now has a copy mode which controls how sections are copied. By default, a copy mode appropriate for the opcode is used. This is currently dns.message.CopyMode.QUESTION for all opcodes.

  • If an IP address is used as the hostname in a URL, the https query code now passes the sni_hostname to httpx as this is required to get httpx to validate the certificate and check for an IP subject alternative name.

  • The minimum supported aioquic version is now 1.0.0.

  • The minimum supported Python version is now 3.9.

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 [dnspython](https://github.com/rthalley/dnspython) from 2.6.1 to 2.7.0.
- [Release notes](https://github.com/rthalley/dnspython/releases)
- [Changelog](https://github.com/rthalley/dnspython/blob/main/doc/whatsnew.rst)
- [Commits](rthalley/dnspython@v2.6.1...v2.7.0)

---
updated-dependencies:
- dependency-name: dnspython
  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..6bd019b. 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: 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 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
    ...
    
    2288:  #15 8.330 Checking optional features...
    2289:  #15 8.330 inc_bundling_support....disabled
    2290:  #15 8.330   requires:
    2291:  #15 8.330     ! inc::latest is not installed
    2292:  #15 8.330 license_creation........disabled
    2293:  #15 8.330   requires:
    2294:  #15 8.330     ! Software::License is not installed
    2295:  #15 8.330 
    2296:  #15 8.330 ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
    ...
    
    2366:  #15 9.185     !  Email::MIME is not installed
    2367:  #15 9.185     !  Email::MIME::ContentType is not installed
    2368:  #15 9.185     !  Email::Sender is not installed
    2369:  #15 9.185     !  Email::Simple is not installed
    2370:  #15 9.185     !  IO::All is not installed
    2371:  #15 9.185     !  IO::String is not installed
    2372:  #15 9.185     !  OLE::Storage_Lite is not installed
    2373:  #15 9.185 
    2374:  #15 9.185 ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
    ...
    
    3638:  #15 21.41 Warning: prerequisite Capture::Tiny 0.08 not found.
    3639:  #15 21.41 Warning: prerequisite Email::Abstract 3.006 not found.
    3640:  #15 21.41 Warning: prerequisite Moo 2.000000 not found.
    3641:  #15 21.41 Warning: prerequisite Moo::Role 0 not found.
    3642:  #15 21.41 Warning: prerequisite MooX::Types::MooseLike 0.15 not found.
    3643:  #15 21.41 Warning: prerequisite MooX::Types::MooseLike::Base 0 not found.
    3644:  #15 21.41 Warning: prerequisite Sub::Exporter 0 not found.
    3645:  #15 21.41 Warning: prerequisite Sub::Exporter::Util 0 not found.
    3646:  #15 21.41 Warning: prerequisite Throwable::Error 0.200003 not found.
    ...
    
    3658:  #15 21.54     Capture::Tiny [build_requires]
    3659:  #15 21.54     Email::Abstract [requires]
    3660:  #15 21.54     Moo [requires]
    3661:  #15 21.54     Moo::Role [requires]
    3662:  #15 21.54     MooX::Types::MooseLike [requires]
    3663:  #15 21.54     MooX::Types::MooseLike::Base [requires]
    3664:  #15 21.54     Sub::Exporter [requires]
    3665:  #15 21.54     Sub::Exporter::Util [requires]
    3666:  #15 21.54     Throwable::Error [requires]
    ...
    
    4708:  #14 41.97 "@babel/plugin-proposal-private-property-in-object" package without
    4709:  #14 41.97 declaring it in its dependencies. This is currently working because
    4710:  #14 41.97 "@babel/plugin-proposal-private-property-in-object" is already in your
    4711:  #14 41.97 node_modules folder for unrelated reasons, but it �[1mmay break at any time�[0;33m.
    4712:  #14 41.97 
    4713:  #14 41.97 babel-preset-react-app is part of the create-react-app project, �[1mwhich
    4714:  #14 41.97 is not maintianed anymore�[0;33m. It is thus unlikely that this bug will
    4715:  #14 41.97 ever be fixed. Add "@babel/plugin-proposal-private-property-in-object" to
    4716:  #14 41.97 your devDependencies to work around this error. This will make this message
    ...
    
    5391:  #15 47.74 Installing /usr/local/man/man3/Sub::Exporter::Cookbook.3pm
    5392:  #15 47.74 Installing /usr/local/man/man3/Sub::Exporter.3pm
    5393:  #15 47.74 Installing /usr/local/man/man3/Sub::Exporter::Util.3pm
    5394:  #15 47.74 Installing /usr/local/man/man3/Sub::Exporter::Tutorial.3pm
    5395:  #15 47.75 Appending installation info to /usr/local/lib/x86_64-linux-gnu/perl/5.36.0/perllocal.pod
    5396:  #15 47.78   RJBS/Sub-Exporter-0.991.tar.gz
    5397:  #15 47.78   /usr/bin/make install  -- OK
    5398:  #15 47.78 Sub::Exporter::Util is up to date (0.991).
    5399:  #15 47.78 Running install for module 'Throwable::Error'
    ...
    
    5508:  #15 49.22   /usr/bin/make install  -- OK
    5509:  #15 49.22   RJBS/Throwable-1.001.tar.gz
    5510:  #15 49.22   Has already been unwrapped into directory /root/.cpan/build/Throwable-1.001-0
    5511:  #15 49.22   RJBS/Throwable-1.001.tar.gz
    5512:  #15 49.22   Has already been prepared
    5513:  #15 49.22 Running make for R/RJ/RJBS/Throwable-1.001.tar.gz
    5514:  #15 49.43 cp lib/Throwable.pm blib/lib/Throwable.pm
    5515:  #15 49.43 cp lib/StackTrace/Auto.pm blib/lib/StackTrace/Auto.pm
    5516:  #15 49.43 cp lib/Throwable/Error.pm blib/lib/Throwable/Error.pm
    ...
    
    5518:  #15 49.50   RJBS/Throwable-1.001.tar.gz
    5519:  #15 49.50   /usr/bin/make -- OK
    5520:  #15 49.50   RJBS/Throwable-1.001.tar.gz
    5521:  #15 49.50   Skipping test because of notest pragma
    5522:  #15 49.50 Running make install for RJBS/Throwable-1.001.tar.gz
    5523:  #15 49.56 Manifying 3 pod documents
    5524:  #15 49.60 Installing /usr/local/share/perl/5.36.0/Throwable.pm
    5525:  #15 49.60 Installing /usr/local/share/perl/5.36.0/StackTrace/Auto.pm
    5526:  #15 49.60 Installing /usr/local/share/perl/5.36.0/Throwable/Error.pm
    5527:  #15 49.60 Installing /usr/local/man/man3/Throwable::Error.3pm
    ...
    
    7883:  #19 110.4   Attempting uninstall: prometheus-client
    7884:  #19 110.4     Found existing installation: prometheus_client 0.21.0
    7885:  #19 110.5     Uninstalling prometheus_client-0.21.0:
    7886:  #19 110.5       Successfully uninstalled prometheus_client-0.21.0
    7887:  #19 110.6   Attempting uninstall: cachetools
    7888:  #19 110.6     Found existing installation: cachetools 5.5.0
    7889:  #19 110.6     Uninstalling cachetools-5.5.0:
    7890:  #19 110.6       Successfully uninstalled cachetools-5.5.0
    7891:  #19 110.8 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.
    ...
    
    7975:  #19 112.6   Stored in directory: /tmp/pip-ephem-wheel-cache-oxd90oo6/wheels/0f/fe/56/6cba6eafbb252c805af7616631ef63d8e0790c958b1bd86c63
    7976:  #19 112.6 Successfully built drf-flex-fields
    7977:  #19 112.9 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
    7978:  #19 114.1 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
    7979:  #19 114.1 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.
    7980:  #19 DONE 116.4s
    7981:  #20 [uwsgi backend-build  9/10] COPY . /opt/deploy/threat_matrix
    7982:  #20 DONE 0.2s
    7983:  #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
    ...
    
    8034:  #28 extracting sha256:b3ee43e51ca6c92d08e40eaf4d7dbc50444ba57c1a200c437a3c86e5a7631ba6 done
    8035:  #28 extracting sha256:b17a9d410da1886001947f5f826043292df395277cb23e17970f5b82a6b486ed done
    8036:  #28 extracting sha256:542e3e75411d1223efe21092951a0b87b85cb4377accf8f360d635d23dea72a9 done
    8037:  #28 extracting sha256:2b2faad386dfd2da1e19aa6e0d91d428b849181de439c0b289f383816c812304 done
    8038:  #28 extracting sha256:a5e22afba545a92d46609059fe9fe2b90028b9f3fb7c78be28cb6d4ed9e53fd3 done
    8039:  #28 extracting sha256:fb923a41dc10df4d74119907e9112426c8e0e2ce3d6851c4e2dcfb7e0765861b 0.1s
    8040:  #28 extracting sha256:fb923a41dc10df4d74119907e9112426c8e0e2ce3d6851c4e2dcfb7e0765861b 0.3s done
    8041:  #28 DONE 1.0s
    8042:  #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
    ...
    
    8136:  Applying contenttypes.0001_initial... OK
    8137:  Applying contenttypes.0002_remove_content_type_name... OK
    8138:  Applying auth.0001_initial... OK
    8139:  Applying auth.0002_alter_permission_name_max_length... OK
    8140:  Applying auth.0003_alter_user_email_max_length... OK
    8141:  Applying auth.0004_alter_user_username_opts... OK
    8142:  Applying auth.0005_alter_user_last_login_null... OK
    8143:  Applying auth.0006_require_contenttypes_0002... OK
    8144:  Applying auth.0007_alter_validators_add_error_messages... OK
    ...
    
    8229:  [--number-of-releases [NUMBER_OF_RELEASES]]
    8230:  [--debug | --no-debug] [--version]
    8231:  [-v {0,1,2,3}] [--settings SETTINGS]
    8232:  [--pythonpath PYTHONPATH]
    8233:  [--traceback] [--no-color]
    8234:  [--force-color] [--skip-checks]
    8235:  path
    8236:  {ACCOUNTS,DRAGONFLY,INTELOWL,QUOKKA_PUBLIC,QUOKKA}
    8237:  manage.py changelog_notification: error: argument appname: invalid choice: 'THREATMATRIX' (choose from 'ACCOUNTS', 'DRAGONFLY', 'INTELOWL', 'QUOKKA_PUBLIC', 'QUOKKA')
    ...
    
    9129:  test_create (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_create) ... ok-dokey (0.009995s)
    9130:  test_delete (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_delete) ... ok-dokey (0.018938s)
    9131:  test_get (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_get) ... ok-dokey (0.071606s)
    9132:  test_get_non_existent (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_get_non_existent) ... ok-dokey (0.013366s)
    9133:  test_health_check (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_health_check) ... ok-dokey (0.111864s)
    9134:  test_list (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_list) ... ok-dokey (0.611017s)
    9135:  test_organization_disable (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_organization_disable) ... ok-dokey (0.184452s)
    9136:  test_organization_enable (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_organization_enable) ... ok-dokey (0.227022s)
    9137:  {'errors': {'detail': 'This Plugin has no Update implemented'}}
    ...
    
    9243:  test_get (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_get) ... ok-dokey (0.149234s)
    9244:  test_get_non_existent (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_get_non_existent) ... ok-dokey (0.022321s)
    9245:  test_list (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_list) ... ok-dokey (0.469631s)
    9246:  test_organization_disable (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_organization_disable) ... ok-dokey (0.344577s)
    9247:  test_organization_enable (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_organization_enable) ... ok-dokey (0.437980s)
    9248:  test_update (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_update) ... ok-dokey (0.101972s)
    9249:  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.088224s)
    9250:  test_python_path (tests.api_app.test_classes.PluginTestCase.test_python_path) ... ok-dokey (0.069221s)
    9251:  test_start_errors (tests.api_app.test_classes.PluginTestCase.test_start_errors) ... Traceback (most recent call last):
    9252:  File "/opt/deploy/threat_matrix/api_app/classes.py", line 297, in start
    9253:  _result = self.run()
    9254:  ^^^^^^^^^^
    9255:  File "/opt/deploy/threat_matrix/tests/api_app/test_classes.py", line 57, in raise_error
    9256:  raise TypeError("Test")
    9257:  TypeError: Test
    9258:  ok-dokey (0.165643s)
    9259:  test_start_no_errors (tests.api_app.test_classes.PluginTestCase.test_start_no_errors) ... ok-dokey (0.155871s)
    ...
    
    9358:  test_get (tests.api_app.test_views.PluginConfigViewSetTestCase.test_get) ... ok-dokey (33.273096s)
    9359:  test_list (tests.api_app.test_views.PluginConfigViewSetTestCase.test_list) ... ok-dokey (32.209648s)
    9360:  test_create_201 (tests.api_app.test_views.TagViewsetTests.test_create_201) ... ok-dokey (0.024255s)
    9361:  test_create_400 (tests.api_app.test_views.TagViewsetTests.test_create_400) ... ok-dokey (0.019618s)
    9362:  test_delete_204 (tests.api_app.test_views.TagViewsetTests.test_delete_204) ... ok-dokey (0.030550s)
    9363:  test_list_200 (tests.api_app.test_views.TagViewsetTests.test_list_200) ... ok-dokey (0.014554s)
    9364:  test_retrieve_200 (tests.api_app.test_views.TagViewsetTests.test_retrieve_200) ... ok-dokey (0.014888s)
    9365:  test_update_200 (tests.api_app.test_views.TagViewsetTests.test_update_200) ... ok-dokey (0.024073s)
    9366:  test_with_error (tests.api_app.visualizers_manager.test_classes.ErrorHandlerTestCase.test_with_error) ... ok-dokey (0.000309s)
    9367:  test_without_error (tests.api_app.visualizers_manager.test_classes.ErrorHandlerTestCase.test_without_error) ... ok-dokey (0.000182s)
    ...
    
    9448:  test_yara_updater (tests.test_crons.CronTests.test_yara_updater) ... ok-dokey (9.764651s)
    9449:  test_validate_playbook_to_execute (tests.test_interfaces.CreateJobsFromPlaybookInterfaceTestCase.test_validate_playbook_to_execute) ... ok-dokey (0.087731s)
    9450:  test_job_killed (tests.api_app.test_websocket.JobConsumerTestCase.test_job_killed) ... ok-dokey (4.476577s)
    9451:  test_job_not_exist (tests.api_app.test_websocket.JobConsumerTestCase.test_job_not_exist) ... ok-dokey (0.036269s)
    9452:  test_job_running (tests.api_app.test_websocket.JobConsumerTestCase.test_job_running) ... ok-dokey (6.688308s)
    9453:  test_job_terminated (tests.api_app.test_websocket.JobConsumerTestCase.test_job_terminated) ... ok-dokey (0.182981s)
    9454:  test_job_unauthorized (tests.api_app.test_websocket.JobConsumerTestCase.test_job_unauthorized) ... ok-dokey (0.081987s)
    9455:  ======================================================================
    9456:  ERROR: test_create_job_multiple_file (tests.api_app.pivots_manager.test_models.PivotConfigTestCase.test_create_job_multiple_file)
    9457:  ----------------------------------------------------------------------
    9458:  Traceback (most recent call last):
    9459:  File "/opt/deploy/threat_matrix/tests/api_app/pivots_manager/test_models.py", line 88, in test_create_job_multiple_file
    9460:  with open("test_files/file.exe", "rb") as f:
    9461:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9462:  FileNotFoundError: [Errno 2] No such file or directory: 'test_files/file.exe'
    9463:  ======================================================================
    9464:  ERROR: test_analyze_file__exe (tests.api_app.test_api.ApiViewTests.test_analyze_file__exe)
    9465:  ----------------------------------------------------------------------
    9466:  Traceback (most recent call last):
    9467:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9468:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9469:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9470:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9471:  with open(floc, "rb") as f:
    9472:  ^^^^^^^^^^^^^^^^
    9473:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9474:  ======================================================================
    9475:  ERROR: test_analyze_file__guess_optional (tests.api_app.test_api.ApiViewTests.test_analyze_file__guess_optional)
    9476:  ----------------------------------------------------------------------
    9477:  Traceback (most recent call last):
    9478:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9479:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9480:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9481:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9482:  with open(floc, "rb") as f:
    9483:  ^^^^^^^^^^^^^^^^
    9484:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9485:  ======================================================================
    9486:  ERROR: test_analyze_file__pcap (tests.api_app.test_api.ApiViewTests.test_analyze_file__pcap)
    9487:  ----------------------------------------------------------------------
    9488:  Traceback (most recent call last):
    9489:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9490:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9491:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9492:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9493:  with open(floc, "rb") as f:
    9494:  ^^^^^^^^^^^^^^^^
    9495:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9496:  ======================================================================
    9497:  ERROR: test_analyze_multiple_files__exe (tests.api_app.test_api.ApiViewTests.test_analyze_multiple_files__exe)
    9498:  ----------------------------------------------------------------------
    9499:  Traceback (most recent call last):
    9500:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9501:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9502:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9503:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9504:  with open(floc, "rb") as f:
    9505:  ^^^^^^^^^^^^^^^^
    9506:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9507:  ======================================================================
    9508:  ERROR: test_analyze_multiple_files__guess_optional (tests.api_app.test_api.ApiViewTests.test_analyze_multiple_files__guess_optional)
    9509:  ----------------------------------------------------------------------
    9510:  Traceback (most recent call last):
    9511:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9512:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9513:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9514:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9515:  with open(floc, "rb") as f:
    9516:  ^^^^^^^^^^^^^^^^
    9517:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9518:  ======================================================================
    9519:  ERROR: test_analyze_multiple_observables (tests.api_app.test_api.ApiViewTests.test_analyze_multiple_observables)
    9520:  ----------------------------------------------------------------------
    9521:  Traceback (most recent call last):
    9522:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9523:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9524:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9525:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9526:  with open(floc, "rb") as f:
    9527:  ^^^^^^^^^^^^^^^^
    9528:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9529:  ======================================================================
    9530:  ERROR: test_analyze_observable__domain (tests.api_app.test_api.ApiViewTests.test_analyze_observable__domain)
    9531:  ----------------------------------------------------------------------
    9532:  Traceback (most recent call last):
    9533:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9534:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9535:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9536:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9537:  with open(floc, "rb") as f:
    9538:  ^^^^^^^^^^^^^^^^
    9539:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9540:  ======================================================================
    9541:  ERROR: test_analyze_observable__guess_optional (tests.api_app.test_api.ApiViewTests.test_analyze_observable__guess_optional)
    9542:  ----------------------------------------------------------------------
    9543:  Traceback (most recent call last):
    9544:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9545:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9546:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9547:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9548:  with open(floc, "rb") as f:
    9549:  ^^^^^^^^^^^^^^^^
    9550:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9551:  ======================================================================
    9552:  ERROR: test_analyze_observable__ip (tests.api_app.test_api.ApiViewTests.test_analyze_observable__ip)
    9553:  ----------------------------------------------------------------------
    9554:  Traceback (most recent call last):
    9555:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9556:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9557:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9558:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9559:  with open(floc, "rb") as f:
    9560:  ^^^^^^^^^^^^^^^^
    9561:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9562:  ======================================================================
    9563:  ERROR: test_ask_analysis_availability (tests.api_app.test_api.ApiViewTests.test_ask_analysis_availability)
    9564:  ----------------------------------------------------------------------
    9565:  Traceback (most recent call last):
    9566:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9567:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9568:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9569:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9570:  with open(floc, "rb") as f:
    9571:  ^^^^^^^^^^^^^^^^
    9572:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9573:  ======================================================================
    9574:  ERROR: test_ask_analysis_availability__run_all_analyzers (tests.api_app.test_api.ApiViewTests.test_ask_analysis_availability__run_all_analyzers)
    9575:  ----------------------------------------------------------------------
    9576:  Traceback (most recent call last):
    9577:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9578:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9579:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9580:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9581:  with open(floc, "rb") as f:
    9582:  ^^^^^^^^^^^^^^^^
    9583:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9584:  ======================================================================
    9585:  ERROR: test_ask_multi_analysis_availability (tests.api_app.test_api.ApiViewTests.test_ask_multi_analysis_availability)
    9586:  ----------------------------------------------------------------------
    9587:  Traceback (most recent call last):
    9588:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9589:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9590:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9591:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9592:  with open(floc, "rb") as f:
    9593:  ^^^^^^^^^^^^^^^^
    9594:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9595:  ======================================================================
    9596:  ERROR: test_download_sample_200 (tests.api_app.test_api.ApiViewTests.test_download_sample_200)
    9597:  ----------------------------------------------------------------------
    9598:  Traceback (most recent call last):
    9599:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9600:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9601:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9602:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9603:  with open(floc, "rb") as f:
    9604:  ^^^^^^^^^^^^^^^^
    9605:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9606:  ======================================================================
    9607:  ERROR: test_download_sample_400 (tests.api_app.test_api.ApiViewTests.test_download_sample_400)
    9608:  ----------------------------------------------------------------------
    9609:  Traceback (most recent call last):
    9610:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9611:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9612:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9613:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9614:  with open(floc, "rb") as f:
    9615:  ^^^^^^^^^^^^^^^^
    9616:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9617:  ======================================================================
    9618:  ERROR: test_download_sample_404 (tests.api_app.test_api.ApiViewTests.test_download_sample_404)
    9619:  ----------------------------------------------------------------------
    9620:  Traceback (most recent call last):
    9621:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9622:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9623:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9624:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9625:  with open(floc, "rb") as f:
    9626:  ^^^^^^^^^^^^^^^^
    9627:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9628:  ======================================================================
    9629:  ERROR: test_incorrect_tlp (tests.api_app.test_api.ApiViewTests.test_incorrect_tlp)
    9630:  ----------------------------------------------------------------------
    9631:  Traceback (most recent call last):
    9632:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9633:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9634:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9635:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9636:  with open(floc, "rb") as f:
    9637:  ^^^^^^^^^^^^^^^^
    9638:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9639:  ======================================================================
    9640:  ERROR: test_no_analyzers (tests.api_app.test_api.ApiViewTests.test_no_analyzers)
    9641:  ----------------------------------------------------------------------
    9642:  Traceback (most recent call last):
    9643:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9644:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9645:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9646:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9647:  with open(floc, "rb") as f:
    9648:  ^^^^^^^^^^^^^^^^
    9649:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9650:  ======================================================================
    9651:  ERROR: test_tlp_clear_and_white (tests.api_app.test_api.ApiViewTests.test_tlp_clear_and_white)
    9652:  ----------------------------------------------------------------------
    9653:  Traceback (most recent call last):
    9654:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9655:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9656:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9657:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9658:  with open(floc, "rb") as f:
    9659:  ^^^^^^^^^^^^^^^^
    9660:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9661:  ======================================================================
    9662:  FAIL: test_subclasses (tests.api_app.analyzers_manager.test_classes.FileAnalyzerTestCase.test_subclasses)
    9663:  ----------------------------------------------------------------------
    9664:  Traceback (most recent call last):
    9665:  File "/opt/deploy/threat_matrix/tests/api_app/analyzers_manager/test_classes.py", line 169, in test_subclasses
    9666:  self.fail(
    9667:  AssertionError: No valid job found for analyzer APKiD with configuration APKiD
    9668:  ----------------------------------------------------------------------
    9669:  Ran 315 tests in 195.002s
    9670:  FAILED (failures=1, errors=19, skipped=1)
    9671:  Preserving test database for alias 'default'...
    9672:  ##[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