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.6.0 #212

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 14, 2025

Bumps actions/upload-artifact from 4.3.1 to 4.6.0.

Release notes

Sourced from actions/upload-artifact's releases.

v4.6.0

What's Changed

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

v4.5.0

What's Changed

New Contributors

Full Changelog: actions/upload-artifact@v4.4.3...v4.5.0

v4.4.3

What's Changed

Full Changelog: actions/upload-artifact@v4.4.2...v4.4.3

v4.4.2

What's Changed

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

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.

... (truncated)

Commits
  • 65c4c4a Merge pull request #662 from actions/yacaovsnc/add_variable_for_concurrency_a...
  • 0207619 move files back to satisfy licensed ci
  • 1ecca81 licensed cache updates
  • 9742269 Expose env vars to controll concurrency and timeout
  • 6f51ac0 Merge pull request #656 from bdehamer/bdehamer/artifact-digest
  • c40c16d add new artifact-digest output
  • 735efb4 bump @​actions/artifact from 2.1.11 to 2.2.0
  • 184d73b Merge pull request #578 from hamirmahal/fix/deprecated-nodejs-usage-in-action
  • b4a0a98 Merge branch 'main' into fix/deprecated-nodejs-usage-in-action
  • b4b15b8 Merge pull request #632 from actions/joshmgross/undo-dependency-changes
  • 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

CI:

  • Update the upload-artifact action in the scorecard workflow to v4.6.0.

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

sourcery-ai bot commented Jan 14, 2025

Reviewer's Guide by Sourcery

This pull request updates the actions/upload-artifact GitHub Action from version 4.3.1 to 4.6.0 in the scorecard.yml workflow file. This change introduces new environment variables to control concurrency and timeout, a new artifact-digest output, and addresses deprecated Node.js usage, hidden file handling, and symlink/timeout issues.

Flow diagram for updated artifact upload behavior

flowchart TD
    Start([Start Upload]) --> Hidden{Include Hidden Files?}
    Hidden -->|Yes| Config[Configure include-hidden-files]
    Hidden -->|No| Upload[Upload Files]
    Config --> Upload
    Upload --> Digest[Generate artifact-digest]
    Digest --> Complete([Complete])
Loading

File-Level Changes

Change Details Files
Updated the GitHub Action to upload artifacts
  • Updated the actions/upload-artifact action from version 4.3.1 to 4.6.0.
.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

coderabbitai bot commented Jan 14, 2025

Important

Review skipped

Bot user detected.

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

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


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

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

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

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

CodeRabbit Commands (Invoked using PR comments)

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

Other keywords and placeholders

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

CodeRabbit Configuration File (.coderabbit.yaml)

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

Documentation and Community

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

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!

@gitworkflows
Copy link
Contributor

gitworkflows commented Jan 14, 2025

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

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

Copy link

deepsource-io bot commented Jan 14, 2025

Here's the code health analysis summary for commits 65b16c4..a450d52. View details on DeepSource ↗.

Analysis Summary

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

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

@dependabot dependabot bot force-pushed the dependabot/github_actions/develop/actions/upload-artifact-4.6.0 branch from ca838f4 to 27bc17a Compare February 5, 2025 18:06
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.1 to 4.6.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@5d5d22a...65c4c4a)

---
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 force-pushed the dependabot/github_actions/develop/actions/upload-artifact-4.6.0 branch from 27bc17a to a450d52 Compare February 5, 2025 18:07
Copy link
Contributor

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

CI Feedback 🧐

(Feedback updated until commit a450d52)

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

Action: backend-tests

Failed stage: Run test [❌]

Failed test name: test_min_password_lenght_400

Failure summary:

The test suite failed due to a failing test case 'test_min_password_lenght_400' in TestUserAuth
class. The test expected a 'password' key in the error response content but it was missing, causing
a KeyError. This indicates an issue with password validation error handling in the authentication
system.

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

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

2329:  #15 9.216 Checking optional features...
2330:  #15 9.216 inc_bundling_support....disabled
2331:  #15 9.216   requires:
2332:  #15 9.216     ! inc::latest is not installed
2333:  #15 9.216 license_creation........disabled
2334:  #15 9.216   requires:
2335:  #15 9.216     ! Software::License is not installed
2336:  #15 9.216 
2337:  #15 9.216 ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
...

2416:  #15 10.23     !  Email::MIME is not installed
2417:  #15 10.23     !  Email::MIME::ContentType is not installed
2418:  #15 10.23     !  Email::Sender is not installed
2419:  #15 10.23     !  Email::Simple is not installed
2420:  #15 10.23     !  IO::All is not installed
2421:  #15 10.23     !  IO::String is not installed
2422:  #15 10.23     !  OLE::Storage_Lite is not installed
2423:  #15 10.23 
2424:  #15 10.23 ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
...

