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/upload-artifact from 4.3.1 to 4.4.1 #140

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps actions/upload-artifact from 4.3.1 to 4.4.1.

Release notes

Sourced from actions/upload-artifact's releases.

v4.4.1

What's Changed

New Contributors

Full Changelog: actions/upload-artifact@v4.4.0...v4.4.1

v4.4.0

Notice: Breaking Changes ⚠️

We will no longer include hidden files and folders by default in the upload-artifact action of this version. This reduces the risk that credentials are accidentally uploaded into artifacts. Customers who need to continue to upload these files can use a new option, include-hidden-files, to continue to do so.

See "Notice of upcoming deprecations and breaking changes in GitHub Actions runners" changelog and this issue for more details.

What's Changed

Full Changelog: actions/upload-artifact@v4.3.6...v4.4.0

v4.3.6

What's Changed

Full Changelog: actions/upload-artifact@v4...v4.3.6

v4.3.5

What's Changed

Full Changelog: actions/upload-artifact@v4.3.4...v4.3.5

v4.3.4

What's Changed

Full Changelog: actions/upload-artifact@v4.3.3...v4.3.4

v4.3.3

What's Changed

... (truncated)

Commits
  • 604373d Merge pull request #625 from actions/robherley/artifact-2.1.10
  • 0150148 paste right core version
  • a009b25 update licenses
  • 9f6f6f4 update @​actions/core and @​actions/artifact to latest versions
  • 3eadd8b Merge pull request #621 from actions/Jcambass-patch-1
  • aeba9f7 Add workflow file for publishing releases to immutable action package
  • b18b1d3 Merge pull request #607 from actions/joshmgross/hidden-files-readme
  • d7c1207 Add a section about hidden files
  • 5076954 Merge pull request #598 from actions/joshmgross/exclude-hidden-files
  • d52396a Add a warning about enabling include-hidden-files
  • 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/upload-artifact GitHub Action from version 4.3.1 to 4.4.1 in the CI workflow, incorporating changes like default exclusion of hidden files and updates to dependencies.

CI:

  • Update the GitHub Actions workflow to use actions/upload-artifact version 4.4.1, which includes changes such as excluding hidden files by default and updates to the @actions/artifact dependency.

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.1 to 4.4.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@5d5d22a...604373d)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  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/upload-artifact GitHub Action from version 4.3.1 to 4.4.1 in the scorecard.yml workflow file. The update includes several improvements and changes, most notably the exclusion of hidden files by default in version 4.4.0.

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

File-Level Changes

Change Details Files
Update actions/upload-artifact to version 4.4.1
  • Bump actions/upload-artifact from 4.3.1 to 4.4.1
  • Update commit hash for the new version
  • Exclude hidden files by default (introduced in v4.4.0)
  • Add option to include hidden files with 'include-hidden-files' parameter
  • Update @actions/artifact to latest version, including symlink and timeout fixes
  • Improve documentation about hidden files
.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..4103d97. 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: tests.api_app.analyzers_manager.test_classes.FileAnalyzerTestCase.test_subclasses

Failure summary:

