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 actions/setup-python from 5.1.0 to 5.4.0 #223

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 Jan 28, 2025

Bumps actions/setup-python from 5.1.0 to 5.4.0.

Release notes

Sourced from actions/setup-python's releases.

v5.4.0

What's Changed

Enhancements:

Documentation changes:

Dependency updates:

New Contributors

Full Changelog: actions/setup-python@v5...v5.4.0

v5.3.0

What's Changed

Bug Fixes:

Enhancements:

New Contributors

Full Changelog: actions/setup-python@v5...v5.3.0

v5.2.0

What's Changed

Bug fixes:

  • Add .zip extension to Windows package downloads for Expand-Archive Compatibility by @​priyagupta108 in actions/setup-python#916 This addresses compatibility issues on Windows self-hosted runners by ensuring that the filenames for Python and PyPy package downloads explicitly include the .zip extension, allowing the Expand-Archive command to function correctly.
  • Add arch to cache key by @​Zxilly in actions/setup-python#896 This addresses issues with caching by adding the architecture (arch) to the cache key, ensuring that cache keys are accurate to prevent conflicts. Note: This change may break previous cache keys as they will no longer be compatible with the new format.

Documentation changes:

... (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)

Summary by Sourcery

CI:

  • Upgrade the Python setup action in CI workflows to v5.4.0.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Jan 28, 2025
Copy link

sourcery-ai bot commented Jan 28, 2025

Reviewer's Guide by Sourcery

This pull request updates the actions/setup-python GitHub Action from version 5.1.0 to 5.4.0. This involves changes to the workflow files to use the new version of the action.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Updated the setup-python action to v5.4.0
  • Updated the version of the actions/setup-python action in the codeql-analysis workflow.
  • Updated the version of the actions/setup-python action in the pull_request_automation workflow.
.github/workflows/codeql-analysis.yml
.github/workflows/pull_request_automation.yml

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. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the 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 exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!
  • Generate a plan of action for an issue: Comment @sourcery-ai plan on
    an issue to generate a plan of action for it.

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

coderabbitai bot commented Jan 28, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

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!

@gitworkflows
Copy link
Contributor

gitworkflows commented Jan 28, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

Copy link

deepsource-io bot commented Jan 28, 2025

Here's the code health analysis summary for commits 65b16c4..43b179d. 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.

@dependabot dependabot bot force-pushed the dependabot/github_actions/develop/actions/setup-python-5.4.0 branch from f5543b9 to a9696b4 Compare February 5, 2025 18:06
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.1.0 to 5.4.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@v5.1.0...v5.4.0)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/github_actions/develop/actions/setup-python-5.4.0 branch from a9696b4 to 43b179d Compare February 5, 2025 18:07
Copy link
Contributor

codiumai-pr-agent-free bot commented Feb 5, 2025

CI Feedback 🧐

(Feedback updated until commit 43b179d)

A test triggered by this PR failed. Here is an AI-generated analysis of the failure:

Action: backend-tests

Failed stage: Run test [❌]

Failed test name: test_min_password_lenght_400

Failure summary:

The test suite failed due to a failing test case 'test_min_password_lenght_400' in the TestUserAuth
class. The test expected an error message for 'password' field in the response content, but received
a KeyError indicating that 'password' key was not present in the response errors dictionary.

Relevant error logs:
1:  ##[group]Operating System
2:  Ubuntu
...

55:  Found 3 runs total.
56:  Found 1 runs to cancel.
57:  Canceling run:  {
58:  id: 13163731548,
59:  head_sha: 'a9696b4b8745f3902ed959c3efec513e12eb6a2d',
60:  status: 'in_progress',
61:  html_url: 'https://github.com/khulnasoft/ThreatMatrix/actions/runs/13163731548'
62:  }
63:  Error while canceling workflow_id 105140454: Resource not accessible by integration
...

2427:  #15 10.83 Checking optional features...
2428:  #15 10.83 inc_bundling_support....disabled
2429:  #15 10.83   requires:
2430:  #15 10.83     ! inc::latest is not installed
2431:  #15 10.83 license_creation........disabled
2432:  #15 10.83   requires:
2433:  #15 10.83     ! Software::License is not installed
2434:  #15 10.83 
2435:  #15 10.83 ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
...