3376:  #14 35.24 "@babel/plugin-proposal-private-property-in-object" package without
3377:  #14 35.24 declaring it in its dependencies. This is currently working because
3378:  #14 35.24 "@babel/plugin-proposal-private-property-in-object" is already in your
3379:  #14 35.24 node_modules folder for unrelated reasons, but it �[1mmay break at any time�[0;33m.
3380:  #14 35.24 
3381:  #14 35.24 babel-preset-react-app is part of the create-react-app project, �[1mwhich
3382:  #14 35.24 is not maintianed anymore�[0;33m. It is thus unlikely that this bug will
3383:  #14 35.24 ever be fixed. Add "@babel/plugin-proposal-private-property-in-object" to
3384:  #14 35.24 your devDependencies to work around this error. This will make this message
...

3725:  #15 20.67 Warning: prerequisite Capture::Tiny 0.08 not found.
3726:  #15 20.67 Warning: prerequisite Email::Abstract 3.006 not found.
3727:  #15 20.67 Warning: prerequisite Moo 2.000000 not found.
3728:  #15 20.67 Warning: prerequisite Moo::Role 0 not found.
3729:  #15 20.67 Warning: prerequisite MooX::Types::MooseLike 0.15 not found.
3730:  #15 20.67 Warning: prerequisite MooX::Types::MooseLike::Base 0 not found.
3731:  #15 20.67 Warning: prerequisite Sub::Exporter 0 not found.
3732:  #15 20.67 Warning: prerequisite Sub::Exporter::Util 0 not found.
3733:  #15 20.67 Warning: prerequisite Throwable::Error 0.200003 not found.
...

3745:  #15 20.82     Capture::Tiny [build_requires]
3746:  #15 20.82     Email::Abstract [requires]
3747:  #15 20.82     Moo [requires]
3748:  #15 20.82     Moo::Role [requires]
3749:  #15 20.82     MooX::Types::MooseLike [requires]
3750:  #15 20.82     MooX::Types::MooseLike::Base [requires]
3751:  #15 20.82     Sub::Exporter [requires]
3752:  #15 20.82     Sub::Exporter::Util [requires]
3753:  #15 20.82     Throwable::Error [requires]
...

5499:  #15 46.04 Installing /usr/local/man/man3/Sub::Exporter::Cookbook.3pm
5500:  #15 46.04 Installing /usr/local/man/man3/Sub::Exporter::Tutorial.3pm
5501:  #15 46.04 Installing /usr/local/man/man3/Sub::Exporter.3pm
5502:  #15 46.04 Installing /usr/local/man/man3/Sub::Exporter::Util.3pm
5503:  #15 46.05 Appending installation info to /usr/local/lib/x86_64-linux-gnu/perl/5.36.0/perllocal.pod
5504:  #15 46.07   RJBS/Sub-Exporter-0.991.tar.gz
5505:  #15 46.07   /usr/bin/make install  -- OK
5506:  #15 46.07 Sub::Exporter::Util is up to date (0.991).
5507:  #15 46.07 Running install for module 'Throwable::Error'
...

5615:  #15 47.31   DROLSKY/Devel-StackTrace-2.05.tar.gz
5616:  #15 47.31   /usr/bin/make install  -- OK
5617:  #15 47.31   RJBS/Throwable-1.001.tar.gz
5618:  #15 47.31   Has already been unwrapped into directory /root/.cpan/build/Throwable-1.001-0
5619:  #15 47.31   RJBS/Throwable-1.001.tar.gz
5620:  #15 47.31   Has already been prepared
5621:  #15 47.31 Running make for R/RJ/RJBS/Throwable-1.001.tar.gz
5622:  #15 47.53 cp lib/StackTrace/Auto.pm blib/lib/StackTrace/Auto.pm
5623:  #15 47.53 cp lib/Throwable/Error.pm blib/lib/Throwable/Error.pm
...

5626:  #15 47.60   RJBS/Throwable-1.001.tar.gz
5627:  #15 47.60   /usr/bin/make -- OK
5628:  #15 47.60   RJBS/Throwable-1.001.tar.gz
5629:  #15 47.60   Skipping test because of notest pragma
5630:  #15 47.60 Running make install for RJBS/Throwable-1.001.tar.gz
5631:  #15 47.67 Manifying 3 pod documents
5632:  #15 47.71 Installing /usr/local/share/perl/5.36.0/Throwable.pm
5633:  #15 47.71 Installing /usr/local/share/perl/5.36.0/StackTrace/Auto.pm
5634:  #15 47.71 Installing /usr/local/share/perl/5.36.0/Throwable/Error.pm
5635:  #15 47.71 Installing /usr/local/man/man3/StackTrace::Auto.3pm
5636:  #15 47.71 Installing /usr/local/man/man3/Throwable::Error.3pm
...