The action failed due to multiple reasons:

  • Several tests in the tests.api_app.test_api.ApiViewTests failed because the file test_files/file.exe
    could not be found, resulting in FileNotFoundError.
  • The test tests.api_app.analyzers_manager.test_classes.FileAnalyzerTestCase.test_subclasses failed
    with an AssertionError due to no valid job found for analyzer APKiD with configuration APKiD.
  • There were 19 errors and 1 failure in total, causing the test suite to fail.

  • Relevant error logs:
    1:  ##[group]Operating System
    2:  Ubuntu
    ...
    
    2172:  #15 8.300 Checking optional features...
    2173:  #15 8.300 inc_bundling_support....disabled
    2174:  #15 8.300   requires:
    2175:  #15 8.300     ! inc::latest is not installed
    2176:  #15 8.300 license_creation........disabled
    2177:  #15 8.300   requires:
    2178:  #15 8.300     ! Software::License is not installed
    2179:  #15 8.300 
    2180:  #15 8.300 ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
    ...
    
    2250:  #15 9.250     !  Email::MIME is not installed
    2251:  #15 9.250     !  Email::MIME::ContentType is not installed
    2252:  #15 9.250     !  Email::Sender is not installed
    2253:  #15 9.250     !  Email::Simple is not installed
    2254:  #15 9.250     !  IO::All is not installed
    2255:  #15 9.250     !  IO::String is not installed
    2256:  #15 9.250     !  OLE::Storage_Lite is not installed
    2257:  #15 9.250 
    2258:  #15 9.250 ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
    ...
    
    3534:  #15 20.82 Warning: prerequisite Capture::Tiny 0.08 not found.
    3535:  #15 20.82 Warning: prerequisite Email::Abstract 3.006 not found.
    3536:  #15 20.82 Warning: prerequisite Moo 2.000000 not found.
    3537:  #15 20.82 Warning: prerequisite Moo::Role 0 not found.
    3538:  #15 20.83 Warning: prerequisite MooX::Types::MooseLike 0.15 not found.
    3539:  #15 20.83 Warning: prerequisite MooX::Types::MooseLike::Base 0 not found.
    3540:  #15 20.83 Warning: prerequisite Sub::Exporter 0 not found.
    3541:  #15 20.83 Warning: prerequisite Sub::Exporter::Util 0 not found.
    3542:  #15 20.83 Warning: prerequisite Throwable::Error 0.200003 not found.
    ...
    
    3554:  #15 20.95     Capture::Tiny [build_requires]
    3555:  #15 20.95     Email::Abstract [requires]
    3556:  #15 20.95     Moo [requires]
    3557:  #15 20.95     Moo::Role [requires]
    3558:  #15 20.95     MooX::Types::MooseLike [requires]
    3559:  #15 20.95     MooX::Types::MooseLike::Base [requires]
    3560:  #15 20.95     Sub::Exporter [requires]
    3561:  #15 20.95     Sub::Exporter::Util [requires]
    3562:  #15 20.95     Throwable::Error [requires]
    ...
    
    4590:  #14 40.16 "@babel/plugin-proposal-private-property-in-object" package without
    4591:  #14 40.16 declaring it in its dependencies. This is currently working because
    4592:  #14 40.16 "@babel/plugin-proposal-private-property-in-object" is already in your
    4593:  #14 40.16 node_modules folder for unrelated reasons, but it �[1mmay break at any time�[0;33m.
    4594:  #14 40.16 
    4595:  #14 40.16 babel-preset-react-app is part of the create-react-app project, �[1mwhich
    4596:  #14 40.16 is not maintianed anymore�[0;33m. It is thus unlikely that this bug will
    4597:  #14 40.16 ever be fixed. Add "@babel/plugin-proposal-private-property-in-object" to
    4598:  #14 40.16 your devDependencies to work around this error. This will make this message
    ...
    
    5282:  #15 45.16 Installing /usr/local/man/man3/Sub::Exporter::Cookbook.3pm
    5283:  #15 45.16 Installing /usr/local/man/man3/Sub::Exporter.3pm
    5284:  #15 45.16 Installing /usr/local/man/man3/Sub::Exporter::Util.3pm
    5285:  #15 45.16 Installing /usr/local/man/man3/Sub::Exporter::Tutorial.3pm
    5286:  #15 45.17 Appending installation info to /usr/local/lib/x86_64-linux-gnu/perl/5.36.0/perllocal.pod
    5287:  #15 45.19   RJBS/Sub-Exporter-0.991.tar.gz
    5288:  #15 45.19   /usr/bin/make install  -- OK
    5289:  #15 45.19 Sub::Exporter::Util is up to date (0.991).
    5290:  #15 45.19 Running install for module 'Throwable::Error'
    ...
    
    5399:  #15 46.47   /usr/bin/make install  -- OK
    5400:  #15 46.47   RJBS/Throwable-1.001.tar.gz
    5401:  #15 46.47   Has already been unwrapped into directory /root/.cpan/build/Throwable-1.001-0
    5402:  #15 46.47   RJBS/Throwable-1.001.tar.gz
    5403:  #15 46.47   Has already been prepared
    5404:  #15 46.47 Running make for R/RJ/RJBS/Throwable-1.001.tar.gz
    5405:  #15 46.65 cp lib/Throwable.pm blib/lib/Throwable.pm
    5406:  #15 46.65 cp lib/StackTrace/Auto.pm blib/lib/StackTrace/Auto.pm
    5407:  #15 46.65 cp lib/Throwable/Error.pm blib/lib/Throwable/Error.pm
    ...
    
    5409:  #15 46.72   RJBS/Throwable-1.001.tar.gz
    5410:  #15 46.72   /usr/bin/make -- OK
    5411:  #15 46.72   RJBS/Throwable-1.001.tar.gz
    5412:  #15 46.72   Skipping test because of notest pragma
    5413:  #15 46.72 Running make install for RJBS/Throwable-1.001.tar.gz
    5414:  #15 46.78 Manifying 3 pod documents
    5415:  #15 46.81 Installing /usr/local/share/perl/5.36.0/Throwable.pm
    5416:  #15 46.81 Installing /usr/local/share/perl/5.36.0/StackTrace/Auto.pm
    5417:  #15 46.81 Installing /usr/local/share/perl/5.36.0/Throwable/Error.pm
    5418:  #15 46.81 Installing /usr/local/man/man3/Throwable::Error.3pm
    ...
    
    7774:  #19 111.1   Attempting uninstall: prometheus-client
    7775:  #19 111.1     Found existing installation: prometheus_client 0.21.0
    7776:  #19 111.1     Uninstalling prometheus_client-0.21.0:
    7777:  #19 111.1       Successfully uninstalled prometheus_client-0.21.0
    7778:  #19 111.3   Attempting uninstall: cachetools
    7779:  #19 111.3     Found existing installation: cachetools 5.5.0
    7780:  #19 111.3     Uninstalling cachetools-5.5.0:
    7781:  #19 111.3       Successfully uninstalled cachetools-5.5.0
    7782:  #19 111.5 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.
    ...
    
    7866:  #19 113.9   Stored in directory: /tmp/pip-ephem-wheel-cache-sxo38i3k/wheels/0f/fe/56/6cba6eafbb252c805af7616631ef63d8e0790c958b1bd86c63
    7867:  #19 113.9 Successfully built drf-flex-fields
    7868:  #19 114.1 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
    7869:  #19 115.4 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
    7870:  #19 115.4 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.
    7871:  #19 DONE 117.6s
    7872:  #20 [uwsgi backend-build  9/10] COPY . /opt/deploy/threat_matrix
    7873:  #20 DONE 0.2s
    7874:  #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
    ...
    
    7920:  #28 extracting sha256:b3ee43e51ca6c92d08e40eaf4d7dbc50444ba57c1a200c437a3c86e5a7631ba6 done
    7921:  #28 extracting sha256:b17a9d410da1886001947f5f826043292df395277cb23e17970f5b82a6b486ed done
    7922:  #28 extracting sha256:542e3e75411d1223efe21092951a0b87b85cb4377accf8f360d635d23dea72a9 done
    7923:  #28 extracting sha256:2b2faad386dfd2da1e19aa6e0d91d428b849181de439c0b289f383816c812304 done
    7924:  #28 extracting sha256:a5e22afba545a92d46609059fe9fe2b90028b9f3fb7c78be28cb6d4ed9e53fd3 done
    7925:  #28 extracting sha256:fb923a41dc10df4d74119907e9112426c8e0e2ce3d6851c4e2dcfb7e0765861b 0.1s
    7926:  #28 extracting sha256:fb923a41dc10df4d74119907e9112426c8e0e2ce3d6851c4e2dcfb7e0765861b 0.2s done
    7927:  #28 DONE 0.9s
    7928:  #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
    ...
    
    8022:  Applying contenttypes.0001_initial... OK
    8023:  Applying contenttypes.0002_remove_content_type_name... OK
    8024:  Applying auth.0001_initial... OK
    8025:  Applying auth.0002_alter_permission_name_max_length... OK
    8026:  Applying auth.0003_alter_user_email_max_length... OK
    8027:  Applying auth.0004_alter_user_username_opts... OK
    8028:  Applying auth.0005_alter_user_last_login_null... OK
    8029:  Applying auth.0006_require_contenttypes_0002... OK
    8030:  Applying auth.0007_alter_validators_add_error_messages... OK
    ...
    
    8172:  [--number-of-releases [NUMBER_OF_RELEASES]]
    8173:  [--debug | --no-debug] [--version]
    8174:  [-v {0,1,2,3}] [--settings SETTINGS]
    8175:  [--pythonpath PYTHONPATH]
    8176:  [--traceback] [--no-color]
    8177:  [--force-color] [--skip-checks]
    8178:  path
    8179:  {ACCOUNTS,DRAGONFLY,INTELOWL,QUOKKA_PUBLIC,QUOKKA}
    8180:  manage.py changelog_notification: error: argument appname: invalid choice: 'THREATMATRIX' (choose from 'ACCOUNTS', 'DRAGONFLY', 'INTELOWL', 'QUOKKA_PUBLIC', 'QUOKKA')
    ...
    
    9016:  test_delete (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_delete) ... ok-dokey (0.018165s)
    9017:  test_get (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_get) ... ok-dokey (0.066084s)
    9018:  test_get_non_existent (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_get_non_existent) ... ok-dokey (0.012940s)
    9019:  test_health_check (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_health_check) ... ok-dokey (0.119316s)
    9020:  test_list (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_list) ... ok-dokey (0.597928s)
    9021:  test_organization_disable (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_organization_disable) ... ok-dokey (0.178399s)
    9022:  test_organization_enable (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_organization_enable) ... ok-dokey (0.233341s)
    9023:  test_pull (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_pull) ... ok-dokey (17.912394s)
    9024:  {'errors': {'detail': 'This Plugin has no Update implemented'}}
    ...
    
    9129:  test_get (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_get) ... ok-dokey (0.131490s)
    9130:  test_get_non_existent (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_get_non_existent) ... ok-dokey (0.022805s)
    9131:  test_list (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_list) ... ok-dokey (0.466903s)
    9132:  test_organization_disable (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_organization_disable) ... ok-dokey (0.605225s)
    9133:  test_organization_enable (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_organization_enable) ... ok-dokey (0.416735s)
    9134:  test_update (tests.api_app.playbooks_manager.test_views.PlaybookConfigViewSetTestCase.test_update) ... ok-dokey (0.099458s)
    9135:  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.082580s)
    9136:  test_python_path (tests.api_app.test_classes.PluginTestCase.test_python_path) ... ok-dokey (0.065464s)
    9137:  test_start_errors (tests.api_app.test_classes.PluginTestCase.test_start_errors) ... Traceback (most recent call last):
    9138:  File "/opt/deploy/threat_matrix/api_app/classes.py", line 297, in start
    9139:  _result = self.run()
    9140:  ^^^^^^^^^^
    9141:  File "/opt/deploy/threat_matrix/tests/api_app/test_classes.py", line 57, in raise_error
    9142:  raise TypeError("Test")
    9143:  TypeError: Test
    9144:  ok-dokey (0.176264s)
    9145:  test_start_no_errors (tests.api_app.test_classes.PluginTestCase.test_start_no_errors) ... ok-dokey (0.156074s)
    ...
    
    9244:  test_get (tests.api_app.test_views.PluginConfigViewSetTestCase.test_get) ... ok-dokey (32.571149s)
    9245:  test_list (tests.api_app.test_views.PluginConfigViewSetTestCase.test_list) ... ok-dokey (31.364725s)
    9246:  test_create_201 (tests.api_app.test_views.TagViewsetTests.test_create_201) ... ok-dokey (0.022165s)
    9247:  test_create_400 (tests.api_app.test_views.TagViewsetTests.test_create_400) ... ok-dokey (0.016510s)
    9248:  test_delete_204 (tests.api_app.test_views.TagViewsetTests.test_delete_204) ... ok-dokey (0.032429s)
    9249:  test_list_200 (tests.api_app.test_views.TagViewsetTests.test_list_200) ... ok-dokey (0.014472s)
    9250:  test_retrieve_200 (tests.api_app.test_views.TagViewsetTests.test_retrieve_200) ... ok-dokey (0.014894s)
    9251:  test_update_200 (tests.api_app.test_views.TagViewsetTests.test_update_200) ... ok-dokey (0.023593s)
    9252:  test_with_error (tests.api_app.visualizers_manager.test_classes.ErrorHandlerTestCase.test_with_error) ... ok-dokey (0.000257s)
    9253:  test_without_error (tests.api_app.visualizers_manager.test_classes.ErrorHandlerTestCase.test_without_error) ... ok-dokey (0.000160s)
    ...
    
    9334:  test_yara_updater (tests.test_crons.CronTests.test_yara_updater) ... ok-dokey (9.020066s)
    9335:  test_validate_playbook_to_execute (tests.test_interfaces.CreateJobsFromPlaybookInterfaceTestCase.test_validate_playbook_to_execute) ... ok-dokey (0.079617s)
    9336:  test_job_killed (tests.api_app.test_websocket.JobConsumerTestCase.test_job_killed) ... ok-dokey (4.444145s)
    9337:  test_job_not_exist (tests.api_app.test_websocket.JobConsumerTestCase.test_job_not_exist) ... ok-dokey (0.033637s)
    9338:  test_job_running (tests.api_app.test_websocket.JobConsumerTestCase.test_job_running) ... ok-dokey (6.649658s)
    9339:  test_job_terminated (tests.api_app.test_websocket.JobConsumerTestCase.test_job_terminated) ... ok-dokey (0.167371s)
    9340:  test_job_unauthorized (tests.api_app.test_websocket.JobConsumerTestCase.test_job_unauthorized) ... ok-dokey (0.026364s)
    9341:  ======================================================================
    9342:  ERROR: test_create_job_multiple_file (tests.api_app.pivots_manager.test_models.PivotConfigTestCase.test_create_job_multiple_file)
    9343:  ----------------------------------------------------------------------
    9344:  Traceback (most recent call last):
    9345:  File "/opt/deploy/threat_matrix/tests/api_app/pivots_manager/test_models.py", line 88, in test_create_job_multiple_file
    9346:  with open("test_files/file.exe", "rb") as f:
    9347:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9348:  FileNotFoundError: [Errno 2] No such file or directory: 'test_files/file.exe'
    9349:  ======================================================================
    9350:  ERROR: test_analyze_file__exe (tests.api_app.test_api.ApiViewTests.test_analyze_file__exe)
    9351:  ----------------------------------------------------------------------
    9352:  Traceback (most recent call last):
    9353:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9354:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9355:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9356:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9357:  with open(floc, "rb") as f:
    9358:  ^^^^^^^^^^^^^^^^
    9359:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9360:  ======================================================================
    9361:  ERROR: test_analyze_file__guess_optional (tests.api_app.test_api.ApiViewTests.test_analyze_file__guess_optional)
    9362:  ----------------------------------------------------------------------
    9363:  Traceback (most recent call last):
    9364:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9365:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9366:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9367:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9368:  with open(floc, "rb") as f:
    9369:  ^^^^^^^^^^^^^^^^
    9370:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9371:  ======================================================================
    9372:  ERROR: test_analyze_file__pcap (tests.api_app.test_api.ApiViewTests.test_analyze_file__pcap)
    9373:  ----------------------------------------------------------------------
    9374:  Traceback (most recent call last):
    9375:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9376:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9377:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9378:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9379:  with open(floc, "rb") as f:
    9380:  ^^^^^^^^^^^^^^^^
    9381:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9382:  ======================================================================
    9383:  ERROR: test_analyze_multiple_files__exe (tests.api_app.test_api.ApiViewTests.test_analyze_multiple_files__exe)
    9384:  ----------------------------------------------------------------------
    9385:  Traceback (most recent call last):
    9386:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9387:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9388:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9389:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9390:  with open(floc, "rb") as f:
    9391:  ^^^^^^^^^^^^^^^^
    9392:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9393:  ======================================================================
    9394:  ERROR: test_analyze_multiple_files__guess_optional (tests.api_app.test_api.ApiViewTests.test_analyze_multiple_files__guess_optional)
    9395:  ----------------------------------------------------------------------
    9396:  Traceback (most recent call last):
    9397:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9398:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9399:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9400:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9401:  with open(floc, "rb") as f:
    9402:  ^^^^^^^^^^^^^^^^
    9403:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9404:  ======================================================================
    9405:  ERROR: test_analyze_multiple_observables (tests.api_app.test_api.ApiViewTests.test_analyze_multiple_observables)
    9406:  ----------------------------------------------------------------------
    9407:  Traceback (most recent call last):
    9408:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9409:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9410:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9411:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9412:  with open(floc, "rb") as f:
    9413:  ^^^^^^^^^^^^^^^^
    9414:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9415:  ======================================================================
    9416:  ERROR: test_analyze_observable__domain (tests.api_app.test_api.ApiViewTests.test_analyze_observable__domain)
    9417:  ----------------------------------------------------------------------
    9418:  Traceback (most recent call last):
    9419:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9420:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9421:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9422:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9423:  with open(floc, "rb") as f:
    9424:  ^^^^^^^^^^^^^^^^
    9425:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9426:  ======================================================================
    9427:  ERROR: test_analyze_observable__guess_optional (tests.api_app.test_api.ApiViewTests.test_analyze_observable__guess_optional)
    9428:  ----------------------------------------------------------------------
    9429:  Traceback (most recent call last):
    9430:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9431:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9432:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9433:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9434:  with open(floc, "rb") as f:
    9435:  ^^^^^^^^^^^^^^^^
    9436:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9437:  ======================================================================
    9438:  ERROR: test_analyze_observable__ip (tests.api_app.test_api.ApiViewTests.test_analyze_observable__ip)
    9439:  ----------------------------------------------------------------------
    9440:  Traceback (most recent call last):
    9441:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9442:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9443:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9444:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9445:  with open(floc, "rb") as f:
    9446:  ^^^^^^^^^^^^^^^^
    9447:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9448:  ======================================================================
    9449:  ERROR: test_ask_analysis_availability (tests.api_app.test_api.ApiViewTests.test_ask_analysis_availability)
    9450:  ----------------------------------------------------------------------
    9451:  Traceback (most recent call last):
    9452:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9453:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9454:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9455:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9456:  with open(floc, "rb") as f:
    9457:  ^^^^^^^^^^^^^^^^
    9458:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9459:  ======================================================================
    9460:  ERROR: test_ask_analysis_availability__run_all_analyzers (tests.api_app.test_api.ApiViewTests.test_ask_analysis_availability__run_all_analyzers)
    9461:  ----------------------------------------------------------------------
    9462:  Traceback (most recent call last):
    9463:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9464:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9465:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9466:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9467:  with open(floc, "rb") as f:
    9468:  ^^^^^^^^^^^^^^^^
    9469:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9470:  ======================================================================
    9471:  ERROR: test_ask_multi_analysis_availability (tests.api_app.test_api.ApiViewTests.test_ask_multi_analysis_availability)
    9472:  ----------------------------------------------------------------------
    9473:  Traceback (most recent call last):
    9474:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9475:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9476:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9477:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9478:  with open(floc, "rb") as f:
    9479:  ^^^^^^^^^^^^^^^^
    9480:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9481:  ======================================================================
    9482:  ERROR: test_download_sample_200 (tests.api_app.test_api.ApiViewTests.test_download_sample_200)
    9483:  ----------------------------------------------------------------------
    9484:  Traceback (most recent call last):
    9485:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9486:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9487:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9488:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9489:  with open(floc, "rb") as f:
    9490:  ^^^^^^^^^^^^^^^^
    9491:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9492:  ======================================================================
    9493:  ERROR: test_download_sample_400 (tests.api_app.test_api.ApiViewTests.test_download_sample_400)
    9494:  ----------------------------------------------------------------------
    9495:  Traceback (most recent call last):
    9496:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9497:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9498:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9499:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9500:  with open(floc, "rb") as f:
    9501:  ^^^^^^^^^^^^^^^^
    9502:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9503:  ======================================================================
    9504:  ERROR: test_download_sample_404 (tests.api_app.test_api.ApiViewTests.test_download_sample_404)
    9505:  ----------------------------------------------------------------------
    9506:  Traceback (most recent call last):
    9507:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9508:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9509:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9510:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9511:  with open(floc, "rb") as f:
    9512:  ^^^^^^^^^^^^^^^^
    9513:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9514:  ======================================================================
    9515:  ERROR: test_incorrect_tlp (tests.api_app.test_api.ApiViewTests.test_incorrect_tlp)
    9516:  ----------------------------------------------------------------------
    9517:  Traceback (most recent call last):
    9518:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9519:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9520:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9521:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9522:  with open(floc, "rb") as f:
    9523:  ^^^^^^^^^^^^^^^^
    9524:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9525:  ======================================================================
    9526:  ERROR: test_no_analyzers (tests.api_app.test_api.ApiViewTests.test_no_analyzers)
    9527:  ----------------------------------------------------------------------
    9528:  Traceback (most recent call last):
    9529:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9530:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9531:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9532:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9533:  with open(floc, "rb") as f:
    9534:  ^^^^^^^^^^^^^^^^
    9535:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9536:  ======================================================================
    9537:  ERROR: test_tlp_clear_and_white (tests.api_app.test_api.ApiViewTests.test_tlp_clear_and_white)
    9538:  ----------------------------------------------------------------------
    9539:  Traceback (most recent call last):
    9540:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 23, in setUp
    9541:  self.uploaded_file, self.file_md5 = self.__get_test_file("file.exe")
    9542:  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    9543:  File "/opt/deploy/threat_matrix/tests/api_app/test_api.py", line 80, in __get_test_file
    9544:  with open(floc, "rb") as f:
    9545:  ^^^^^^^^^^^^^^^^
    9546:  FileNotFoundError: [Errno 2] No such file or directory: '/opt/deploy/threat_matrix/test_files/file.exe'
    9547:  ======================================================================
    9548:  FAIL: test_subclasses (tests.api_app.analyzers_manager.test_classes.FileAnalyzerTestCase.test_subclasses)
    9549:  ----------------------------------------------------------------------
    9550:  Traceback (most recent call last):
    9551:  File "/opt/deploy/threat_matrix/tests/api_app/analyzers_manager/test_classes.py", line 169, in test_subclasses
    9552:  self.fail(
    9553:  AssertionError: No valid job found for analyzer APKiD with configuration APKiD
    9554:  ----------------------------------------------------------------------
    9555:  Ran 315 tests in 184.487s
    9556:  FAILED (failures=1, errors=19, skipped=1)
    9557:  Preserving test database for alias 'default'...
    9558:  ##[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 15, 2024

    Superseded by #142.

    @dependabot dependabot bot closed this Oct 15, 2024
    @dependabot dependabot bot deleted the dependabot/github_actions/develop/actions/upload-artifact-4.4.1 branch October 15, 2024 05:24
    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