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/checkout from 4.1.0 to 4.2.1 #136

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 actions/checkout from 4.1.0 to 4.2.1.

Release notes

Sourced from actions/checkout's releases.

v4.2.1

What's Changed

New Contributors

Full Changelog: actions/checkout@v4.2.0...v4.2.1

v4.2.0

What's Changed

New Contributors

Full Changelog: actions/checkout@v4.1.7...v4.2.0

v4.1.7

What's Changed

New Contributors

Full Changelog: actions/checkout@v4.1.6...v4.1.7

v4.1.6

What's Changed

Full Changelog: actions/checkout@v4.1.5...v4.1.6

v4.1.5

What's Changed

Full Changelog: actions/checkout@v4.1.4...v4.1.5

... (truncated)

Changelog

Sourced from actions/checkout's changelog.

v4.2.1

v4.2.0

v4.1.7

v4.1.6

v4.1.5

v4.1.4

v4.1.3

v4.1.2

v4.1.1

Commits
  • eef6144 Prepare 4.2.1 release (#1925)
  • 6b42224 Add workflow file for publishing releases to immutable action package (#1919)
  • de5a000 Check out other refs/* by commit if provided, fall back to ref (#1924)
  • d632683 Prepare 4.2.0 release (#1878)
  • 6d193bf Bump braces from 3.0.2 to 3.0.3 (#1777)
  • db0cee9 Bump the minor-npm-dependencies group across 1 directory with 4 updates (#1872)
  • b684943 Add Ref and Commit outputs (#1180)
  • 2d7d9f7 Provide explanation for where user email came from (#1869)
  • 9a9194f Bump docker/build-push-action from 5.3.0 to 6.5.0 (#1832)
  • dd960bd Bump docker/login-action in the minor-actions-dependencies group (#1831)
  • Additional commits viewable 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 the actions/checkout version from 4.1.0 to 4.2.1 in various GitHub Actions workflows to incorporate the latest features and improvements.

CI:

  • Update GitHub Actions workflows to use actions/checkout version 4.2.1 instead of 4.1.0 across multiple workflow files.

Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.2.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v4.1.0...v4.2.1)

---
updated-dependencies:
- dependency-name: actions/checkout
  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 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/checkout action from version 4.1.0 to 4.2.1 across multiple workflow files. The change is a minor version bump that includes several improvements and bug fixes.

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

File-Level Changes

Change Details Files
Update actions/checkout version from 4.1.0 to 4.2.1
  • Update actions/checkout to v4.2.1 in pull_request_automation.yml
  • Update actions/checkout to v4.2.1 in codeql-analysis.yml
  • Update actions/checkout to v4.2.1 in dependency_review.yml
  • Update actions/checkout to v4.2.1 in scorecard.yml
.github/workflows/pull_request_automation.yml
.github/workflows/codeql-analysis.yml
.github/workflows/dependency_review.yml
.github/workflows/scorecard.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..0bbadef. View details on DeepSource ↗.

Analysis Summary

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

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

Copy link
Contributor

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

CI Failure Feedback 🧐

Action: backend-tests

Failed stage: Run test [❌]

Failed test name: test_subclasses

Failure summary:

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

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

  • Relevant error logs:
    1:  ##[group]Operating System
    2:  Ubuntu
    ...
    
    2291:  #15 9.606 Checking optional features...
    2292:  #15 9.606 inc_bundling_support....disabled
    2293:  #15 9.606   requires:
    2294:  #15 9.606     ! inc::latest is not installed
    2295:  #15 9.606 license_creation........disabled
    2296:  #15 9.606   requires:
    2297:  #15 9.606     ! Software::License is not installed
    2298:  #15 9.606 
    2299:  #15 9.606 ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
    ...
    
    2369:  #15 10.53     !  Email::MIME is not installed
    2370:  #15 10.53     !  Email::MIME::ContentType is not installed
    2371:  #15 10.53     !  Email::Sender is not installed
    2372:  #15 10.53     !  Email::Simple is not installed
    2373:  #15 10.53     !  IO::All is not installed
    2374:  #15 10.53     !  IO::String is not installed
    2375:  #15 10.53     !  OLE::Storage_Lite is not installed
    2376:  #15 10.53 
    2377:  #15 10.53 ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
    ...
    
    3646:  #15 23.43 Warning: prerequisite Capture::Tiny 0.08 not found.
    3647:  #15 23.43 Warning: prerequisite Email::Abstract 3.006 not found.
    3648:  #15 23.43 Warning: prerequisite Moo 2.000000 not found.
    3649:  #15 23.43 Warning: prerequisite Moo::Role 0 not found.
    3650:  #15 23.43 Warning: prerequisite MooX::Types::MooseLike 0.15 not found.
    3651:  #15 23.43 Warning: prerequisite MooX::Types::MooseLike::Base 0 not found.
    3652:  #15 23.43 Warning: prerequisite Sub::Exporter 0 not found.
    3653:  #15 23.43 Warning: prerequisite Sub::Exporter::Util 0 not found.
    3654:  #15 23.43 Warning: prerequisite Throwable::Error 0.200003 not found.
    ...
    
    3666:  #15 23.54     Capture::Tiny [build_requires]
    3667:  #15 23.54     Email::Abstract [requires]
    3668:  #15 23.54     Moo [requires]
    3669:  #15 23.54     Moo::Role [requires]
    3670:  #15 23.54     MooX::Types::MooseLike [requires]
    3671:  #15 23.54     MooX::Types::MooseLike::Base [requires]
    3672:  #15 23.54     Sub::Exporter [requires]
    3673:  #15 23.54     Sub::Exporter::Util [requires]
    3674:  #15 23.54     Throwable::Error [requires]
    ...
    
    3846:  #14 40.74 "@babel/plugin-proposal-private-property-in-object" package without
    3847:  #14 40.74 declaring it in its dependencies. This is currently working because
    3848:  #14 40.74 "@babel/plugin-proposal-private-property-in-object" is already in your
    3849:  #14 40.74 node_modules folder for unrelated reasons, but it �[1mmay break at any time�[0;33m.
    3850:  #14 40.74 
    3851:  #14 40.74 babel-preset-react-app is part of the create-react-app project, �[1mwhich
    3852:  #14 40.74 is not maintianed anymore�[0;33m. It is thus unlikely that this bug will
    3853:  #14 40.74 ever be fixed. Add "@babel/plugin-proposal-private-property-in-object" to
    3854:  #14 40.74 your devDependencies to work around this error. This will make this message
    ...
    
    5395:  #15 50.56 Installing /usr/local/man/man3/Sub::Exporter::Cookbook.3pm
    5396:  #15 50.56 Installing /usr/local/man/man3/Sub::Exporter.3pm
    5397:  #15 50.56 Installing /usr/local/man/man3/Sub::Exporter::Util.3pm
    5398:  #15 50.56 Installing /usr/local/man/man3/Sub::Exporter::Tutorial.3pm
    5399:  #15 50.57 Appending installation info to /usr/local/lib/x86_64-linux-gnu/perl/5.36.0/perllocal.pod
    5400:  #15 50.59   RJBS/Sub-Exporter-0.991.tar.gz
    5401:  #15 50.59   /usr/bin/make install  -- OK
    5402:  #15 50.59 Sub::Exporter::Util is up to date (0.991).
    5403:  #15 50.59 Running install for module 'Throwable::Error'
    ...
    
    5511:  #15 51.97   DROLSKY/Devel-StackTrace-2.05.tar.gz
    5512:  #15 51.97   /usr/bin/make install  -- OK
    5513:  #15 51.97   RJBS/Throwable-1.001.tar.gz
    5514:  #15 51.97   Has already been unwrapped into directory /root/.cpan/build/Throwable-1.001-0
    5515:  #15 51.97   RJBS/Throwable-1.001.tar.gz
    5516:  #15 51.97   Has already been prepared
    5517:  #15 51.97 Running make for R/RJ/RJBS/Throwable-1.001.tar.gz
    5518:  #15 52.18 cp lib/StackTrace/Auto.pm blib/lib/StackTrace/Auto.pm
    5519:  #15 52.18 cp lib/Throwable/Error.pm blib/lib/Throwable/Error.pm
    ...
    
    5522:  #15 52.25   RJBS/Throwable-1.001.tar.gz
    5523:  #15 52.25   /usr/bin/make -- OK
    5524:  #15 52.25   RJBS/Throwable-1.001.tar.gz
    5525:  #15 52.25   Skipping test because of notest pragma
    5526:  #15 52.25 Running make install for RJBS/Throwable-1.001.tar.gz
    5527:  #15 52.32 Manifying 3 pod documents
    5528:  #15 52.35 Installing /usr/local/share/perl/5.36.0/Throwable.pm
    5529:  #15 52.35 Installing /usr/local/share/perl/5.36.0/StackTrace/Auto.pm
    5530:  #15 52.35 Installing /usr/local/share/perl/5.36.0/Throwable/Error.pm
    5531:  #15 52.35 Installing /usr/local/man/man3/Throwable::Error.3pm
    ...
    
    7887:  #19 109.3   Attempting uninstall: prometheus-client
    7888:  #19 109.4     Found existing installation: prometheus_client 0.21.0
    7889:  #19 109.4     Uninstalling prometheus_client-0.21.0:
    7890:  #19 109.4       Successfully uninstalled prometheus_client-0.21.0
    7891:  #19 109.5   Attempting uninstall: cachetools
    7892:  #19 109.5     Found existing installation: cachetools 5.5.0
    7893:  #19 109.5     Uninstalling cachetools-5.5.0:
    7894:  #19 109.5       Successfully uninstalled cachetools-5.5.0
    7895:  #19 109.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.
    ...
    
    7979:  #19 111.8   Stored in directory: /tmp/pip-ephem-wheel-cache-x1wvrf6d/wheels/0f/fe/56/6cba6eafbb252c805af7616631ef63d8e0790c958b1bd86c63
    7980:  #19 111.8 Successfully built drf-flex-fields
    7981:  #19 112.0 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
    7982:  #19 113.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
    7983:  #19 113.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.
    7984:  #19 DONE 115.6s
    7985:  #20 [uwsgi backend-build  9/10] COPY . /opt/deploy/threat_matrix
    7986:  #20 DONE 0.2s
    7987:  #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
    ...
    
    8032:  #28 extracting sha256:b3ee43e51ca6c92d08e40eaf4d7dbc50444ba57c1a200c437a3c86e5a7631ba6 done
    8033:  #28 extracting sha256:b17a9d410da1886001947f5f826043292df395277cb23e17970f5b82a6b486ed done
    8034:  #28 extracting sha256:542e3e75411d1223efe21092951a0b87b85cb4377accf8f360d635d23dea72a9 done
    8035:  #28 extracting sha256:2b2faad386dfd2da1e19aa6e0d91d428b849181de439c0b289f383816c812304 done
    8036:  #28 extracting sha256:a5e22afba545a92d46609059fe9fe2b90028b9f3fb7c78be28cb6d4ed9e53fd3 done
    8037:  #28 extracting sha256:fb923a41dc10df4d74119907e9112426c8e0e2ce3d6851c4e2dcfb7e0765861b 0.1s
    8038:  #28 extracting sha256:fb923a41dc10df4d74119907e9112426c8e0e2ce3d6851c4e2dcfb7e0765861b 0.3s done
    8039:  #28 DONE 0.9s
    8040:  #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
    ...
    
    8134:  Applying contenttypes.0001_initial... OK
    8135:  Applying contenttypes.0002_remove_content_type_name... OK
    8136:  Applying auth.0001_initial... OK
    8137:  Applying auth.0002_alter_permission_name_max_length... OK
    8138:  Applying auth.0003_alter_user_email_max_length... OK
    8139:  Applying auth.0004_alter_user_username_opts... OK
    8140:  Applying auth.0005_alter_user_last_login_null... OK
    8141:  Applying auth.0006_require_contenttypes_0002... OK
    8142:  Applying auth.0007_alter_validators_add_error_messages... OK
    ...
    
    8384:  [--number-of-releases [NUMBER_OF_RELEASES]]
    8385:  [--debug | --no-debug] [--version]
    8386:  [-v {0,1,2,3}] [--settings SETTINGS]
    8387:  [--pythonpath PYTHONPATH]
    8388:  [--traceback] [--no-color]
    8389:  [--force-color] [--skip-checks]
    8390:  path
    8391:  {ACCOUNTS,DRAGONFLY,INTELOWL,QUOKKA_PUBLIC,QUOKKA}
    8392:  manage.py changelog_notification: error: argument appname: invalid choice: 'THREATMATRIX' (choose from 'ACCOUNTS', 'DRAGONFLY', 'INTELOWL', 'QUOKKA_PUBLIC', 'QUOKKA')
    ...
    
    9128:  test_delete (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_delete) ... ok-dokey (0.021304s)
    9129:  test_get (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_get) ... ok-dokey (0.077675s)
    9130:  test_get_non_existent (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_get_non_existent) ... ok-dokey (0.014342s)
    9131:  test_health_check (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_health_check) ... ok-dokey (0.116004s)
    9132:  test_list (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_list) ... ok-dokey (0.623210s)
    9133:  test_organization_disable (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_organization_disable) ... ok-dokey (0.185508s)
    9134:  test_organization_enable (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_organization_enable) ... ok-dokey (0.240446s)
    9135:  test_pull (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_pull) ... ok-dokey (16.986987s)
    9136:  {'errors': {'detail': 'This Plugin has no Update implemented'}}
    ...
    
    9241:  test_get (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_get) ... ok-dokey (0.145635s)
    9242:  test_get_non_existent (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_get_non_existent) ... ok-dokey (0.025397s)
    9243:  test_list (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_list) ... ok-dokey (0.752621s)
    9244:  test_organization_disable (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_organization_disable) ... ok-dokey (0.373480s)
    9245:  test_organization_enable (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_organization_enable) ... ok-dokey (0.473349s)
    9246:  test_update (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_update) ... ok-dokey (0.114710s)
    9247:  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.097997s)
    9248:  test_python_path (tests.api_app.test_classes.PluginTestCase.test_python_path) ... ok-dokey (0.070214s)
    9249:  test_start_errors (tests.api_app.test_classes.PluginTestCase.test_start_errors) ... Traceback (most recent call last):
    9250:  File "/opt/deploy/threat_matrix/api_app/classes.py", line 297, in start
    9251:  _result = self.run()
    9252:  ^^^^^^^^^^
    9253:  File "/opt/deploy/threat_matrix/tests/api_app/test_classes.py", line 57, in raise_error
    9254:  raise TypeError("Test")
    9255:  TypeError: Test
    9256:  ok-dokey (0.185677s)
    9257:  test_start_no_errors (tests.api_app.test_classes.PluginTestCase.test_start_no_errors) ... ok-dokey (0.175955s)
    ...
    
    9356:  test_get (tests.api_app.test_views.PluginConfigViewSetTestCase.test_get) ... ok-dokey (35.365760s)
    9357:  test_list (tests.api_app.test_views.PluginConfigViewSetTestCase.test_list) ... ok-dokey (32.815854s)
    9358:  test_create_201 (tests.api_app.test_views.TagViewsetTests.test_create_201) ... ok-dokey (0.023973s)
    9359:  test_create_400 (tests.api_app.test_views.TagViewsetTests.test_create_400) ... ok-dokey (0.018517s)
    9360:  test_delete_204 (tests.api_app.test_views.TagViewsetTests.test_delete_204) ... ok-dokey (0.035167s)
    9361:  test_list_200 (tests.api_app.test_views.TagViewsetTests.test_list_200) ... ok-dokey (0.015801s)
    9362:  test_retrieve_200 (tests.api_app.test_views.TagViewsetTests.test_retrieve_200) ... ok-dokey (0.015405s)
    9363:  test_update_200 (tests.api_app.test_views.TagViewsetTests.test_update_200) ... ok-dokey (0.024871s)
    9364:  test_with_error (tests.api_app.visualizers_manager.test_classes.ErrorHandlerTestCase.test_with_error) ... ok-dokey (0.000288s)
    9365:  test_without_error (tests.api_app.visualizers_manager.test_classes.ErrorHandlerTestCase.test_without_error) ... ok-dokey (0.000189s)
    ...
    
    9446:  test_yara_updater (tests.test_crons.CronTests.test_yara_updater) ... ok-dokey (9.254711s)
    9447:  test_validate_playbook_to_execute (tests.test_interfaces.CreateJobsFromPlaybookInterfaceTestCase.test_validate_playbook_to_execute) ... ok-dokey (0.094468s)
    9448:  test_job_killed (tests.api_app.test_websocket.JobConsumerTestCase.test_job_killed) ... ok-dokey (4.487675s)
    9449:  test_job_not_exist (tests.api_app.test_websocket.JobConsumerTestCase.test_job_not_exist) ... ok-dokey (0.041964s)
    9450:  test_job_running (tests.api_app.test_websocket.JobConsumerTestCase.test_job_running) ... ok-dokey (6.671580s)
    9451:  test_job_terminated (tests.api_app.test_websocket.JobConsumerTestCase.test_job_terminated) ... ok-dokey (0.177708s)
    9452:  test_job_unauthorized (tests.api_app.test_websocket.JobConsumerTestCase.test_job_unauthorized) ... ok-dokey (0.027033s)
    9453:  ======================================================================
    9454:  ERROR: test_create_job_multiple_file (tests.api_app.pivots_manager.test_models.PivotConfigTestCase.test_create_job_multiple_file)
    9455:  ----------------------------------------------------------------------
    9456:  Traceback (most recent call last):
    9457:  File "/opt/deploy/threat_matrix/tests/api_app/pivots_manager/test_models.py", line 88, in test_create_job_multiple_file
    9458:  with open("test_files/file.exe", "rb") as f:
    9459:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9460:  FileNotFoundError: [Errno 2] No such file or directory: 'test_files/file.exe'
    9461:  ======================================================================
    9462:  ERROR: test_analyze_file__exe (tests.api_app.test_api.ApiViewTests.test_analyze_file__exe)
    9463:  ----------------------------------------------------------------------
    9464:  Traceback (most recent call last):
    9465:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9466:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9467:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9468:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9469:  with open(floc, "rb") as f:
    9470:  ^^^^^^^^^^^^^^^^
    9471:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9472:  ======================================================================
    9473:  ERROR: test_analyze_file__guess_optional (tests.api_app.test_api.ApiViewTests.test_analyze_file__guess_optional)
    9474:  ----------------------------------------------------------------------
    9475:  Traceback (most recent call last):
    9476:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9477:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9478:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9479:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9480:  with open(floc, "rb") as f:
    9481:  ^^^^^^^^^^^^^^^^
    9482:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9483:  ======================================================================
    9484:  ERROR: test_analyze_file__pcap (tests.api_app.test_api.ApiViewTests.test_analyze_file__pcap)
    9485:  ----------------------------------------------------------------------
    9486:  Traceback (most recent call last):
    9487:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9488:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9489:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9490:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9491:  with open(floc, "rb") as f:
    9492:  ^^^^^^^^^^^^^^^^
    9493:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9494:  ======================================================================
    9495:  ERROR: test_analyze_multiple_files__exe (tests.api_app.test_api.ApiViewTests.test_analyze_multiple_files__exe)
    9496:  ----------------------------------------------------------------------
    9497:  Traceback (most recent call last):
    9498:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9499:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9500:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9501:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9502:  with open(floc, "rb") as f:
    9503:  ^^^^^^^^^^^^^^^^
    9504:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9505:  ======================================================================
    9506:  ERROR: test_analyze_multiple_files__guess_optional (tests.api_app.test_api.ApiViewTests.test_analyze_multiple_files__guess_optional)
    9507:  ----------------------------------------------------------------------
    9508:  Traceback (most recent call last):
    9509:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9510:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9511:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9512:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9513:  with open(floc, "rb") as f:
    9514:  ^^^^^^^^^^^^^^^^
    9515:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9516:  ======================================================================
    9517:  ERROR: test_analyze_multiple_observables (tests.api_app.test_api.ApiViewTests.test_analyze_multiple_observables)
    9518:  ----------------------------------------------------------------------
    9519:  Traceback (most recent call last):
    9520:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9521:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9522:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9523:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9524:  with open(floc, "rb") as f:
    9525:  ^^^^^^^^^^^^^^^^
    9526:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9527:  ======================================================================
    9528:  ERROR: test_analyze_observable__domain (tests.api_app.test_api.ApiViewTests.test_analyze_observable__domain)
    9529:  ----------------------------------------------------------------------
    9530:  Traceback (most recent call last):
    9531:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9532:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9533:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9534:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9535:  with open(floc, "rb") as f:
    9536:  ^^^^^^^^^^^^^^^^
    9537:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9538:  ======================================================================
    9539:  ERROR: test_analyze_observable__guess_optional (tests.api_app.test_api.ApiViewTests.test_analyze_observable__guess_optional)
    9540:  ----------------------------------------------------------------------
    9541:  Traceback (most recent call last):
    9542:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9543:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9544:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9545:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9546:  with open(floc, "rb") as f:
    9547:  ^^^^^^^^^^^^^^^^
    9548:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9549:  ======================================================================
    9550:  ERROR: test_analyze_observable__ip (tests.api_app.test_api.ApiViewTests.test_analyze_observable__ip)
    9551:  ----------------------------------------------------------------------
    9552:  Traceback (most recent call last):
    9553:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9554:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9555:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9556:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9557:  with open(floc, "rb") as f:
    9558:  ^^^^^^^^^^^^^^^^
    9559:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9560:  ======================================================================
    9561:  ERROR: test_ask_analysis_availability (tests.api_app.test_api.ApiViewTests.test_ask_analysis_availability)
    9562:  ----------------------------------------------------------------------
    9563:  Traceback (most recent call last):
    9564:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9565:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9566:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9567:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9568:  with open(floc, "rb") as f:
    9569:  ^^^^^^^^^^^^^^^^
    9570:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9571:  ======================================================================
    9572:  ERROR: test_ask_analysis_availability__run_all_analyzers (tests.api_app.test_api.ApiViewTests.test_ask_analysis_availability__run_all_analyzers)
    9573:  ----------------------------------------------------------------------
    9574:  Traceback (most recent call last):
    9575:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9576:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9577:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9578:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9579:  with open(floc, "rb") as f:
    9580:  ^^^^^^^^^^^^^^^^
    9581:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9582:  ======================================================================
    9583:  ERROR: test_ask_multi_analysis_availability (tests.api_app.test_api.ApiViewTests.test_ask_multi_analysis_availability)
    9584:  ----------------------------------------------------------------------
    9585:  Traceback (most recent call last):
    9586:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9587:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9588:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9589:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9590:  with open(floc, "rb") as f:
    9591:  ^^^^^^^^^^^^^^^^
    9592:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9593:  ======================================================================
    9594:  ERROR: test_download_sample_200 (tests.api_app.test_api.ApiViewTests.test_download_sample_200)
    9595:  ----------------------------------------------------------------------
    9596:  Traceback (most recent call last):
    9597:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9598:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9599:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9600:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9601:  with open(floc, "rb") as f:
    9602:  ^^^^^^^^^^^^^^^^
    9603:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9604:  ======================================================================
    9605:  ERROR: test_download_sample_400 (tests.api_app.test_api.ApiViewTests.test_download_sample_400)
    9606:  ----------------------------------------------------------------------
    9607:  Traceback (most recent call last):
    9608:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9609:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9610:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9611:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9612:  with open(floc, "rb") as f:
    9613:  ^^^^^^^^^^^^^^^^
    9614:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9615:  ======================================================================
    9616:  ERROR: test_download_sample_404 (tests.api_app.test_api.ApiViewTests.test_download_sample_404)
    9617:  ----------------------------------------------------------------------
    9618:  Traceback (most recent call last):
    9619:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9620:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9621:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9622:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9623:  with open(floc, "rb") as f:
    9624:  ^^^^^^^^^^^^^^^^
    9625:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9626:  ======================================================================
    9627:  ERROR: test_incorrect_tlp (tests.api_app.test_api.ApiViewTests.test_incorrect_tlp)
    9628:  ----------------------------------------------------------------------
    9629:  Traceback (most recent call last):
    9630:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9631:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9632:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9633:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9634:  with open(floc, "rb") as f:
    9635:  ^^^^^^^^^^^^^^^^
    9636:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9637:  ======================================================================
    9638:  ERROR: test_no_analyzers (tests.api_app.test_api.ApiViewTests.test_no_analyzers)
    9639:  ----------------------------------------------------------------------
    9640:  Traceback (most recent call last):
    9641:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9642:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9643:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9644:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9645:  with open(floc, "rb") as f:
    9646:  ^^^^^^^^^^^^^^^^
    9647:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9648:  ======================================================================
    9649:  ERROR: test_tlp_clear_and_white (tests.api_app.test_api.ApiViewTests.test_tlp_clear_and_white)
    9650:  ----------------------------------------------------------------------
    9651:  Traceback (most recent call last):
    9652:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9653:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9654:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9655:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9656:  with open(floc, "rb") as f:
    9657:  ^^^^^^^^^^^^^^^^
    9658:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9659:  ======================================================================
    9660:  FAIL: test_subclasses (tests.api_app.analyzers_manager.test_classes.FileAnalyzerTestCase.test_subclasses)
    9661:  ----------------------------------------------------------------------
    9662:  Traceback (most recent call last):
    9663:  File "/opt/deploy/threat_matrix/tests/api_app/analyzers_manager/test_classes.py", line 169, in test_subclasses
    9664:  self.fail(
    9665:  AssertionError: No valid job found for analyzer APKiD with configuration APKiD
    9666:  ----------------------------------------------------------------------
    9667:  Ran 315 tests in 193.241s
    9668:  FAILED (failures=1, errors=19, skipped=1)
    9669:  Preserving test database for alias 'default'...
    9670:  ##[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 github_actions Pull requests that update GitHub Actions code
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    0 participants