8029:  #19 107.1   Attempting uninstall: prometheus-client
8030:  #19 107.1     Found existing installation: prometheus_client 0.21.1
8031:  #19 107.1     Uninstalling prometheus_client-0.21.1:
8032:  #19 107.1       Successfully uninstalled prometheus_client-0.21.1
8033:  #19 107.2   Attempting uninstall: cachetools
8034:  #19 107.2     Found existing installation: cachetools 5.5.1
8035:  #19 107.2     Uninstalling cachetools-5.5.1:
8036:  #19 107.2       Successfully uninstalled cachetools-5.5.1
8037:  #19 107.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.
...

8124:  #19 109.6   Stored in directory: /tmp/pip-ephem-wheel-cache-ny53pnud/wheels/0f/fe/56/6cba6eafbb252c805af7616631ef63d8e0790c958b1bd86c63
8125:  #19 109.6 Successfully built drf-flex-fields
8126:  #19 109.9 Installing collected packages: drf-flex-fields, ua-parser-builtins, slack-sdk, python-ipware, oauthlib, Markdown, django-cache-memoize, ua-parser, stripe, requests-oauthlib, django-ipware, user-agents, python-twitter, drf-recaptcha, django-rest-durin, django-user-agents, certego-saas
8127:  #19 111.3 Successfully installed Markdown-3.3.7 certego-saas-0.7.11 django-cache-memoize-0.2.1 django-ipware-7.0.1 django-rest-durin-1.0.0 django-user-agents-0.4.0 drf-flex-fields-1.0.2 drf-recaptcha-4.0.2 oauthlib-3.2.2 python-ipware-3.0.0 python-twitter-3.5 requests-oauthlib-2.0.0 slack-sdk-3.34.0 stripe-11.5.0 ua-parser-1.0.1 ua-parser-builtins-0.18.0.post1 user-agents-2.2.0
8128:  #19 111.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.
8129:  #19 DONE 113.3s
8130:  #20 [uwsgi backend-build  9/10] COPY . /opt/deploy/threat_matrix
8131:  #20 DONE 0.2s
8132:  #21 [uwsgi backend-build 10/10] RUN touch /var/log/threat_matrix/django/api_app.log /var/log/threat_matrix/django/api_app_errors.log     && touch /var/log/threat_matrix/django/threat_matrix.log /var/log/threat_matrix/django/threat_matrix_errors.log     && touch /var/log/threat_matrix/django/celery.log /var/log/threat_matrix/django/celery_errors.log     && touch /var/log/threat_matrix/django/django_auth_ldap.log /var/log/threat_matrix/django/django_errors.log     && touch /var/log/threat_matrix/django/certego_saas.log /var/log/threat_matrix/django/certego_saas_errors.log     && touch /var/log/threat_matrix/django/authentication.log /var/log/threat_matrix/django/authentication_errors.log     && touch /var/log/threat_matrix/asgi/daphne.log     && chown -R www-data:www-data /var/log/threat_matrix /opt/deploy/     && /opt/deploy/threat_matrix/docker/scripts/watchman_install.sh     && /opt/deploy/threat_matrix/api_app/analyzers_manager/repo_downloader.sh
...

8178:  #28 extracting sha256:b3ee43e51ca6c92d08e40eaf4d7dbc50444ba57c1a200c437a3c86e5a7631ba6 done
8179:  #28 extracting sha256:b17a9d410da1886001947f5f826043292df395277cb23e17970f5b82a6b486ed done
8180:  #28 extracting sha256:542e3e75411d1223efe21092951a0b87b85cb4377accf8f360d635d23dea72a9 done
8181:  #28 extracting sha256:2b2faad386dfd2da1e19aa6e0d91d428b849181de439c0b289f383816c812304 done
8182:  #28 extracting sha256:a5e22afba545a92d46609059fe9fe2b90028b9f3fb7c78be28cb6d4ed9e53fd3 done
8183:  #28 extracting sha256:fb923a41dc10df4d74119907e9112426c8e0e2ce3d6851c4e2dcfb7e0765861b 0.1s
8184:  #28 extracting sha256:fb923a41dc10df4d74119907e9112426c8e0e2ce3d6851c4e2dcfb7e0765861b 0.3s done
8185:  #28 DONE 1.0s
8186:  #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
...