2505:  #15 11.67     !  Email::MIME is not installed
2506:  #15 11.67     !  Email::MIME::ContentType is not installed
2507:  #15 11.67     !  Email::Sender is not installed
2508:  #15 11.67     !  Email::Simple is not installed
2509:  #15 11.67     !  IO::All is not installed
2510:  #15 11.67     !  IO::String is not installed
2511:  #15 11.67     !  OLE::Storage_Lite is not installed
2512:  #15 11.67 
2513:  #15 11.67 ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
...

3786:  #15 23.43 Warning: prerequisite Capture::Tiny 0.08 not found.
3787:  #15 23.43 Warning: prerequisite Email::Abstract 3.006 not found.
3788:  #15 23.43 Warning: prerequisite Moo 2.000000 not found.
3789:  #15 23.44 Warning: prerequisite Moo::Role 0 not found.
3790:  #15 23.44 Warning: prerequisite MooX::Types::MooseLike 0.15 not found.
3791:  #15 23.44 Warning: prerequisite MooX::Types::MooseLike::Base 0 not found.
3792:  #15 23.44 Warning: prerequisite Sub::Exporter 0 not found.
3793:  #15 23.44 Warning: prerequisite Sub::Exporter::Util 0 not found.
3794:  #15 23.44 Warning: prerequisite Throwable::Error 0.200003 not found.
...

3806:  #15 23.60     Capture::Tiny [build_requires]
3807:  #15 23.60     Email::Abstract [requires]
3808:  #15 23.60     Moo [requires]
3809:  #15 23.60     Moo::Role [requires]
3810:  #15 23.60     MooX::Types::MooseLike [requires]
3811:  #15 23.60     MooX::Types::MooseLike::Base [requires]
3812:  #15 23.60     Sub::Exporter [requires]
3813:  #15 23.60     Sub::Exporter::Util [requires]
3814:  #15 23.60     Throwable::Error [requires]
...

4339:  #14 35.52 "@babel/plugin-proposal-private-property-in-object" package without
4340:  #14 35.52 declaring it in its dependencies. This is currently working because
4341:  #14 35.52 "@babel/plugin-proposal-private-property-in-object" is already in your
4342:  #14 35.52 node_modules folder for unrelated reasons, but it �[1mmay break at any time�[0;33m.
4343:  #14 35.52 
4344:  #14 35.52 babel-preset-react-app is part of the create-react-app project, �[1mwhich
4345:  #14 35.52 is not maintianed anymore�[0;33m. It is thus unlikely that this bug will
4346:  #14 35.52 ever be fixed. Add "@babel/plugin-proposal-private-property-in-object" to
4347:  #14 35.52 your devDependencies to work around this error. This will make this message
...

5596:  #15 48.99 Installing /usr/local/man/man3/Sub::Exporter::Cookbook.3pm
5597:  #15 48.99 Installing /usr/local/man/man3/Sub::Exporter::Tutorial.3pm
5598:  #15 48.99 Installing /usr/local/man/man3/Sub::Exporter.3pm
5599:  #15 48.99 Installing /usr/local/man/man3/Sub::Exporter::Util.3pm
5600:  #15 49.00 Appending installation info to /usr/local/lib/x86_64-linux-gnu/perl/5.36.0/perllocal.pod
5601:  #15 49.02   RJBS/Sub-Exporter-0.991.tar.gz
5602:  #15 49.02   /usr/bin/make install  -- OK
5603:  #15 49.02 Sub::Exporter::Util is up to date (0.991).
5604:  #15 49.02 Running install for module 'Throwable::Error'
...

5712:  #15 50.31   DROLSKY/Devel-StackTrace-2.05.tar.gz
5713:  #15 50.31   /usr/bin/make install  -- OK
5714:  #15 50.31   RJBS/Throwable-1.001.tar.gz
5715:  #15 50.31   Has already been unwrapped into directory /root/.cpan/build/Throwable-1.001-0
5716:  #15 50.31   RJBS/Throwable-1.001.tar.gz
5717:  #15 50.31   Has already been prepared
5718:  #15 50.31 Running make for R/RJ/RJBS/Throwable-1.001.tar.gz
5719:  #15 50.54 cp lib/StackTrace/Auto.pm blib/lib/StackTrace/Auto.pm
5720:  #15 50.54 cp lib/Throwable/Error.pm blib/lib/Throwable/Error.pm
...

5723:  #15 50.61   RJBS/Throwable-1.001.tar.gz
5724:  #15 50.61   /usr/bin/make -- OK
5725:  #15 50.61   RJBS/Throwable-1.001.tar.gz
5726:  #15 50.61   Skipping test because of notest pragma
5727:  #15 50.61 Running make install for RJBS/Throwable-1.001.tar.gz
5728:  #15 50.67 Manifying 3 pod documents
5729:  #15 50.71 Installing /usr/local/share/perl/5.36.0/Throwable.pm
5730:  #15 50.71 Installing /usr/local/share/perl/5.36.0/StackTrace/Auto.pm
5731:  #15 50.71 Installing /usr/local/share/perl/5.36.0/Throwable/Error.pm
5732:  #15 50.71 Installing /usr/local/man/man3/StackTrace::Auto.3pm
5733:  #15 50.71 Installing /usr/local/man/man3/Throwable::Error.3pm
...

8126:  #19 105.5   Attempting uninstall: prometheus-client
8127:  #19 105.5     Found existing installation: prometheus_client 0.21.1
8128:  #19 105.5     Uninstalling prometheus_client-0.21.1:
8129:  #19 105.5       Successfully uninstalled prometheus_client-0.21.1
8130:  #19 105.7   Attempting uninstall: cachetools
8131:  #19 105.7     Found existing installation: cachetools 5.5.1
8132:  #19 105.7     Uninstalling cachetools-5.5.1:
8133:  #19 105.7       Successfully uninstalled cachetools-5.5.1
8134:  #19 106.0 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.
...

8221:  #19 108.0   Stored in directory: /tmp/pip-ephem-wheel-cache-skrdjh0d/wheels/0f/fe/56/6cba6eafbb252c805af7616631ef63d8e0790c958b1bd86c63
8222:  #19 108.0 Successfully built drf-flex-fields
8223:  #19 108.2 Installing collected packages: drf-flex-fields, ua-parser-builtins, slack-sdk, python-ipware, oauthlib, Markdown, django-cache-memoize, ua-parser, stripe, requests-oauthlib, django-ipware, user-agents, python-twitter, drf-recaptcha, django-rest-durin, django-user-agents, certego-saas
8224:  #19 109.8 Successfully installed Markdown-3.3.7 certego-saas-0.7.11 django-cache-memoize-0.2.1 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.34.0 stripe-11.5.0 ua-parser-1.0.1 ua-parser-builtins-0.18.0.post1 user-agents-2.2.0
8225:  #19 109.8 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
8226:  #19 DONE 111.8s
8227:  #20 [uwsgi backend-build  9/10] COPY . /opt/deploy/threat_matrix
8228:  #20 DONE 0.2s
8229:  #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/     && /opt/deploy/threat_matrix/docker/scripts/watchman_install.sh     && /opt/deploy/threat_matrix/api_app/analyzers_manager/repo_downloader.sh
...

8275:  #28 extracting sha256:b3ee43e51ca6c92d08e40eaf4d7dbc50444ba57c1a200c437a3c86e5a7631ba6 done
8276:  #28 extracting sha256:b17a9d410da1886001947f5f826043292df395277cb23e17970f5b82a6b486ed done
8277:  #28 extracting sha256:542e3e75411d1223efe21092951a0b87b85cb4377accf8f360d635d23dea72a9 done
8278:  #28 extracting sha256:2b2faad386dfd2da1e19aa6e0d91d428b849181de439c0b289f383816c812304 done
8279:  #28 extracting sha256:a5e22afba545a92d46609059fe9fe2b90028b9f3fb7c78be28cb6d4ed9e53fd3 done
8280:  #28 extracting sha256:fb923a41dc10df4d74119907e9112426c8e0e2ce3d6851c4e2dcfb7e0765861b 0.1s
8281:  #28 extracting sha256:fb923a41dc10df4d74119907e9112426c8e0e2ce3d6851c4e2dcfb7e0765861b 0.3s done
8282:  #28 DONE 0.9s
8283:  #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
...

8366:  [--number-of-releases [NUMBER_OF_RELEASES]]
8367:  [--debug | --no-debug] [--version]
8368:  [-v {0,1,2,3}] [--settings SETTINGS]
8369:  [--pythonpath PYTHONPATH]
8370:  [--traceback] [--no-color]
8371:  [--force-color] [--skip-checks]
8372:  path
8373:  {ACCOUNTS,DRAGONFLY,INTELOWL,QUOKKA_PUBLIC,QUOKKA}
8374:  manage.py changelog_notification: error: argument appname: invalid choice: 'THREATMATRIX' (choose from 'ACCOUNTS', 'DRAGONFLY', 'INTELOWL', 'QUOKKA_PUBLIC', 'QUOKKA')
...

8388:  Applying contenttypes.0001_initial... OK
8389:  Applying contenttypes.0002_remove_content_type_name... OK
8390:  Applying auth.0001_initial... OK
8391:  Applying auth.0002_alter_permission_name_max_length... OK
8392:  Applying auth.0003_alter_user_email_max_length... OK
8393:  Applying auth.0004_alter_user_username_opts... OK
8394:  Applying auth.0005_alter_user_last_login_null... OK
8395:  Applying auth.0006_require_contenttypes_0002... OK
8396:  Applying auth.0007_alter_validators_add_error_messages... OK
...

8902:  Created job for kotlin.kt, with mimetype text/x-kotlin
8903:  Created job for objectivec.m, with mimetype text/x-objective-c
8904:  Created job for swift.swift, with mimetype text/x-swift
8905:  Created job for android.xml, with mimetype text/xml
8906:  No defined file for mimetype application/zip
8907:  No defined file for mimetype application/x-dex
8908:  Testing Analyzer APKiD
8909:  Testing with config APKiD
8910:  skipping APKiD cause health check failed
8911:  skipping APKiD cause health check failed
8912:  skipping APKiD cause health check failed
8913:  skipping APKiD cause health check failed
...

8920:  Testing Analyzer BlintAnalyzer
8921:  Testing with config Blint
8922:  Testing sample.apk with mimetype application/vnd.android.package-archive for 30 seconds
8923:  Testing ping.elf with mimetype application/x-sharedlib for 30 seconds
8924:  Testing file.dll with mimetype application/vnd.microsoft.portable-executable for 30 seconds
8925:  Testing file.exe with mimetype application/vnd.microsoft.portable-executable for 30 seconds
8926:  Testing Analyzer BoxJS
8927:  Testing with config BoxJS
8928:  skipping BoxJS cause health check failed
8929:  skipping BoxJS cause health check failed
8930:  skipping BoxJS cause health check failed
...

8957:  Testing ping.elf with mimetype application/x-sharedlib for 30 seconds
8958:  Testing file.dll with mimetype application/vnd.microsoft.portable-executable for 30 seconds
8959:  Testing file.exe with mimetype application/vnd.microsoft.portable-executable for 30 seconds
8960:  Testing with config Capa_Info_Shellcode
8961:  Testing shellcode.bin with mimetype application/octet-stream for 30 seconds
8962:  Testing AndroidManifest.xml with mimetype application/octet-stream for 30 seconds
8963:  Testing Analyzer ClamAV
8964:  Testing with config ClamAV
8965:  skipping ClamAV cause health check failed
8966:  skipping ClamAV cause health check failed
8967:  skipping ClamAV cause health check failed
8968:  skipping ClamAV cause health check failed
8969:  skipping ClamAV cause health check failed
8970:  skipping ClamAV cause health check failed
8971:  skipping ClamAV cause health check failed
8972:  skipping ClamAV cause health check failed
8973:  skipping ClamAV cause health check failed
8974:  skipping ClamAV cause health check failed
8975:  skipping ClamAV cause health check failed
8976:  skipping ClamAV cause health check failed
8977:  skipping ClamAV cause health check failed
8978:  skipping ClamAV cause health check failed
8979:  skipping ClamAV cause health check failed
8980:  skipping ClamAV cause health check failed
8981:  skipping ClamAV cause health check failed
8982:  skipping ClamAV cause health check failed
8983:  skipping ClamAV cause health check failed
8984:  skipping ClamAV cause health check failed
8985:  skipping ClamAV cause health check failed
8986:  skipping ClamAV cause health check failed
8987:  skipping ClamAV cause health check failed
8988:  skipping ClamAV cause health check failed
8989:  skipping ClamAV cause health check failed
8990:  skipping ClamAV cause health check failed
8991:  skipping ClamAV cause health check failed
8992:  skipping ClamAV cause health check failed
8993:  skipping ClamAV cause health check failed
8994:  skipping ClamAV cause health check failed
8995:  skipping ClamAV cause health check failed
8996:  skipping ClamAV cause health check failed
8997:  skipping ClamAV cause health check failed
8998:  skipping ClamAV cause health check failed
8999:  skipping ClamAV cause health check failed
9000:  skipping ClamAV cause health check failed
9001:  skipping ClamAV cause health check failed
9002:  skipping ClamAV cause health check failed
9003:  skipping ClamAV cause health check failed
9004:  skipping ClamAV cause health check failed
9005:  skipping ClamAV cause health check failed
9006:  skipping ClamAV cause health check failed
9007:  skipping ClamAV cause health check failed
9008:  skipping ClamAV cause health check failed
9009:  skipping ClamAV cause health check failed
9010:  skipping ClamAV cause health check failed
9011:  skipping ClamAV cause health check failed
9012:  skipping ClamAV cause health check failed
9013:  skipping ClamAV cause health check failed
9014:  skipping ClamAV cause health check failed
9015:  skipping ClamAV cause health check failed
9016:  skipping ClamAV cause health check failed
9017:  skipping ClamAV cause health check failed
9018:  skipping ClamAV cause health check failed
9019:  skipping ClamAV cause health check failed
9020:  skipping ClamAV cause health check failed
...

9039:  Testing Sublime-Standard-Test-String.eml with mimetype message/rfc822 for 30 seconds
9040:  Testing java_vuln.java with mimetype text/x-java for 30 seconds
9041:  Testing kotlin.kt with mimetype text/x-kotlin for 30 seconds
9042:  Testing swift.swift with mimetype text/x-swift for 30 seconds
9043:  Testing objectivec.m with mimetype text/x-objective-c for 30 seconds
9044:  Testing downloader.lnk with mimetype application/x-ms-shortcut for 30 seconds
9045:  Testing Analyzer DetectItEasy
9046:  Testing with config DetectItEasy
9047:  skipping DetectItEasy cause health check failed
9048:  skipping DetectItEasy cause health check failed
9049:  skipping DetectItEasy cause health check failed
9050:  skipping DetectItEasy cause health check failed
9051:  skipping DetectItEasy cause health check failed
9052:  skipping DetectItEasy cause health check failed
9053:  skipping DetectItEasy cause health check failed
9054:  skipping DetectItEasy cause health check failed
9055:  skipping DetectItEasy cause health check failed
9056:  skipping DetectItEasy cause health check failed
9057:  skipping DetectItEasy cause health check failed
9058:  skipping DetectItEasy cause health check failed
9059:  skipping DetectItEasy cause health check failed
9060:  skipping DetectItEasy cause health check failed
9061:  skipping DetectItEasy cause health check failed
9062:  skipping DetectItEasy cause health check failed
9063:  skipping DetectItEasy cause health check failed
9064:  skipping DetectItEasy cause health check failed
9065:  skipping DetectItEasy cause health check failed
9066:  skipping DetectItEasy cause health check failed
9067:  skipping DetectItEasy cause health check failed
9068:  skipping DetectItEasy cause health check failed
9069:  skipping DetectItEasy cause health check failed
9070:  skipping DetectItEasy cause health check failed
9071:  skipping DetectItEasy cause health check failed
9072:  skipping DetectItEasy cause health check failed
9073:  skipping DetectItEasy cause health check failed
9074:  skipping DetectItEasy cause health check failed
9075:  skipping DetectItEasy cause health check failed
9076:  skipping DetectItEasy cause health check failed
9077:  skipping DetectItEasy cause health check failed
9078:  skipping DetectItEasy cause health check failed
9079:  skipping DetectItEasy cause health check failed
9080:  skipping DetectItEasy cause health check failed
9081:  skipping DetectItEasy cause health check failed
9082:  skipping DetectItEasy cause health check failed
9083:  skipping DetectItEasy cause health check failed
9084:  skipping DetectItEasy cause health check failed
9085:  skipping DetectItEasy cause health check failed
9086:  skipping DetectItEasy cause health check failed
9087:  skipping DetectItEasy cause health check failed
9088:  skipping DetectItEasy cause health check failed
9089:  skipping DetectItEasy cause health check failed
9090:  skipping DetectItEasy cause health check failed
9091:  skipping DetectItEasy cause health check failed
9092:  skipping DetectItEasy cause health check failed
9093:  skipping DetectItEasy cause health check failed
9094:  skipping DetectItEasy cause health check failed
9095:  skipping DetectItEasy cause health check failed
9096:  skipping DetectItEasy cause health check failed
9097:  skipping DetectItEasy cause health check failed
9098:  skipping DetectItEasy cause health check failed
9099:  skipping DetectItEasy cause health check failed
9100:  skipping DetectItEasy cause health check failed
9101:  skipping DetectItEasy cause health check failed
9102:  skipping DetectItEasy cause health check failed
9103:  skipping DetectItEasy cause health check failed
...

9164:  Testing Sublime-Standard-Test-String.eml with mimetype message/rfc822 for 30 seconds
9165:  Testing java_vuln.java with mimetype text/x-java for 30 seconds
9166:  Testing kotlin.kt with mimetype text/x-kotlin for 30 seconds
9167:  Testing swift.swift with mimetype text/x-swift for 30 seconds
9168:  Testing objectivec.m with mimetype text/x-objective-c for 30 seconds
9169:  Testing downloader.lnk with mimetype application/x-ms-shortcut for 30 seconds
9170:  Testing Analyzer Floss
9171:  Testing with config Floss
9172:  skipping Floss cause health check failed
9173:  skipping Floss cause health check failed
...

9270:  Testing with config PDF_Info
9271:  Testing document.pdf with mimetype application/pdf for 30 seconds
9272:  Testing Analyzer PEInfo
9273:  Testing with config PE_Info
9274:  Testing file.dll with mimetype application/vnd.microsoft.portable-executable for 30 seconds
9275:  Testing file.exe with mimetype application/vnd.microsoft.portable-executable for 30 seconds
9276:  Testing Analyzer PEframe
9277:  Testing with config PEframe_Scan
9278:  skipping PEframe cause health check failed
...

9309:  Testing Sublime-Standard-Test-String.eml with mimetype message/rfc822 for 30 seconds
9310:  Testing java_vuln.java with mimetype text/x-java for 30 seconds
9311:  Testing kotlin.kt with mimetype text/x-kotlin for 30 seconds
9312:  Testing swift.swift with mimetype text/x-swift for 30 seconds
9313:  Testing objectivec.m with mimetype text/x-objective-c for 30 seconds
9314:  Testing downloader.lnk with mimetype application/x-ms-shortcut for 30 seconds
9315:  Testing Analyzer Qiling
9316:  Testing with config Qiling_Linux
9317:  skipping Qiling cause health check failed
9318:  skipping Qiling cause health check failed
9319:  skipping Qiling cause health check failed
9320:  skipping Qiling cause health check failed
9321:  Testing with config Qiling_Linux_Shellcode
9322:  skipping Qiling cause health check failed
9323:  Testing with config Qiling_Windows
9324:  skipping Qiling cause health check failed
9325:  Testing with config Qiling_Windows_Shellcode
9326:  skipping Qiling cause health check failed
...

9338:  Testing with config SpeakEasy
9339:  Testing file.dll with mimetype application/vnd.microsoft.portable-executable for 30 seconds
9340:  Testing file.exe with mimetype application/vnd.microsoft.portable-executable for 30 seconds
9341:  Testing with config SpeakEasy_Shellcode
9342:  Testing shellcode.bin with mimetype application/octet-stream for 30 seconds
9343:  Testing AndroidManifest.xml with mimetype application/octet-stream for 30 seconds
9344:  Testing Analyzer StringsInfo
9345:  Testing with config Strings_Info
9346:  skipping StringsInfo cause health check failed
9347:  skipping StringsInfo cause health check failed
9348:  skipping StringsInfo cause health check failed
9349:  skipping StringsInfo cause health check failed
9350:  skipping StringsInfo cause health check failed
9351:  skipping StringsInfo cause health check failed
9352:  skipping StringsInfo cause health check failed
9353:  skipping StringsInfo cause health check failed
9354:  skipping StringsInfo cause health check failed
9355:  skipping StringsInfo cause health check failed
9356:  skipping StringsInfo cause health check failed
9357:  skipping StringsInfo cause health check failed
9358:  skipping StringsInfo cause health check failed
9359:  skipping StringsInfo cause health check failed
9360:  skipping StringsInfo cause health check failed
9361:  skipping StringsInfo cause health check failed
9362:  skipping StringsInfo cause health check failed
9363:  skipping StringsInfo cause health check failed
9364:  skipping StringsInfo cause health check failed
9365:  skipping StringsInfo cause health check failed
9366:  skipping StringsInfo cause health check failed
9367:  skipping StringsInfo cause health check failed
9368:  skipping StringsInfo cause health check failed
9369:  skipping StringsInfo cause health check failed
9370:  skipping StringsInfo cause health check failed
9371:  skipping StringsInfo cause health check failed
9372:  skipping StringsInfo cause health check failed
9373:  skipping StringsInfo cause health check failed
9374:  skipping StringsInfo cause health check failed
9375:  skipping StringsInfo cause health check failed
9376:  skipping StringsInfo cause health check failed
9377:  skipping StringsInfo cause health check failed
9378:  skipping StringsInfo cause health check failed
9379:  skipping StringsInfo cause health check failed
9380:  skipping StringsInfo cause health check failed
9381:  skipping StringsInfo cause health check failed
9382:  skipping StringsInfo cause health check failed
9383:  skipping StringsInfo cause health check failed
9384:  skipping StringsInfo cause health check failed
9385:  skipping StringsInfo cause health check failed
9386:  skipping StringsInfo cause health check failed
9387:  skipping StringsInfo cause health check failed
9388:  skipping StringsInfo cause health check failed
9389:  skipping StringsInfo cause health check failed
9390:  skipping StringsInfo cause health check failed
9391:  skipping StringsInfo cause health check failed
9392:  skipping StringsInfo cause health check failed
9393:  skipping StringsInfo cause health check failed
9394:  skipping StringsInfo cause health check failed
9395:  skipping StringsInfo cause health check failed
9396:  skipping StringsInfo cause health check failed
9397:  skipping StringsInfo cause health check failed
9398:  skipping StringsInfo cause health check failed
9399:  skipping StringsInfo cause health check failed
9400:  skipping StringsInfo cause health check failed
9401:  skipping StringsInfo cause health check failed
9402:  Testing Analyzer Sublime
9403:  Testing with config SublimeSecurity
9404:  Testing Sublime-Standard-Test-String.eml with mimetype message/rfc822 for 30 seconds
9405:  Testing Analyzer Suricata
9406:  Testing with config Suricata
9407:  skipping Suricata cause health check failed
9408:  Testing Analyzer ThugFile
9409:  Testing with config Thug_HTML_Info
9410:  skipping ThugFile cause health check failed
...

10068:  test_get_non_existent (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_get_non_existent) ... ok-dokey (0.014865s)
10069:  test_get_superuser (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_get_superuser) ... ok-dokey (0.036269s)
10070:  test_get_user (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_get_user) ... ok-dokey (0.039871s)
10071:  test_health_check (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_health_check) ... ok-dokey (0.114286s)
10072:  test_list (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_list) ... ok-dokey (0.787976s)
10073:  test_organization_disable (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_organization_disable) ... ok-dokey (0.192045s)
10074:  test_organization_enable (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_organization_enable) ... ok-dokey (0.264544s)
10075:  test_pull (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_pull) ... ok-dokey (14.095632s)
10076:  {'errors': {'detail': 'This Plugin has no Update implemented'}}
...

10248:  test_job_rescan__observable_playbook (tests.api_app.test_api.ApiViewTests.test_job_rescan__observable_playbook) ... ok-dokey (7.688023s)
10249:  test_job_rescan__permission (tests.api_app.test_api.ApiViewTests.test_job_rescan__permission) ... ok-dokey (7.881112s)
10250:  test_job_rescan__sample_analyzers (tests.api_app.test_api.ApiViewTests.test_job_rescan__sample_analyzers) ... ok-dokey (1.184503s)
10251:  test_job_rescan__sample_playbook (tests.api_app.test_api.ApiViewTests.test_job_rescan__sample_playbook) ... ok-dokey (11.792431s)
10252:  test_no_analyzers (tests.api_app.test_api.ApiViewTests.test_no_analyzers) ... ok-dokey (0.143382s)
10253:  test_tlp_clear_and_white (tests.api_app.test_api.ApiViewTests.test_tlp_clear_and_white) ... ok-dokey (2.258152s)
10254:  test_abstract (tests.api_app.test_classes.PluginTestCase.test_abstract) ... ok-dokey (0.314231s)
10255:  test_python_path (tests.api_app.test_classes.PluginTestCase.test_python_path) ... ok-dokey (0.268026s)
10256:  test_start_errors (tests.api_app.test_classes.PluginTestCase.test_start_errors) ... Traceback (most recent call last):
10257:  File "/opt/deploy/threat_matrix/api_app/classes.py", line 297, in start
10258:  _result = self.run()
10259:  ^^^^^^^^^^
10260:  File "/opt/deploy/threat_matrix/tests/api_app/test_classes.py", line 57, in raise_error
10261:  raise TypeError("Test")
10262:  TypeError: Test
10263:  ok-dokey (0.388282s)
10264:  test_start_no_errors (tests.api_app.test_classes.PluginTestCase.test_start_no_errors) ... ok-dokey (0.371036s)
...

10346:  test_validate_params_wrong_type (tests.api_app.test_validators.ValidateParamsTestCase.test_validate_params_wrong_type) ... ok-dokey (0.009784s)
10347:  test_create_201 (tests.api_app.test_views.CommentViewSetTestCase.test_create_201) ... ok-dokey (0.136943s)
10348:  test_delete (tests.api_app.test_views.CommentViewSetTestCase.test_delete) ... ok-dokey (0.141073s)
10349:  test_get (tests.api_app.test_views.CommentViewSetTestCase.test_get) ... ok-dokey (0.142992s)
10350:  test_list_200 (tests.api_app.test_views.CommentViewSetTestCase.test_list_200) ... ok-dokey (0.112906s)
10351:  test_client_request (tests.api_app.test_views.ElasticTestCase.test_client_request) ... ok-dokey (0.018705s)
10352:  test_elastic_request (tests.api_app.test_views.ElasticTestCase.test_elastic_request) ... ok-dokey (0.016191s)
10353:  test_not_authenticated (tests.api_app.test_views.ElasticTestCase.test_not_authenticated) ... ok-dokey (0.017071s)
10354:  test_validatior_errors (tests.api_app.test_views.ElasticTestCase.test_validatior_errors) ... ok-dokey (0.033409s)
...

10373:  test_plugin_config_list (tests.api_app.test_views.PluginConfigViewSetTestCase.test_plugin_config_list) ... ok-dokey (42.855890s)
10374:  test_update (tests.api_app.test_views.PluginConfigViewSetTestCase.test_update) ... ok-dokey (43.635832s)
10375:  test_create_201 (tests.api_app.test_views.TagViewsetTests.test_create_201) ... ok-dokey (0.025513s)
10376:  test_create_400 (tests.api_app.test_views.TagViewsetTests.test_create_400) ... ok-dokey (0.021693s)
10377:  test_delete_204 (tests.api_app.test_views.TagViewsetTests.test_delete_204) ... ok-dokey (0.033286s)
10378:  test_list_200 (tests.api_app.test_views.TagViewsetTests.test_list_200) ... ok-dokey (0.016226s)
10379:  test_retrieve_200 (tests.api_app.test_views.TagViewsetTests.test_retrieve_200) ... ok-dokey (0.017672s)
10380:  test_update_200 (tests.api_app.test_views.TagViewsetTests.test_update_200) ... ok-dokey (0.026989s)
10381:  test_with_error (tests.api_app.visualizers_manager.test_classes.ErrorHandlerTestCase.test_with_error) ... ok-dokey (0.000340s)
10382:  test_without_error (tests.api_app.visualizers_manager.test_classes.ErrorHandlerTestCase.test_without_error) ... ok-dokey (0.000227s)
...

10471:  test_initial (tests.threat_matrix.test_tasks.SendElasticTestCase.test_initial) ... ok-dokey (0.241582s)
10472:  test_update (tests.threat_matrix.test_tasks.SendElasticTestCase.test_update) ... ok-dokey (0.224976s)
10473:  test_job_killed (tests.api_app.test_websocket.JobConsumerTestCase.test_job_killed) ... ok-dokey (4.507329s)
10474:  test_job_not_exist (tests.api_app.test_websocket.JobConsumerTestCase.test_job_not_exist) ... ok-dokey (0.035936s)
10475:  test_job_running (tests.api_app.test_websocket.JobConsumerTestCase.test_job_running) ... ok-dokey (6.765648s)
10476:  test_job_terminated (tests.api_app.test_websocket.JobConsumerTestCase.test_job_terminated) ... ok-dokey (0.191370s)
10477:  test_job_unauthorized (tests.api_app.test_websocket.JobConsumerTestCase.test_job_unauthorized) ... ok-dokey (0.027166s)
10478:  ======================================================================
10479:  ERROR: test_min_password_lenght_400 (tests.auth.test_auth.TestUserAuth.test_min_password_lenght_400)
10480:  ----------------------------------------------------------------------
10481:  Traceback (most recent call last):
10482:  File "/opt/deploy/threat_matrix/tests/auth/test_auth.py", line 275, in test_min_password_lenght_400
10483:  content["errors"]["password"],
10484:  ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
10485:  KeyError: 'password'
10486:  ----------------------------------------------------------------------
10487:  Ran 395 tests in 731.043s
10488:  FAILED (errors=1, skipped=3)
10489:  Preserving test database for alias 'default'...
10490:  ##[error]Process completed with exit code 1.

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 github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant