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.2.0 #139

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps actions/setup-python from 5.1.0 to 5.2.0.

Release notes

Sourced from actions/setup-python's releases.

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:

Dependency updates:

New Contributors

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

v5.1.1

What's Changed

Bug fixes:

  • fix(ci): update all failing workflows by @​mayeut in actions/setup-python#863 This update ensures compatibility and optimal performance of workflows on the latest macOS version.

Documentation changes:

Dependency updates:

New Contributors

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

Commits
  • f677139 Bump pyinstaller from 3.6 to 5.13.1 in /tests/data (#923)
  • 2bd53f9 Documentation update for caching poetry dependencies (#908)
  • 80b49d3 fix: add arch to cache key (#896)
  • 036a523 Fix: Add .zip extension to Windows package downloads for Expand-Archive C...
  • 04c1311 Fix display of emojis in contributors doc (#899)
  • cb68456 Updated @​iarna/toml version to 3.0.0 (#912)
  • 39cd149 Documentation update for cache (#873)
  • a0d74c0 fix(ci): update all failing workflows (#863)
  • 4eb7dbc Bump braces from 3.0.2 to 3.0.3 (#893)
  • See full diff in compare view

Dependabot compatibility score

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


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

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

Summary by Sourcery

Bump actions/setup-python from version 5.1.0 to 5.2.0 in CI workflows to incorporate the latest bug fixes and improvements.

CI:

  • Update GitHub Actions workflows to use actions/setup-python version 5.2.0, ensuring compatibility with the latest features and bug fixes.

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@v5.1.0...v5.2.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 added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Oct 8, 2024
Copy link

sourcery-ai bot commented Oct 8, 2024

Reviewer's Guide by Sourcery

This pull request updates the actions/setup-python GitHub Action from version 5.1.0 to 5.2.0 in two workflow files. The update includes bug fixes, documentation changes, and dependency updates, with a focus on improving compatibility and performance.

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

File-Level Changes

Change Details Files
Update actions/setup-python version in GitHub Actions workflows
  • Changed version from v5.1.0 to v5.2.0
  • Applied update in codeql-analysis.yml workflow
  • Applied update in pull_request_automation.yml 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.
  • 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..27c7ac8. View details on DeepSource ↗.

Analysis Summary

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

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

Copy link
Contributor

qodo-merge-pro bot commented Oct 8, 2024

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

CI Failure Feedback 🧐

Action: backend-tests

Failed stage: Run test [❌]

Failed test name: test_analyze_file__exe

Failure summary:

The action failed due to multiple errors during the test execution:

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

  • Relevant error logs:
    1:  ##[group]Operating System
    2:  Ubuntu
    ...
    
    2266:  #15 9.349 Checking optional features...
    2267:  #15 9.349 inc_bundling_support....disabled
    2268:  #15 9.349   requires:
    2269:  #15 9.349     ! inc::latest is not installed
    2270:  #15 9.349 license_creation........disabled
    2271:  #15 9.349   requires:
    2272:  #15 9.349     ! Software::License is not installed
    2273:  #15 9.349 
    2274:  #15 9.349 ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
    ...
    
    2344:  #15 10.36     !  Email::MIME is not installed
    2345:  #15 10.36     !  Email::MIME::ContentType is not installed
    2346:  #15 10.36     !  Email::Sender is not installed
    2347:  #15 10.36     !  Email::Simple is not installed
    2348:  #15 10.36     !  IO::All is not installed
    2349:  #15 10.36     !  IO::String is not installed
    2350:  #15 10.36     !  OLE::Storage_Lite is not installed
    2351:  #15 10.37 
    2352:  #15 10.37 ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
    ...
    
    3628:  #15 23.41 Warning: prerequisite Capture::Tiny 0.08 not found.
    3629:  #15 23.41 Warning: prerequisite Email::Abstract 3.006 not found.
    3630:  #15 23.41 Warning: prerequisite Moo 2.000000 not found.
    3631:  #15 23.41 Warning: prerequisite Moo::Role 0 not found.
    3632:  #15 23.41 Warning: prerequisite MooX::Types::MooseLike 0.15 not found.
    3633:  #15 23.41 Warning: prerequisite MooX::Types::MooseLike::Base 0 not found.
    3634:  #15 23.41 Warning: prerequisite Sub::Exporter 0 not found.
    3635:  #15 23.41 Warning: prerequisite Sub::Exporter::Util 0 not found.
    3636:  #15 23.41 Warning: prerequisite Throwable::Error 0.200003 not found.
    ...
    
    3648:  #15 23.55     Capture::Tiny [build_requires]
    3649:  #15 23.55     Email::Abstract [requires]
    3650:  #15 23.55     Moo [requires]
    3651:  #15 23.55     Moo::Role [requires]
    3652:  #15 23.55     MooX::Types::MooseLike [requires]
    3653:  #15 23.55     MooX::Types::MooseLike::Base [requires]
    3654:  #15 23.55     Sub::Exporter [requires]
    3655:  #15 23.55     Sub::Exporter::Util [requires]
    3656:  #15 23.55     Throwable::Error [requires]
    ...
    
    4544:  #14 43.78 "@babel/plugin-proposal-private-property-in-object" package without
    4545:  #14 43.78 declaring it in its dependencies. This is currently working because
    4546:  #14 43.78 "@babel/plugin-proposal-private-property-in-object" is already in your
    4547:  #14 43.78 node_modules folder for unrelated reasons, but it �[1mmay break at any time�[0;33m.
    4548:  #14 43.78 
    4549:  #14 43.78 babel-preset-react-app is part of the create-react-app project, �[1mwhich
    4550:  #14 43.78 is not maintianed anymore�[0;33m. It is thus unlikely that this bug will
    4551:  #14 43.78 ever be fixed. Add "@babel/plugin-proposal-private-property-in-object" to
    4552:  #14 43.78 your devDependencies to work around this error. This will make this message
    ...
    
    5376:  #15 50.91 Installing /usr/local/man/man3/Sub::Exporter::Cookbook.3pm
    5377:  #15 50.91 Installing /usr/local/man/man3/Sub::Exporter.3pm
    5378:  #15 50.91 Installing /usr/local/man/man3/Sub::Exporter::Util.3pm
    5379:  #15 50.91 Installing /usr/local/man/man3/Sub::Exporter::Tutorial.3pm
    5380:  #15 50.92 Appending installation info to /usr/local/lib/x86_64-linux-gnu/perl/5.36.0/perllocal.pod
    5381:  #15 50.95   RJBS/Sub-Exporter-0.991.tar.gz
    5382:  #15 50.95   /usr/bin/make install  -- OK
    5383:  #15 50.95 Sub::Exporter::Util is up to date (0.991).
    5384:  #15 50.95 Running install for module 'Throwable::Error'
    ...
    
    5493:  #15 52.23   /usr/bin/make install  -- OK
    5494:  #15 52.23   RJBS/Throwable-1.001.tar.gz
    5495:  #15 52.23   Has already been unwrapped into directory /root/.cpan/build/Throwable-1.001-0
    5496:  #15 52.23   RJBS/Throwable-1.001.tar.gz
    5497:  #15 52.23   Has already been prepared
    5498:  #15 52.23 Running make for R/RJ/RJBS/Throwable-1.001.tar.gz
    5499:  #15 52.46 cp lib/Throwable.pm blib/lib/Throwable.pm
    5500:  #15 52.46 cp lib/StackTrace/Auto.pm blib/lib/StackTrace/Auto.pm
    5501:  #15 52.46 cp lib/Throwable/Error.pm blib/lib/Throwable/Error.pm
    5502:  #15 52.54 Manifying 3 pod documents
    5503:  #15 52.54   RJBS/Throwable-1.001.tar.gz
    5504:  #15 52.54   /usr/bin/make -- OK
    5505:  #15 52.54   RJBS/Throwable-1.001.tar.gz
    5506:  #15 52.54   Skipping test because of notest pragma
    5507:  #15 52.54 Running make install for RJBS/Throwable-1.001.tar.gz
    5508:  #15 52.62 Manifying 3 pod documents
    5509:  #15 52.66 Installing /usr/local/share/perl/5.36.0/Throwable.pm
    5510:  #15 52.66 Installing /usr/local/share/perl/5.36.0/Throwable/Error.pm
    5511:  #15 52.66 Installing /usr/local/share/perl/5.36.0/StackTrace/Auto.pm
    5512:  #15 52.66 Installing /usr/local/man/man3/Throwable::Error.3pm
    ...
    
    7868:  #19 118.3   Attempting uninstall: prometheus-client
    7869:  #19 118.3     Found existing installation: prometheus_client 0.21.0
    7870:  #19 118.3     Uninstalling prometheus_client-0.21.0:
    7871:  #19 118.3       Successfully uninstalled prometheus_client-0.21.0
    7872:  #19 118.4   Attempting uninstall: cachetools
    7873:  #19 118.4     Found existing installation: cachetools 5.5.0
    7874:  #19 118.4     Uninstalling cachetools-5.5.0:
    7875:  #19 118.4       Successfully uninstalled cachetools-5.5.0
    7876:  #19 118.7 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.
    ...
    
    7960:  #19 120.7   Stored in directory: /tmp/pip-ephem-wheel-cache-_9lrqvyi/wheels/0f/fe/56/6cba6eafbb252c805af7616631ef63d8e0790c958b1bd86c63
    7961:  #19 120.7 Successfully built drf-flex-fields
    7962:  #19 120.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
    7963:  #19 122.3 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
    7964:  #19 122.3 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.
    7965:  #19 DONE 124.2s
    7966:  #20 [uwsgi backend-build  9/10] COPY . /opt/deploy/threat_matrix
    7967:  #20 DONE 0.4s
    7968:  #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
    ...
    
    8015:  #28 extracting sha256:b3ee43e51ca6c92d08e40eaf4d7dbc50444ba57c1a200c437a3c86e5a7631ba6 done
    8016:  #28 extracting sha256:b17a9d410da1886001947f5f826043292df395277cb23e17970f5b82a6b486ed done
    8017:  #28 extracting sha256:542e3e75411d1223efe21092951a0b87b85cb4377accf8f360d635d23dea72a9 done
    8018:  #28 extracting sha256:2b2faad386dfd2da1e19aa6e0d91d428b849181de439c0b289f383816c812304 done
    8019:  #28 extracting sha256:a5e22afba545a92d46609059fe9fe2b90028b9f3fb7c78be28cb6d4ed9e53fd3 done
    8020:  #28 extracting sha256:fb923a41dc10df4d74119907e9112426c8e0e2ce3d6851c4e2dcfb7e0765861b 0.1s
    8021:  #28 extracting sha256:fb923a41dc10df4d74119907e9112426c8e0e2ce3d6851c4e2dcfb7e0765861b 0.3s done
    8022:  #28 DONE 0.9s
    8023:  #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
    ...
    
    8115:  - Alter field id on passwordresettoken
    8116:  [--debug | --no-debug] [--version]
    8117:  [-v {0,1,2,3}] [--settings SETTINGS]
    8118:  [--pythonpath PYTHONPATH]
    8119:  [--traceback] [--no-color]
    8120:  [--force-color] [--skip-checks]
    8121:  path
    8122:  {ACCOUNTS,DRAGONFLY,INTELOWL,QUOKKA_PUBLIC,QUOKKA}
    8123:  manage.py changelog_notification: error: argument appname: invalid choice: 'THREATMATRIX' (choose from 'ACCOUNTS', 'DRAGONFLY', 'INTELOWL', 'QUOKKA_PUBLIC', 'QUOKKA')
    ...
    
    8128:  Applying contenttypes.0001_initial... OK
    8129:  Applying contenttypes.0002_remove_content_type_name... OK
    8130:  Applying auth.0001_initial... OK
    8131:  Applying auth.0002_alter_permission_name_max_length... OK
    8132:  Applying auth.0003_alter_user_email_max_length... OK
    8133:  Applying auth.0004_alter_user_username_opts... OK
    8134:  Applying auth.0005_alter_user_last_login_null... OK
    8135:  Applying auth.0006_require_contenttypes_0002... OK
    8136:  Applying auth.0007_alter_validators_add_error_messages... OK
    ...
    
    9110:  test_create (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_create) ... ok-dokey (0.011569s)
    9111:  test_delete (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_delete) ... ok-dokey (0.021761s)
    9112:  test_get (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_get) ... ok-dokey (0.080903s)
    9113:  test_get_non_existent (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_get_non_existent) ... ok-dokey (0.015105s)
    9114:  test_health_check (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_health_check) ... ok-dokey (0.121607s)
    9115:  test_list (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_list) ... ok-dokey (0.660044s)
    9116:  test_organization_disable (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_organization_disable) ... ok-dokey (0.201608s)
    9117:  test_organization_enable (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_organization_enable) ... ok-dokey (0.245781s)
    9118:  {'errors': {'detail': 'This Plugin has no Update implemented'}}
    ...
    
    9224:  test_get (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_get) ... ok-dokey (0.148255s)
    9225:  test_get_non_existent (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_get_non_existent) ... ok-dokey (0.025661s)
    9226:  test_list (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_list) ... ok-dokey (0.484929s)
    9227:  test_organization_disable (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_organization_disable) ... ok-dokey (0.365732s)
    9228:  test_organization_enable (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_organization_enable) ... ok-dokey (0.455791s)
    9229:  test_update (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_update) ... ok-dokey (0.110751s)
    9230:  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.097847s)
    9231:  test_python_path (tests.api_app.test_classes.PluginTestCase.test_python_path) ... ok-dokey (0.076838s)
    9232:  test_start_errors (tests.api_app.test_classes.PluginTestCase.test_start_errors) ... Traceback (most recent call last):
    9233:  File "/opt/deploy/threat_matrix/api_app/classes.py", line 297, in start
    9234:  _result = self.run()
    9235:  ^^^^^^^^^^
    9236:  File "/opt/deploy/threat_matrix/tests/api_app/test_classes.py", line 57, in raise_error
    9237:  raise TypeError("Test")
    9238:  TypeError: Test
    9239:  ok-dokey (0.166604s)
    9240:  test_start_no_errors (tests.api_app.test_classes.PluginTestCase.test_start_no_errors) ... ok-dokey (0.175236s)
    ...
    
    9339:  test_get (tests.api_app.test_views.PluginConfigViewSetTestCase.test_get) ... ok-dokey (35.992259s)
    9340:  test_list (tests.api_app.test_views.PluginConfigViewSetTestCase.test_list) ... ok-dokey (33.946696s)
    9341:  test_create_201 (tests.api_app.test_views.TagViewsetTests.test_create_201) ... ok-dokey (0.026234s)
    9342:  test_create_400 (tests.api_app.test_views.TagViewsetTests.test_create_400) ... ok-dokey (0.019428s)
    9343:  test_delete_204 (tests.api_app.test_views.TagViewsetTests.test_delete_204) ... ok-dokey (0.034504s)
    9344:  test_list_200 (tests.api_app.test_views.TagViewsetTests.test_list_200) ... ok-dokey (0.016036s)
    9345:  test_retrieve_200 (tests.api_app.test_views.TagViewsetTests.test_retrieve_200) ... ok-dokey (0.017246s)
    9346:  test_update_200 (tests.api_app.test_views.TagViewsetTests.test_update_200) ... ok-dokey (0.028118s)
    9347:  test_with_error (tests.api_app.visualizers_manager.test_classes.ErrorHandlerTestCase.test_with_error) ... ok-dokey (0.000342s)
    9348:  test_without_error (tests.api_app.visualizers_manager.test_classes.ErrorHandlerTestCase.test_without_error) ... ok-dokey (0.000194s)
    ...
    
    9429:  test_yara_updater (tests.test_crons.CronTests.test_yara_updater) ... ok-dokey (8.563772s)
    9430:  test_validate_playbook_to_execute (tests.test_interfaces.CreateJobsFromPlaybookInterfaceTestCase.test_validate_playbook_to_execute) ... ok-dokey (0.087956s)
    9431:  test_job_killed (tests.api_app.test_websocket.JobConsumerTestCase.test_job_killed) ... ok-dokey (4.493138s)
    9432:  test_job_not_exist (tests.api_app.test_websocket.JobConsumerTestCase.test_job_not_exist) ... ok-dokey (0.036400s)
    9433:  test_job_running (tests.api_app.test_websocket.JobConsumerTestCase.test_job_running) ... ok-dokey (6.714090s)
    9434:  test_job_terminated (tests.api_app.test_websocket.JobConsumerTestCase.test_job_terminated) ... ok-dokey (0.188306s)
    9435:  test_job_unauthorized (tests.api_app.test_websocket.JobConsumerTestCase.test_job_unauthorized) ... ok-dokey (0.029799s)
    9436:  ======================================================================
    9437:  ERROR: test_create_job_multiple_file (tests.api_app.pivots_manager.test_models.PivotConfigTestCase.test_create_job_multiple_file)
    9438:  ----------------------------------------------------------------------
    9439:  Traceback (most recent call last):
    9440:  File "/opt/deploy/threat_matrix/tests/api_app/pivots_manager/test_models.py", line 88, in test_create_job_multiple_file
    9441:  with open("test_files/file.exe", "rb") as f:
    9442:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9443:  FileNotFoundError: [Errno 2] No such file or directory: 'test_files/file.exe'
    9444:  ======================================================================
    9445:  ERROR: test_analyze_file__exe (tests.api_app.test_api.ApiViewTests.test_analyze_file__exe)
    9446:  ----------------------------------------------------------------------
    9447:  Traceback (most recent call last):
    9448:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9449:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9450:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9451:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9452:  with open(floc, "rb") as f:
    9453:  ^^^^^^^^^^^^^^^^
    9454:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9455:  ======================================================================
    9456:  ERROR: test_analyze_file__guess_optional (tests.api_app.test_api.ApiViewTests.test_analyze_file__guess_optional)
    9457:  ----------------------------------------------------------------------
    9458:  Traceback (most recent call last):
    9459:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9460:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9461:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9462:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9463:  with open(floc, "rb") as f:
    9464:  ^^^^^^^^^^^^^^^^
    9465:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9466:  ======================================================================
    9467:  ERROR: test_analyze_file__pcap (tests.api_app.test_api.ApiViewTests.test_analyze_file__pcap)
    9468:  ----------------------------------------------------------------------
    9469:  Traceback (most recent call last):
    9470:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9471:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9472:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9473:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9474:  with open(floc, "rb") as f:
    9475:  ^^^^^^^^^^^^^^^^
    9476:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9477:  ======================================================================
    9478:  ERROR: test_analyze_multiple_files__exe (tests.api_app.test_api.ApiViewTests.test_analyze_multiple_files__exe)
    9479:  ----------------------------------------------------------------------
    9480:  Traceback (most recent call last):
    9481:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9482:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9483:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9484:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9485:  with open(floc, "rb") as f:
    9486:  ^^^^^^^^^^^^^^^^
    9487:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9488:  ======================================================================
    9489:  ERROR: test_analyze_multiple_files__guess_optional (tests.api_app.test_api.ApiViewTests.test_analyze_multiple_files__guess_optional)
    9490:  ----------------------------------------------------------------------
    9491:  Traceback (most recent call last):
    9492:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9493:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9494:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9495:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9496:  with open(floc, "rb") as f:
    9497:  ^^^^^^^^^^^^^^^^
    9498:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9499:  ======================================================================
    9500:  ERROR: test_analyze_multiple_observables (tests.api_app.test_api.ApiViewTests.test_analyze_multiple_observables)
    9501:  ----------------------------------------------------------------------
    9502:  Traceback (most recent call last):
    9503:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9504:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9505:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9506:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9507:  with open(floc, "rb") as f:
    9508:  ^^^^^^^^^^^^^^^^
    9509:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9510:  ======================================================================
    9511:  ERROR: test_analyze_observable__domain (tests.api_app.test_api.ApiViewTests.test_analyze_observable__domain)
    9512:  ----------------------------------------------------------------------
    9513:  Traceback (most recent call last):
    9514:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9515:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9516:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9517:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9518:  with open(floc, "rb") as f:
    9519:  ^^^^^^^^^^^^^^^^
    9520:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9521:  ======================================================================
    9522:  ERROR: test_analyze_observable__guess_optional (tests.api_app.test_api.ApiViewTests.test_analyze_observable__guess_optional)
    9523:  ----------------------------------------------------------------------
    9524:  Traceback (most recent call last):
    9525:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9526:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9527:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9528:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9529:  with open(floc, "rb") as f:
    9530:  ^^^^^^^^^^^^^^^^
    9531:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9532:  ======================================================================
    9533:  ERROR: test_analyze_observable__ip (tests.api_app.test_api.ApiViewTests.test_analyze_observable__ip)
    9534:  ----------------------------------------------------------------------
    9535:  Traceback (most recent call last):
    9536:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9537:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9538:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9539:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9540:  with open(floc, "rb") as f:
    9541:  ^^^^^^^^^^^^^^^^
    9542:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9543:  ======================================================================
    9544:  ERROR: test_ask_analysis_availability (tests.api_app.test_api.ApiViewTests.test_ask_analysis_availability)
    9545:  ----------------------------------------------------------------------
    9546:  Traceback (most recent call last):
    9547:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9548:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9549:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9550:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9551:  with open(floc, "rb") as f:
    9552:  ^^^^^^^^^^^^^^^^
    9553:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9554:  ======================================================================
    9555:  ERROR: test_ask_analysis_availability__run_all_analyzers (tests.api_app.test_api.ApiViewTests.test_ask_analysis_availability__run_all_analyzers)
    9556:  ----------------------------------------------------------------------
    9557:  Traceback (most recent call last):
    9558:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9559:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9560:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9561:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9562:  with open(floc, "rb") as f:
    9563:  ^^^^^^^^^^^^^^^^
    9564:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9565:  ======================================================================
    9566:  ERROR: test_ask_multi_analysis_availability (tests.api_app.test_api.ApiViewTests.test_ask_multi_analysis_availability)
    9567:  ----------------------------------------------------------------------
    9568:  Traceback (most recent call last):
    9569:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9570:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9571:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9572:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9573:  with open(floc, "rb") as f:
    9574:  ^^^^^^^^^^^^^^^^
    9575:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9576:  ======================================================================
    9577:  ERROR: test_download_sample_200 (tests.api_app.test_api.ApiViewTests.test_download_sample_200)
    9578:  ----------------------------------------------------------------------
    9579:  Traceback (most recent call last):
    9580:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9581:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9582:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9583:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9584:  with open(floc, "rb") as f:
    9585:  ^^^^^^^^^^^^^^^^
    9586:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9587:  ======================================================================
    9588:  ERROR: test_download_sample_400 (tests.api_app.test_api.ApiViewTests.test_download_sample_400)
    9589:  ----------------------------------------------------------------------
    9590:  Traceback (most recent call last):
    9591:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9592:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9593:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9594:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9595:  with open(floc, "rb") as f:
    9596:  ^^^^^^^^^^^^^^^^
    9597:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9598:  ======================================================================
    9599:  ERROR: test_download_sample_404 (tests.api_app.test_api.ApiViewTests.test_download_sample_404)
    9600:  ----------------------------------------------------------------------
    9601:  Traceback (most recent call last):
    9602:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9603:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9604:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9605:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9606:  with open(floc, "rb") as f:
    9607:  ^^^^^^^^^^^^^^^^
    9608:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9609:  ======================================================================
    9610:  ERROR: test_incorrect_tlp (tests.api_app.test_api.ApiViewTests.test_incorrect_tlp)
    9611:  ----------------------------------------------------------------------
    9612:  Traceback (most recent call last):
    9613:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9614:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9615:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9616:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9617:  with open(floc, "rb") as f:
    9618:  ^^^^^^^^^^^^^^^^
    9619:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9620:  ======================================================================
    9621:  ERROR: test_no_analyzers (tests.api_app.test_api.ApiViewTests.test_no_analyzers)
    9622:  ----------------------------------------------------------------------
    9623:  Traceback (most recent call last):
    9624:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9625:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9626:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9627:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9628:  with open(floc, "rb") as f:
    9629:  ^^^^^^^^^^^^^^^^
    9630:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9631:  ======================================================================
    9632:  ERROR: test_tlp_clear_and_white (tests.api_app.test_api.ApiViewTests.test_tlp_clear_and_white)
    9633:  ----------------------------------------------------------------------
    9634:  Traceback (most recent call last):
    9635:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9636:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9637:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9638:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9639:  with open(floc, "rb") as f:
    9640:  ^^^^^^^^^^^^^^^^
    9641:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9642:  ======================================================================
    9643:  FAIL: test_subclasses (tests.api_app.analyzers_manager.test_classes.FileAnalyzerTestCase.test_subclasses)
    9644:  ----------------------------------------------------------------------
    9645:  Traceback (most recent call last):
    9646:  File "/opt/deploy/threat_matrix/tests/api_app/analyzers_manager/test_classes.py", line 169, in test_subclasses
    9647:  self.fail(
    9648:  AssertionError: No valid job found for analyzer APKiD with configuration APKiD
    9649:  ----------------------------------------------------------------------
    9650:  Ran 315 tests in 195.614s
    9651:  FAILED (failures=1, errors=19, skipped=1)
    9652:  Preserving test database for alias 'default'...
    9653:  ##[error]Process completed with exit code 1.
    

    ✨ CI feedback usage guide:

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

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

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

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

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

    Configuration options

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

    See more information about the checks tool in the docs.

    Copy link
    Contributor Author

    dependabot bot commented on behalf of github Oct 29, 2024

    Superseded by #161.

    @dependabot dependabot bot closed this Oct 29, 2024
    @dependabot dependabot bot deleted the dependabot/github_actions/develop/actions/setup-python-5.2.0 branch October 29, 2024 05:46
    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.

    0 participants