8285:  Applying contenttypes.0001_initial... OK
8286:  Applying contenttypes.0002_remove_content_type_name... OK
8287:  Applying auth.0001_initial... OK
8288:  Applying auth.0002_alter_permission_name_max_length... OK
8289:  Applying auth.0003_alter_user_email_max_length... OK
8290:  Applying auth.0004_alter_user_username_opts... OK
8291:  Applying auth.0005_alter_user_last_login_null... OK
8292:  Applying auth.0006_require_contenttypes_0002... OK
8293:  Applying auth.0007_alter_validators_add_error_messages... OK
...

8388:  Applying analyzers_manager.0002_0049_analyzer_config_greynoisecommunity... OK
8389:  Applying analyzers_manager.0002_0050_analyzer_config_hashlookupserver_get_file... OK
8390:  Applying analyzers_manager.0002_0051_analyzer_config_hashlookupserver_get_observable... OK
8391:  Applying analyzers_manager.0002_0052_analyzer_config_haveibeenpwned... OK
8392:  [--traceback] [--no-color]
8393:  [--force-color] [--skip-checks]
8394:  path
8395:  {ACCOUNTS,DRAGONFLY,INTELOWL,QUOKKA_PUBLIC,QUOKKA}
8396:  manage.py changelog_notification: error: argument appname: invalid choice: 'THREATMATRIX' (choose from 'ACCOUNTS', 'DRAGONFLY', 'INTELOWL', 'QUOKKA_PUBLIC', 'QUOKKA')
...

8805:  Created job for kotlin.kt, with mimetype text/x-kotlin
8806:  Created job for objectivec.m, with mimetype text/x-objective-c
8807:  Created job for swift.swift, with mimetype text/x-swift
8808:  Created job for android.xml, with mimetype text/xml
8809:  No defined file for mimetype application/zip
8810:  No defined file for mimetype application/x-dex
8811:  Testing Analyzer APKiD
8812:  Testing with config APKiD
8813:  skipping APKiD cause health check failed
8814:  skipping APKiD cause health check failed
8815:  skipping APKiD cause health check failed
8816:  skipping APKiD cause health check failed
...

8823:  Testing Analyzer BlintAnalyzer
8824:  Testing with config Blint
8825:  Testing sample.apk with mimetype application/vnd.android.package-archive for 30 seconds
8826:  Testing ping.elf with mimetype application/x-sharedlib for 30 seconds
8827:  Testing file.dll with mimetype application/vnd.microsoft.portable-executable for 30 seconds
8828:  Testing file.exe with mimetype application/vnd.microsoft.portable-executable for 30 seconds
8829:  Testing Analyzer BoxJS
8830:  Testing with config BoxJS
8831:  skipping BoxJS cause health check failed
8832:  skipping BoxJS cause health check failed
8833:  skipping BoxJS cause health check failed
...

8860:  Testing ping.elf with mimetype application/x-sharedlib for 30 seconds
8861:  Testing file.dll with mimetype application/vnd.microsoft.portable-executable for 30 seconds
8862:  Testing file.exe with mimetype application/vnd.microsoft.portable-executable for 30 seconds
8863:  Testing with config Capa_Info_Shellcode
8864:  Testing shellcode.bin with mimetype application/octet-stream for 30 seconds
8865:  Testing AndroidManifest.xml with mimetype application/octet-stream for 30 seconds
8866:  Testing Analyzer ClamAV
8867:  Testing with config ClamAV
8868:  skipping ClamAV cause health check failed
8869:  skipping ClamAV cause health check failed
8870:  skipping ClamAV cause health check failed
8871:  skipping ClamAV cause health check failed
8872:  skipping ClamAV cause health check failed
8873:  skipping ClamAV cause health check failed
8874:  skipping ClamAV cause health check failed
8875:  skipping ClamAV cause health check failed
8876:  skipping ClamAV cause health check failed
8877:  skipping ClamAV cause health check failed
8878:  skipping ClamAV cause health check failed
8879:  skipping ClamAV cause health check failed
8880:  skipping ClamAV cause health check failed
8881:  skipping ClamAV cause health check failed
8882:  skipping ClamAV cause health check failed
8883:  skipping ClamAV cause health check failed
8884:  skipping ClamAV cause health check failed
8885:  skipping ClamAV cause health check failed
8886:  skipping ClamAV cause health check failed
8887:  skipping ClamAV cause health check failed
8888:  skipping ClamAV cause health check failed
8889:  skipping ClamAV cause health check failed
8890:  skipping ClamAV cause health check failed
8891:  skipping ClamAV cause health check failed
8892:  skipping ClamAV cause health check failed
8893:  skipping ClamAV cause health check failed
8894:  skipping ClamAV cause health check failed
8895:  skipping ClamAV cause health check failed
8896:  skipping ClamAV cause health check failed
8897:  skipping ClamAV cause health check failed
8898:  skipping ClamAV cause health check failed
8899:  skipping ClamAV cause health check failed
8900:  skipping ClamAV cause health check failed
8901:  skipping ClamAV cause health check failed
8902:  skipping ClamAV cause health check failed
8903:  skipping ClamAV cause health check failed
8904:  skipping ClamAV cause health check failed
8905:  skipping ClamAV cause health check failed
8906:  skipping ClamAV cause health check failed
8907:  skipping ClamAV cause health check failed
8908:  skipping ClamAV cause health check failed
8909:  skipping ClamAV cause health check failed
8910:  skipping ClamAV cause health check failed
8911:  skipping ClamAV cause health check failed
8912:  skipping ClamAV cause health check failed
8913:  skipping ClamAV cause health check failed
8914:  skipping ClamAV cause health check failed
8915:  skipping ClamAV cause health check failed
8916:  skipping ClamAV cause health check failed
8917:  skipping ClamAV cause health check failed
8918:  skipping ClamAV cause health check failed
8919:  skipping ClamAV cause health check failed
8920:  skipping ClamAV cause health check failed
8921:  skipping ClamAV cause health check failed
8922:  skipping ClamAV cause health check failed
8923:  skipping ClamAV cause health check failed
...

8942:  Testing Sublime-Standard-Test-String.eml with mimetype message/rfc822 for 30 seconds
8943:  Testing java_vuln.java with mimetype text/x-java for 30 seconds
8944:  Testing kotlin.kt with mimetype text/x-kotlin for 30 seconds
8945:  Testing swift.swift with mimetype text/x-swift for 30 seconds
8946:  Testing objectivec.m with mimetype text/x-objective-c for 30 seconds
8947:  Testing downloader.lnk with mimetype application/x-ms-shortcut for 30 seconds
8948:  Testing Analyzer DetectItEasy
8949:  Testing with config DetectItEasy
8950:  skipping DetectItEasy cause health check failed
8951:  skipping DetectItEasy cause health check failed
8952:  skipping DetectItEasy cause health check failed
8953:  skipping DetectItEasy cause health check failed
8954:  skipping DetectItEasy cause health check failed
8955:  skipping DetectItEasy cause health check failed
8956:  skipping DetectItEasy cause health check failed
8957:  skipping DetectItEasy cause health check failed
8958:  skipping DetectItEasy cause health check failed
8959:  skipping DetectItEasy cause health check failed
8960:  skipping DetectItEasy cause health check failed
8961:  skipping DetectItEasy cause health check failed
8962:  skipping DetectItEasy cause health check failed
8963:  skipping DetectItEasy cause health check failed
8964:  skipping DetectItEasy cause health check failed
8965:  skipping DetectItEasy cause health check failed
8966:  skipping DetectItEasy cause health check failed
8967:  skipping DetectItEasy cause health check failed
8968:  skipping DetectItEasy cause health check failed
8969:  skipping DetectItEasy cause health check failed
8970:  skipping DetectItEasy cause health check failed
8971:  skipping DetectItEasy cause health check failed
8972:  skipping DetectItEasy cause health check failed
8973:  skipping DetectItEasy cause health check failed
8974:  skipping DetectItEasy cause health check failed
8975:  skipping DetectItEasy cause health check failed
8976:  skipping DetectItEasy cause health check failed
8977:  skipping DetectItEasy cause health check failed
8978:  skipping DetectItEasy cause health check failed
8979:  skipping DetectItEasy cause health check failed
8980:  skipping DetectItEasy cause health check failed
8981:  skipping DetectItEasy cause health check failed
8982:  skipping DetectItEasy cause health check failed
8983:  skipping DetectItEasy cause health check failed
8984:  skipping DetectItEasy cause health check failed
8985:  skipping DetectItEasy cause health check failed
8986:  skipping DetectItEasy cause health check failed
8987:  skipping DetectItEasy cause health check failed
8988:  skipping DetectItEasy cause health check failed
8989:  skipping DetectItEasy cause health check failed
8990:  skipping DetectItEasy cause health check failed
8991:  skipping DetectItEasy cause health check failed
8992:  skipping DetectItEasy cause health check failed
8993:  skipping DetectItEasy cause health check failed
8994:  skipping DetectItEasy cause health check failed
8995:  skipping DetectItEasy cause health check failed
8996:  skipping DetectItEasy cause health check failed
8997:  skipping DetectItEasy cause health check failed
8998:  skipping DetectItEasy cause health check failed
8999:  skipping DetectItEasy cause health check failed
9000:  skipping DetectItEasy cause health check failed
9001:  skipping DetectItEasy cause health check failed
9002:  skipping DetectItEasy cause health check failed
9003:  skipping DetectItEasy cause health check failed
9004:  skipping DetectItEasy cause health check failed
9005:  skipping DetectItEasy cause health check failed
9006:  skipping DetectItEasy cause health check failed
...

9067:  Testing Sublime-Standard-Test-String.eml with mimetype message/rfc822 for 30 seconds
9068:  Testing java_vuln.java with mimetype text/x-java for 30 seconds
9069:  Testing kotlin.kt with mimetype text/x-kotlin for 30 seconds
9070:  Testing swift.swift with mimetype text/x-swift for 30 seconds
9071:  Testing objectivec.m with mimetype text/x-objective-c for 30 seconds
9072:  Testing downloader.lnk with mimetype application/x-ms-shortcut for 30 seconds
9073:  Testing Analyzer Floss
9074:  Testing with config Floss
9075:  skipping Floss cause health check failed
9076:  skipping Floss cause health check failed
...

9173:  Testing with config PDF_Info
9174:  Testing document.pdf with mimetype application/pdf for 30 seconds
9175:  Testing Analyzer PEInfo
9176:  Testing with config PE_Info
9177:  Testing file.dll with mimetype application/vnd.microsoft.portable-executable for 30 seconds
9178:  Testing file.exe with mimetype application/vnd.microsoft.portable-executable for 30 seconds
9179:  Testing Analyzer PEframe
9180:  Testing with config PEframe_Scan
9181:  skipping PEframe cause health check failed
...

9212:  Testing Sublime-Standard-Test-String.eml with mimetype message/rfc822 for 30 seconds
9213:  Testing java_vuln.java with mimetype text/x-java for 30 seconds
9214:  Testing kotlin.kt with mimetype text/x-kotlin for 30 seconds
9215:  Testing swift.swift with mimetype text/x-swift for 30 seconds
9216:  Testing objectivec.m with mimetype text/x-objective-c for 30 seconds
9217:  Testing downloader.lnk with mimetype application/x-ms-shortcut for 30 seconds
9218:  Testing Analyzer Qiling
9219:  Testing with config Qiling_Linux
9220:  skipping Qiling cause health check failed
9221:  skipping Qiling cause health check failed
9222:  skipping Qiling cause health check failed
9223:  skipping Qiling cause health check failed
9224:  Testing with config Qiling_Linux_Shellcode
9225:  skipping Qiling cause health check failed
9226:  Testing with config Qiling_Windows
9227:  skipping Qiling cause health check failed
9228:  Testing with config Qiling_Windows_Shellcode
9229:  skipping Qiling cause health check failed
...

9241:  Testing with config SpeakEasy
9242:  Testing file.dll with mimetype application/vnd.microsoft.portable-executable for 30 seconds
9243:  Testing file.exe with mimetype application/vnd.microsoft.portable-executable for 30 seconds
9244:  Testing with config SpeakEasy_Shellcode
9245:  Testing shellcode.bin with mimetype application/octet-stream for 30 seconds
9246:  Testing AndroidManifest.xml with mimetype application/octet-stream for 30 seconds
9247:  Testing Analyzer StringsInfo
9248:  Testing with config Strings_Info
9249:  skipping StringsInfo cause health check failed
9250:  skipping StringsInfo cause health check failed
9251:  skipping StringsInfo cause health check failed
9252:  skipping StringsInfo cause health check failed
9253:  skipping StringsInfo cause health check failed
9254:  skipping StringsInfo cause health check failed
9255:  skipping StringsInfo cause health check failed
9256:  skipping StringsInfo cause health check failed
9257:  skipping StringsInfo cause health check failed
9258:  skipping StringsInfo cause health check failed
9259:  skipping StringsInfo cause health check failed
9260:  skipping StringsInfo cause health check failed
9261:  skipping StringsInfo cause health check failed
9262:  skipping StringsInfo cause health check failed
9263:  skipping StringsInfo cause health check failed
9264:  skipping StringsInfo cause health check failed
9265:  skipping StringsInfo cause health check failed
9266:  skipping StringsInfo cause health check failed
9267:  skipping StringsInfo cause health check failed
9268:  skipping StringsInfo cause health check failed
9269:  skipping StringsInfo cause health check failed
9270:  skipping StringsInfo cause health check failed
9271:  skipping StringsInfo cause health check failed
9272:  skipping StringsInfo cause health check failed
9273:  skipping StringsInfo cause health check failed
9274:  skipping StringsInfo cause health check failed
9275:  skipping StringsInfo cause health check failed
9276:  skipping StringsInfo cause health check failed
9277:  skipping StringsInfo cause health check failed
9278:  skipping StringsInfo cause health check failed
9279:  skipping StringsInfo cause health check failed
9280:  skipping StringsInfo cause health check failed
9281:  skipping StringsInfo cause health check failed
9282:  skipping StringsInfo cause health check failed
9283:  skipping StringsInfo cause health check failed
9284:  skipping StringsInfo cause health check failed
9285:  skipping StringsInfo cause health check failed
9286:  skipping StringsInfo cause health check failed
9287:  skipping StringsInfo cause health check failed
9288:  skipping StringsInfo cause health check failed
9289:  skipping StringsInfo cause health check failed
9290:  skipping StringsInfo cause health check failed
9291:  skipping StringsInfo cause health check failed
9292:  skipping StringsInfo cause health check failed
9293:  skipping StringsInfo cause health check failed
9294:  skipping StringsInfo cause health check failed
9295:  skipping StringsInfo cause health check failed
9296:  skipping StringsInfo cause health check failed
9297:  skipping StringsInfo cause health check failed
9298:  skipping StringsInfo cause health check failed
9299:  skipping StringsInfo cause health check failed
9300:  skipping StringsInfo cause health check failed
9301:  skipping StringsInfo cause health check failed
9302:  skipping StringsInfo cause health check failed
9303:  skipping StringsInfo cause health check failed
9304:  skipping StringsInfo cause health check failed
9305:  Testing Analyzer Sublime
9306:  Testing with config SublimeSecurity
9307:  Testing Sublime-Standard-Test-String.eml with mimetype message/rfc822 for 30 seconds
9308:  Testing Analyzer Suricata
9309:  Testing with config Suricata
9310:  skipping Suricata cause health check failed
9311:  Testing Analyzer ThugFile
9312:  Testing with config Thug_HTML_Info
9313:  skipping ThugFile cause health check failed
...

9971:  test_get_non_existent (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_get_non_existent) ... ok-dokey (0.016223s)
9972:  test_get_superuser (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_get_superuser) ... ok-dokey (0.034427s)
9973:  test_get_user (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_get_user) ... ok-dokey (0.036456s)
9974:  test_health_check (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_health_check) ... ok-dokey (0.113750s)
9975:  test_list (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_list) ... ok-dokey (0.733389s)
9976:  test_organization_disable (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_organization_disable) ... ok-dokey (0.195893s)
9977:  test_organization_enable (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_organization_enable) ... ok-dokey (0.249990s)
9978:  test_pull (tests.api_app.analyzers_manager.test_views.AnalyzerConfigViewSetTestCase.test_pull) ... ok-dokey (12.024242s)
9979:  {'errors': {'detail': 'This Plugin has no Update implemented'}}
...

10151:  test_job_rescan__observable_playbook (tests.api_app.test_api.ApiViewTests.test_job_rescan__observable_playbook) ... ok-dokey (7.586711s)
10152:  test_job_rescan__permission (tests.api_app.test_api.ApiViewTests.test_job_rescan__permission) ... ok-dokey (7.704120s)
10153:  test_job_rescan__sample_analyzers (tests.api_app.test_api.ApiViewTests.test_job_rescan__sample_analyzers) ... ok-dokey (1.157261s)
10154:  test_job_rescan__sample_playbook (tests.api_app.test_api.ApiViewTests.test_job_rescan__sample_playbook) ... ok-dokey (11.503561s)
10155:  test_no_analyzers (tests.api_app.test_api.ApiViewTests.test_no_analyzers) ... ok-dokey (0.147715s)
10156:  test_tlp_clear_and_white (tests.api_app.test_api.ApiViewTests.test_tlp_clear_and_white) ... ok-dokey (2.215407s)
10157:  test_abstract (tests.api_app.test_classes.PluginTestCase.test_abstract) ... ok-dokey (0.316187s)
10158:  test_python_path (tests.api_app.test_classes.PluginTestCase.test_python_path) ... ok-dokey (0.283052s)
10159:  test_start_errors (tests.api_app.test_classes.PluginTestCase.test_start_errors) ... Traceback (most recent call last):
10160:  File "/opt/deploy/threat_matrix/api_app/classes.py", line 297, in start
10161:  _result = self.run()
10162:  ^^^^^^^^^^
10163:  File "/opt/deploy/threat_matrix/tests/api_app/test_classes.py", line 57, in raise_error
10164:  raise TypeError("Test")
10165:  TypeError: Test
10166:  ok-dokey (0.367797s)
10167:  test_start_no_errors (tests.api_app.test_classes.PluginTestCase.test_start_no_errors) ... ok-dokey (0.375875s)
...

10249:  test_validate_params_wrong_type (tests.api_app.test_validators.ValidateParamsTestCase.test_validate_params_wrong_type) ... ok-dokey (0.010088s)
10250:  test_create_201 (tests.api_app.test_views.CommentViewSetTestCase.test_create_201) ... ok-dokey (0.133593s)
10251:  test_delete (tests.api_app.test_views.CommentViewSetTestCase.test_delete) ... ok-dokey (0.149045s)
10252:  test_get (tests.api_app.test_views.CommentViewSetTestCase.test_get) ... ok-dokey (0.153620s)
10253:  test_list_200 (tests.api_app.test_views.CommentViewSetTestCase.test_list_200) ... ok-dokey (0.118590s)
10254:  test_client_request (tests.api_app.test_views.ElasticTestCase.test_client_request) ... ok-dokey (0.015560s)
10255:  test_elastic_request (tests.api_app.test_views.ElasticTestCase.test_elastic_request) ... ok-dokey (0.014775s)
10256:  test_not_authenticated (tests.api_app.test_views.ElasticTestCase.test_not_authenticated) ... ok-dokey (0.017404s)
10257:  test_validatior_errors (tests.api_app.test_views.ElasticTestCase.test_validatior_errors) ... ok-dokey (0.033180s)
...

10276:  test_plugin_config_list (tests.api_app.test_views.PluginConfigViewSetTestCase.test_plugin_config_list) ... ok-dokey (41.390923s)
10277:  test_update (tests.api_app.test_views.PluginConfigViewSetTestCase.test_update) ... ok-dokey (42.184239s)
10278:  test_create_201 (tests.api_app.test_views.TagViewsetTests.test_create_201) ... ok-dokey (0.025567s)
10279:  test_create_400 (tests.api_app.test_views.TagViewsetTests.test_create_400) ... ok-dokey (0.021984s)
10280:  test_delete_204 (tests.api_app.test_views.TagViewsetTests.test_delete_204) ... ok-dokey (0.037945s)
10281:  test_list_200 (tests.api_app.test_views.TagViewsetTests.test_list_200) ... ok-dokey (0.018429s)
10282:  test_retrieve_200 (tests.api_app.test_views.TagViewsetTests.test_retrieve_200) ... ok-dokey (0.016170s)
10283:  test_update_200 (tests.api_app.test_views.TagViewsetTests.test_update_200) ... ok-dokey (0.027925s)
10284:  test_with_error (tests.api_app.visualizers_manager.test_classes.ErrorHandlerTestCase.test_with_error) ... ok-dokey (0.000324s)
10285:  test_without_error (tests.api_app.visualizers_manager.test_classes.ErrorHandlerTestCase.test_without_error) ... ok-dokey (0.000193s)
...

10374:  test_initial (tests.threat_matrix.test_tasks.SendElasticTestCase.test_initial) ... ok-dokey (0.234627s)
10375:  test_update (tests.threat_matrix.test_tasks.SendElasticTestCase.test_update) ... ok-dokey (0.204999s)
10376:  test_job_killed (tests.api_app.test_websocket.JobConsumerTestCase.test_job_killed) ... ok-dokey (4.516173s)
10377:  test_job_not_exist (tests.api_app.test_websocket.JobConsumerTestCase.test_job_not_exist) ... ok-dokey (0.037558s)
10378:  test_job_running (tests.api_app.test_websocket.JobConsumerTestCase.test_job_running) ... ok-dokey (6.898321s)
10379:  test_job_terminated (tests.api_app.test_websocket.JobConsumerTestCase.test_job_terminated) ... ok-dokey (0.197903s)
10380:  test_job_unauthorized (tests.api_app.test_websocket.JobConsumerTestCase.test_job_unauthorized) ... ok-dokey (0.029800s)
10381:  ======================================================================
10382:  ERROR: test_min_password_lenght_400 (tests.auth.test_auth.TestUserAuth.test_min_password_lenght_400)
10383:  ----------------------------------------------------------------------
10384:  Traceback (most recent call last):
10385:  File "/opt/deploy/threat_matrix/tests/auth/test_auth.py", line 275, in test_min_password_lenght_400
10386:  content["errors"]["password"],
10387:  ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
10388:  KeyError: 'password'
10389:  ----------------------------------------------------------------------
10390:  Ran 395 tests in 727.379s
10391:  FAILED (errors=1, skipped=3)
10392:  Preserving test database for alias 'default'...
10393:  ##[error]Process completed with exit code 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant