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

[Snyk] Security upgrade mysql from 8.2 to 8.4.1 #10

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

Conversation

tulik
Copy link
Member

@tulik tulik commented Sep 11, 2024

User description

snyk-top-banner

Snyk has created this PR to fix 5 vulnerabilities in the dockerfile dependencies of this project.

Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.

Snyk changed the following file(s):

  • docker/images/mysql/Dockerfile

We recommend upgrading to mysql:8.4.1, as this image has only 71 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
medium severity Improper Validation of Integrity Check Value
SNYK-ORACLE8-LIBSSH-6226959
  310  
medium severity Improper Validation of Integrity Check Value
SNYK-ORACLE8-LIBSSHCONFIG-6227084
  310  
high severity Improper Certificate Validation
SNYK-ORACLE8-OPENSSL-2579569
  300  
high severity Access of Resource Using Incompatible Type ('Type Confusion')
SNYK-ORACLE8-OPENSSL-3368721
  300  
high severity Improper Certificate Validation
SNYK-ORACLE8-OPENSSLLIBS-2579536
  300  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Access of Resource Using Incompatible Type ('Type Confusion')

[//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"mysql","from":"8.2","to":"8.4.1"}],"env":"prod","issuesToFix":[{"exploit_maturity":"Proof of Concept","id":"SNYK-ORACLE8-LIBSSH-6226959","priority_score":310,"priority_score_factors":[{"name":"confidentiality","value":"none"},{"name":"integrity","value":"high"},{"name":"availability","value":"none"},{"name":"scope","value":"unchanged"},{"name":"exploitCodeMaturity","value":"proofOfConcept"},{"name":"userInteraction","value":"none"},{"name":"privilegesRequired","value":"none"},{"name":"attackComplexity","value":"high"},{"name":"attackVector","value":"network"},{"name":"epss","value":0.96533},{"name":"isTrending","value":false},{"name":"publicationDate","value":"Sat Feb 03 2024 04:03:13 GMT+0000 (Coordinated Universal Time)"},{"name":"isReachable","value":false},{"name":"isTransitive","value":false},{"name":"isMalicious","value":false},{"name":"businessCriticality","value":"high"},{"name":"relativeImportance","value":"medium"},{"name":"relativePopularityRank","value":0},{"name":"impact","value":4.16},{"name":"likelihood","value":7.43},{"name":"scoreVersion","value":"V5"}],"severity":"medium","title":"Improper Validation of Integrity Check Value"},{"exploit_maturity":"Proof of Concept","id":"SNYK-ORACLE8-LIBSSHCONFIG-6227084","priority_score":310,"priority_score_factors":[{"name":"confidentiality","value":"none"},{"name":"integrity","value":"high"},{"name":"availability","value":"none"},{"name":"scope","value":"unchanged"},{"name":"exploitCodeMaturity","value":"proofOfConcept"},{"name":"userInteraction","value":"none"},{"name":"privilegesRequired","value":"none"},{"name":"attackComplexity","value":"high"},{"name":"attackVector","value":"network"},{"name":"epss","value":0.96533},{"name":"isTrending","value":false},{"name":"publicationDate","value":"Sat Feb 03 2024 04:09:30 GMT+0000 (Coordinated Universal Time)"},{"name":"isReachable","value":false},{"name":"isTransitive","value":false},{"name":"isMalicious","value":false},{"name":"businessCriticality","value":"high"},{"name":"relativeImportance","value":"medium"},{"name":"relativePopularityRank","value":0},{"name":"impact","value":4.16},{"name":"likelihood","value":7.43},{"name":"scoreVersion","value":"V5"}],"severity":"medium","title":"Improper Validation of Integrity Check Value"},{"exploit_maturity":"No Known Exploit","id":"SNYK-ORACLE8-OPENSSL-2579569","priority_score":300,"priority_score_factors":[{"name":"confidentiality","value":"high"},{"name":"integrity","value":"high"},{"name":"availability","value":"none"},{"name":"scope","value":"unchanged"},{"name":"exploitCodeMaturity"},{"name":"userInteraction","value":"none"},{"name":"privilegesRequired","value":"none"},{"name":"attackComplexity","value":"high"},{"name":"attackVector","value":"network"},{"name":"epss","value":0.00231},{"name":"isTrending","value":false},{"name":"publicationDate","value":"Sun Apr 10 2022 08:38:58 GMT+0000 (Coordinated Universal Time)"},{"name":"isReachable","value":false},{"name":"isTransitive","value":false},{"name":"isMalicious","value":false},{"name":"businessCriticality","value":"high"},{"name":"relativeImportance","value":"high"},{"name":"relativePopularityRank","value":0},{"name":"impact","value":7.31},{"name":"likelihood","value":4.09},{"name":"scoreVersion","value":"V5"}],"severity":"high","title":"Improper Certificate Validation"},{"exploit_maturity":"No Known Exploit","id":"SNYK-ORACLE8-OPENSSL-3368721","priority_score":300,"priority_score_factors":[{"name":"confidentiality","value":"high"},{"name":"integrity","value":"none"},{"name":"availability","value":"high"},{"name":"scope","value":"unchanged"},{"name":"exploitCodeMaturity"},{"name":"userInteraction","value":"none"},{"name":"privilegesRequired","value":"none"},{"name":"attackComplexity","value":"high"},{"name":"attackVector","value":"network"},{"name":"epss","value":0.00293},{"name":"isTrending","value":false},{"name":"publicationDate","value":"Wed Mar 01 2023 00:27:14 GMT+0000 (Coordinated Universal Time)"},{"name":"isReachable","value":false},{"name":"isTransitive","value":false},{"name":"isMalicious","value":false},{"name":"businessCriticality","value":"high"},{"name":"relativeImportance","value":"high"},{"name":"relativePopularityRank","value":0},{"name":"impact","value":7.31},{"name":"likelihood","value":4.09},{"name":"scoreVersion","value":"V5"}],"severity":"high","title":"Access of Resource Using Incompatible Type ('Type Confusion')"},{"exploit_maturity":"No Known Exploit","id":"SNYK-ORACLE8-OPENSSLLIBS-2579536","priority_score":300,"priority_score_factors":[{"name":"confidentiality","value":"high"},{"name":"integrity","value":"high"},{"name":"availability","value":"none"},{"name":"scope","value":"unchanged"},{"name":"exploitCodeMaturity"},{"name":"userInteraction","value":"none"},{"name":"privilegesRequired","value":"none"},{"name":"attackComplexity","value":"high"},{"name":"attackVector","value":"network"},{"name":"epss","value":0.00231},{"name":"isTrending","value":false},{"name":"publicationDate","value":"Sun Apr 10 2022 08:38:58 GMT+0000 (Coordinated Universal Time)"},{"name":"isReachable","value":false},{"name":"isTransitive","value":false},{"name":"isMalicious","value":false},{"name":"businessCriticality","value":"high"},{"name":"relativeImportance","value":"high"},{"name":"relativePopularityRank","value":0},{"name":"impact","value":7.31},{"name":"likelihood","value":4.09},{"name":"scoreVersion","value":"V5"}],"severity":"high","title":"Improper Certificate Validation"}],"prId":"63911901-b12f-4628-8adb-f11e6d449252","prPublicId":"63911901-b12f-4628-8adb-f11e6d449252","packageManager":"dockerfile","priorityScoreList":[310,310,300,300,300],"projectPublicId":"174e06de-ec5d-445f-a933-1bc384be3dd4","projectUrl":"https://app.snyk.io/org/tulik/project/174e06de-ec5d-445f-a933-1bc384be3dd4?utm_source=github&utm_medium=referral&page=fix-pr","prType":"fix","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":["updated-fix-title","priorityScore"],"type":"auto","upgrade":["SNYK-ORACLE8-LIBSSH-6226959","SNYK-ORACLE8-LIBSSHCONFIG-6227084","SNYK-ORACLE8-OPENSSL-2579569","SNYK-ORACLE8-OPENSSL-3368721","SNYK-ORACLE8-OPENSSLLIBS-2579536"],"vulns":["SNYK-ORACLE8-LIBSSH-6226959","SNYK-ORACLE8-LIBSSHCONFIG-6227084","SNYK-ORACLE8-OPENSSL-2579569","SNYK-ORACLE8-OPENSSL-3368721","SNYK-ORACLE8-OPENSSLLIBS-2579536"],"patch":[],"isBreakingChange":false,"remediationStrategy":"vuln"}'


PR Type

enhancement, other


Description

  • Upgraded the MySQL Docker base image from version 8.2 to 8.4.1 to address security vulnerabilities.
  • The update fixes vulnerabilities related to libssh, libsshconfig, and openssl as identified by Snyk.
  • Ensures the Docker image benefits from the latest security fixes.

Changes walkthrough 📝

Relevant files
Enhancement
Dockerfile
Upgrade MySQL Docker base image to version 8.4.1                 

docker/images/mysql/Dockerfile

  • Upgraded MySQL base image from version 8.2 to 8.4.1.
  • Addressed multiple security vulnerabilities by updating the base
    image.
  • +1/-1     

    💡 PR-Agent usage:
    Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions

    Copy link

    Hello from @codemakerai.

    CodeMaker AI GitHub App integration.

    Usage:

    @codemakerai [command or prompt]

    Assistant

    All Assistant features are supported in GitHub. Assistant can answer general questions as well as questions directly
    related to code. It also has code editing capabilities.

    @codemakerai assistant prompt - the assistant prompt
    @codemakerai prompt - the assistant prompt. Alias to assistant command.

    Commands

    Pull Request Commands - commands that can be posted as comments on the pull request:

    @codemakerai help - prints this help message
    @codemakerai review process - process the most recent code review and all it's comments
    @codemakerai generate code [codepath] - generate code for all files in pull request, or only for matching code path.
    @codemakerai generate docs [codepath] - generate documentation for all files in pull request, or only for matching code path.
    @codemakerai replace code [codepath] - replace code for all files in pull request, or only for matching code path.
    @codemakerai replace docs [codepath] - replace documentation for all files in pull request, or only for matching code path.
    @codemakerai fix syntax - fixes the syntax in all files
    @codemakerai commit undo - removes the most recent commit

    Pull Request Code Review Commands - commands that can be posted as comments on the code review i.e. "Files changed" tab:

    @codemakerai assistant prompt - the assistant prompt
    @codemakerai explain - explains the code
    @codemakerai review - reviews the code

    Triggers

    To automatically trigger certain actions on pull requests you can create and use the following GitHub labels.

    codemakerai-pull-request-generate-documentation - automatically generates comments/documentation on Pull Request creation.
    codemakerai-pull-request-syntax-autocorrection - automatically corrects syntax on Pull Request creation.
    codemakerai-pull-request-review-process - automatically processes code review comments on Pull Request Review submission.

    For in depth explanation of the features, please consult https://docs.codemaker.ai

    In case of any issues please report them to https://community.codemaker.ai

    @qodo-merge-pro qodo-merge-pro bot added enhancement New feature or request other labels Sep 11, 2024
    Copy link

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

    PR Reviewer Guide 🔍

    ⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
    🧪 No relevant tests
    🔒 No security concerns identified
    ⚡ No key issues to review

    Copy link

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

    PR Code Suggestions ✨

    CategorySuggestion                                                                                                                                    Score
    Best practice
    Specify a more precise version tag for the MySQL base image

    Consider using a specific patch version instead of a minor version for the MySQL
    image to ensure reproducible builds and avoid potential compatibility issues.

    docker/images/mysql/Dockerfile [1]

    -FROM mysql:8.4.1
    +FROM mysql:8.4.1-debian
     
    • Apply this suggestion
    Suggestion importance[1-10]: 7

    Why: Using a specific patch version can improve build reproducibility and compatibility. However, the suggestion to use '8.4.1-debian' is not necessarily more precise than '8.4.1', as it changes the distribution rather than specifying a patch version. The suggestion is partially valid but could be more precise.

    7

    Copy link

    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: snyk

    Failed stage: Install PHP dependencies [❌]

    Failure summary:

    The action failed due to the following reasons:

  • Missing peer dependencies: The workspace does not provide several required peer dependencies,
    including @testing-library/dom, @vanilla/utils, and react-is.
  • Lockfile modification: The installation process attempted to modify the lockfile, which is
    explicitly forbidden by the current configuration.

  • Relevant error logs:
    1:  ##[group]Operating System
    2:  Ubuntu
    ...
    
    651:  �[93m➤�[39m YN0002: │ �[38;5;173mvanilla�[39m�[38;5;111m@�[39m�[38;5;111mworkspace:.�[39m doesn't provide �[38;5;166m@testing-library/�[39m�[38;5;173mdom�[39m (�[38;5;111mpd878a�[39m), requested by �[38;5;166m@testing-library/�[39m�[38;5;173muser-event�[39m.
    652:  �[93m➤�[39m YN0002: │ �[38;5;173mvanilla�[39m�[38;5;111m@�[39m�[38;5;111mworkspace:.�[39m doesn't provide �[38;5;166m@vanilla/�[39m�[38;5;173mutils�[39m (�[38;5;111mp0cd3d�[39m), requested by �[38;5;166m@vanilla/�[39m�[38;5;173micons�[39m.
    653:  �[93m➤�[39m YN0002: │ �[38;5;173mvanilla�[39m�[38;5;111m@�[39m�[38;5;111mworkspace:.�[39m doesn't provide �[38;5;173mreact-is�[39m (�[38;5;111mp2bb43�[39m), requested by �[38;5;166m@reach/�[39m�[38;5;173mmenu-button�[39m.
    654:  �[93m➤�[39m YN0086: │ Some peer dependencies are incorrectly met; run �[38;5;111myarn explain peer-requirements <hash>�[39m for details, where �[38;5;111m<hash>�[39m is the six-letter p-prefixed code.
    655:  �[91m➤�[39m YN0028: │ The lockfile would have been modified by this install, which is explicitly forbidden.
    656:  ##[endgroup]
    657:  �[91m➤�[39m YN0028: The lockfile would have been modified by this install, which is explicitly forbidden.
    658:  �[94m➤�[39m �[90mYN0000�[39m: └ Completed
    659:  �[91m➤�[39m YN0000: · Failed with errors in 13s 301ms
    660:  Installing core node_modules failed
    661:  ##[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

    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: Codacy Security Scan

    Failed stage: Run Codacy Analysis CLI [❌]

    Failed test name: ""

    Failure summary:

    The action failed due to multiple issues encountered during the analysis process:

  • The pmd and pmd-legacy analyses failed because no rules were found, indicating a possible
    misconfiguration or missing rule definitions.
  • The eslint analysis failed because it could not load the configuration "plugin:react/jsx-runtime",
    suggesting a missing or incorrect configuration in the .eslintrc file.
  • The phpmd analysis failed due to an "Argument list too long" error, which suggests that the command
    executed had too many arguments, possibly due to a large number of files or incorrect command
    construction.

  • Relevant error logs:
    1:  ##[group]Operating System
    2:  Ubuntu
    ...
    
    683:  09/11 04:59:16 �[34mINFO �[0;39m �[36mc.c.a.c.utils.LanguagesHelper:16�[0;39m - No language found for plugins/emojiextender/emoji/twitter/scream.png 
    684:  09/11 04:59:16 �[34mINFO �[0;39m �[36mc.c.a.c.utils.LanguagesHelper:16�[0;39m - No language found for docker/images/nginx/certs/vanilla.localhost.crt 
    685:  09/11 04:59:16 �[34mINFO �[0;39m �[36mc.c.a.c.utils.LanguagesHelper:16�[0;39m - No language found for plugins/emojiextender/emoji/twitter/sleepy.png 
    686:  09/11 04:59:16 �[34mINFO �[0;39m �[36mc.c.a.c.utils.LanguagesHelper:16�[0;39m - No language found for plugins/emojiextender/emoji/rice/smile.png 
    687:  09/11 04:59:16 �[34mINFO �[0;39m �[36mc.c.a.c.utils.LanguagesHelper:16�[0;39m - No language found for applications/dashboard/design/images/sectionIcons/2column.svg 
    688:  09/11 04:59:16 �[34mINFO �[0;39m �[36mc.c.a.c.utils.LanguagesHelper:16�[0;39m - No language found for resources/fonts/Raleway/1Ptsg8zYS_SKggPNyCg4TYFqL_KWxQ.woff2 
    689:  09/11 04:59:16 �[34mINFO �[0;39m �[36mc.c.a.c.utils.LanguagesHelper:16�[0;39m - No language found for library/src/scripts/embeddedContent/storybook/attachments/wide/20x5-big.png 
    690:  09/11 04:59:16 �[34mINFO �[0;39m �[36mc.c.a.c.utils.LanguagesHelper:16�[0;39m - No language found for plugins/VanillaInThisDiscussion/icon.png 
    691:  09/11 04:59:16 �[34mINFO �[0;39m �[36mc.c.a.c.utils.LanguagesHelper:16�[0;39m - No language found for applications/dashboard/design/images/error.png 
    ...
    
    837:  09/11 04:59:16 �[34mINFO �[0;39m �[36mc.c.a.c.utils.LanguagesHelper:16�[0;39m - No language found for resources/design/unresolved.svg 
    838:  09/11 04:59:16 �[34mINFO �[0;39m �[36mc.c.a.c.utils.LanguagesHelper:16�[0;39m - No language found for plugins/emojiextender/emoji/twitter/triumph.png 
    839:  09/11 04:59:16 �[34mINFO �[0;39m �[36mc.c.a.c.utils.LanguagesHelper:16�[0;39m - No language found for plugins/emojiextender/emoji/yahoo/giggle.gif 
    840:  09/11 04:59:16 �[34mINFO �[0;39m �[36mc.c.a.c.utils.LanguagesHelper:16�[0;39m - No language found for tests/fixtures/formats/html/paragraphs/output.txt 
    841:  09/11 04:59:16 �[34mINFO �[0;39m �[36mc.c.a.c.utils.LanguagesHelper:16�[0;39m - No language found for resources/fonts/Roboto/KFOmCnqEu92Fr1Mu7GxKKTU1Kvnz.woff2 
    842:  09/11 04:59:16 �[34mINFO �[0;39m �[36mc.c.a.c.utils.LanguagesHelper:16�[0;39m - No language found for plugins/emojiextender/emoji/yahoo/clap.gif 
    843:  09/11 04:59:16 �[34mINFO �[0;39m �[36mc.c.a.c.utils.LanguagesHelper:16�[0;39m - No language found for resources/emoji/neutral.png 
    844:  09/11 04:59:16 �[34mINFO �[0;39m �[36mc.c.a.c.utils.LanguagesHelper:16�[0;39m - No language found for resources/fonts/Montserrat/JTUSjIg1_i6t8kCHKm459WlhyyTh89Y.woff2 
    845:  09/11 04:59:16 �[34mINFO �[0;39m �[36mc.c.a.c.utils.LanguagesHelper:16�[0;39m - No language found for library/Vanilla/EmbeddedContent/Embeds/ErrorEmbed.twig 
    ...
    
    1114:  09/11 04:59:16 �[34mINFO �[0;39m �[36mc.c.a.c.utils.LanguagesHelper:16�[0;39m - No language found for applications/dashboard/design/images/widgetIcons/cta.svg 
    1115:  09/11 04:59:16 �[34mINFO �[0;39m �[36mc.c.a.c.utils.LanguagesHelper:16�[0;39m - No language found for cli/bin/vnla-cli 
    1116:  09/11 04:59:16 �[34mINFO �[0;39m �[36mc.c.a.c.utils.LanguagesHelper:16�[0;39m - No language found for plugins/emojiextender/emoji/little/[email protected] 
    1117:  09/11 04:59:16 �[34mINFO �[0;39m �[36mc.c.a.c.utils.LanguagesHelper:16�[0;39m - No language found for applications/dashboard/styleguide/public/resources/images/dirty-rodent.jpg 
    1118:  09/11 04:59:16 �[34mINFO �[0;39m �[36mc.c.a.c.utils.LanguagesHelper:16�[0;39m - No language found for resources/fonts/Roboto Condensed/ieVl2ZhZI2eCN5jzbjEETS9weq8-19-7DQk6YvNkeg.woff2 
    1119:  09/11 04:59:16 �[34mINFO �[0;39m �[36mc.c.a.c.utils.LanguagesHelper:16�[0;39m - No language found for resources/emoji/star.png 
    1120:  09/11 04:59:16 �[34mINFO �[0;39m �[36mc.c.a.c.utils.LanguagesHelper:16�[0;39m - No language found for tests/fixtures/formats/wysiwyg/inline-formatting/output.txt 
    1121:  09/11 04:59:16 �[34mINFO �[0;39m �[36mc.c.a.c.utils.LanguagesHelper:16�[0;39m - No language found for library/src/scripts/embeddedContent/storybook/attachments/tall/5x20-xs.png 
    1122:  09/11 04:59:16 �[34mINFO �[0;39m �[36mc.c.a.c.utils.LanguagesHelper:16�[0;39m - No language found for resources/views/error.twig 
    ...
    
    1410:  09/11 04:59:16 �[34mINFO �[0;39m �[36mc.c.a.c.utils.LanguagesHelper:16�[0;39m - No language found for packages/vanilla-icons/icons/data-drag-and-drop.svg 
    1411:  09/11 04:59:16 �[34mINFO �[0;39m �[36mc.c.a.c.utils.LanguagesHelper:16�[0;39m - No language found for plugins/swagger-ui/yarn.lock 
    1412:  09/11 04:59:16 �[34mINFO �[0;39m �[36mc.c.a.c.utils.LanguagesHelper:16�[0;39m - No language found for plugins/GooglePrettify/google-prettify.png 
    1413:  09/11 04:59:16 �[34mINFO �[0;39m �[36mc.c.a.c.utils.LanguagesHelper:16�[0;39m - No language found for tests/fixtures/formats/ipb/carriage-returns/input.txt 
    1414:  09/11 04:59:16 �[34mINFO �[0;39m �[36mc.c.a.c.utils.LanguagesHelper:16�[0;39m - No language found for plugins/emojiextender/emoji/twitter/relieved.png 
    1415:  09/11 04:59:16 �[34mINFO �[0;39m �[36mc.c.a.c.utils.LanguagesHelper:16�[0;39m - No language found for addons/themes/theme-boilerplate/design/custom.css.map 
    1416:  09/11 04:59:16 �[34mINFO �[0;39m �[36mc.c.a.c.utils.LanguagesHelper:16�[0;39m - No language found for themes/2011Compatibility/design/screenshot.png 
    1417:  09/11 04:59:16 �[34mINFO �[0;39m �[36mc.c.a.c.utils.LanguagesHelper:16�[0;39m - No language found for .allowed-licenses 
    1418:  09/11 04:59:16 �[34mINFO �[0;39m �[36mc.c.a.c.utils.LanguagesHelper:16�[0;39m - No language found for resources/views/userContentError.twig 
    ...
    
    1679:  09/11 04:59:17 �[34mINFO �[0;39m �[36mc.c.a.c.t.DuplicationToolCollector:81�[0;39m - No duplication tools found for language SASS 
    1680:  09/11 04:59:17 �[34mINFO �[0;39m �[36mc.c.a.c.t.DuplicationToolCollector:81�[0;39m - No duplication tools found for language HTML 
    1681:  09/11 04:59:17 �[34mINFO �[0;39m �[36mc.c.a.c.t.DuplicationToolCollector:81�[0;39m - No duplication tools found for language Dockerfile 
    1682:  09/11 04:59:17 �[34mINFO �[0;39m �[36mc.c.a.c.t.DuplicationToolCollector:81�[0;39m - No duplication tools found for language YAML 
    1683:  09/11 04:59:17 �[39mDEBUG�[0;39m �[36mCodacyPlugins:17�[0;39m - codacy/codacy-metrics-cloc:0.2.4 doesn't exist locally. 
    1684:  09/11 04:59:17 �[34mINFO �[0;39m �[36mCodacyPlugins:26�[0;39m - Verifying if docker image codacy/codacy-metrics-cloc:0.2.4 exists locally. took 47ms 
    1685:  09/11 04:59:20 �[34mINFO �[0;39m �[36mCodacyPlugins:26�[0;39m - Pulling docker image codacy/codacy-metrics-cloc:0.2.4. took 3495ms 
    1686:  09/11 04:59:22 �[34mINFO �[0;39m �[36mCodacyPlugins:26�[0;39m - Running docker image codacy/codacy-metrics-cloc:0.2.4. took 1101ms 
    1687:  09/11 04:59:22 �[1;31mERROR�[0;39m �[36mc.c.a.c.a.CodacyPluginsAnalyser:50�[0;39m - Failed metrics for metrics 
    ...
    
    1753:  at com.codacy.analysis.cli.Main.main(Main.scala)
    1754:  09/11 04:59:22 �[34mINFO �[0;39m �[36mc.c.a.c.a.AnalyseExecutor:192�[0;39m - Could not find local extra configuration for pmd 
    1755:  09/11 04:59:22 �[34mINFO �[0;39m �[36mc.c.a.c.a.AnalyseExecutor:181�[0;39m - Preparing to run pmd with defaults 
    1756:  09/11 04:59:22 �[34mINFO �[0;39m �[36mc.c.analysis.core.tools.Tool:101�[0;39m - Using the root directory /home/runner/work/vanilla/vanilla to run 
    1757:  09/11 04:59:22 �[39mDEBUG�[0;39m �[36mCodacyPlugins:17�[0;39m - codacy/codacy-pmd:3.10.2 doesn't exist locally. 
    1758:  09/11 04:59:22 �[34mINFO �[0;39m �[36mCodacyPlugins:26�[0;39m - Verifying if docker image codacy/codacy-pmd:3.10.2 exists locally. took 32ms 
    1759:  09/11 04:59:24 �[34mINFO �[0;39m �[36mCodacyPlugins:26�[0;39m - Pulling docker image codacy/codacy-pmd:3.10.2. took 2045ms 
    1760:  09/11 04:59:25 �[34mINFO �[0;39m �[36mCodacyPlugins:26�[0;39m - Running docker image codacy/codacy-pmd:3.10.2. took 1500ms 
    1761:  09/11 04:59:25 �[1;31mERROR�[0;39m �[36mc.c.a.c.a.CodacyPluginsAnalyser:30�[0;39m - Failed analysis for pmd 
    1762:  java.lang.Throwable: 
    1763:  Docker exited with code 1
    1764:  stdout: 
    1765:  stderr: Sep 11, 2024 4:59:25 AM net.sourceforge.pmd.RulesetsFactoryUtils getRuleSets
    1766:  SEVERE: No rules found. Maybe you misspelled a rule name? (null)
    1767:  Error executing the tool
    ...
    
    1851:  09/11 04:59:37 �[34mINFO �[0;39m �[36mc.c.a.c.a.CodacyPluginsAnalyser:28�[0;39m - Completed analysis for csslint with 3197 results 
    1852:  09/11 04:59:37 �[34mINFO �[0;39m �[36mc.c.a.c.a.AnalyseExecutor:192�[0;39m - Could not find local extra configuration for pmd-legacy 
    1853:  09/11 04:59:37 �[34mINFO �[0;39m �[36mc.c.a.c.a.AnalyseExecutor:181�[0;39m - Preparing to run pmd-legacy with defaults 
    1854:  09/11 04:59:37 �[34mINFO �[0;39m �[36mc.c.analysis.core.tools.Tool:101�[0;39m - Using the root directory /home/runner/work/vanilla/vanilla to run 
    1855:  09/11 04:59:37 �[39mDEBUG�[0;39m �[36mCodacyPlugins:17�[0;39m - codacy/codacy-pmdjava:2.0.0-pmdlegacy.57fdbf2 doesn't exist locally. 
    1856:  09/11 04:59:37 �[34mINFO �[0;39m �[36mCodacyPlugins:26�[0;39m - Verifying if docker image codacy/codacy-pmdjava:2.0.0-pmdlegacy.57fdbf2 exists locally. took 44ms 
    1857:  09/11 04:59:40 �[34mINFO �[0;39m �[36mCodacyPlugins:26�[0;39m - Pulling docker image codacy/codacy-pmdjava:2.0.0-pmdlegacy.57fdbf2. took 3246ms 
    1858:  09/11 04:59:42 �[34mINFO �[0;39m �[36mCodacyPlugins:26�[0;39m - Running docker image codacy/codacy-pmdjava:2.0.0-pmdlegacy.57fdbf2. took 1285ms 
    1859:  09/11 04:59:42 �[1;31mERROR�[0;39m �[36mc.c.a.c.a.CodacyPluginsAnalyser:30�[0;39m - Failed analysis for pmd-legacy 
    1860:  java.lang.Throwable: 
    1861:  Docker exited with code 1
    1862:  stdout: 
    1863:  stderr: Sep 11, 2024 4:59:42 AM net.sourceforge.pmd.RulesetsFactoryUtils getRuleSets
    1864:  SEVERE: No rules found. Maybe you mispelled a rule name? (null)
    1865:  Error executing the tool
    ...
    
    1948:  09/11 04:59:54 �[34mINFO �[0;39m �[36mCodacyPlugins:26�[0;39m - Verifying if docker image codacy/codacy-metrics-cloc:0.2.4 exists locally. took 31ms 
    1949:  09/11 04:59:55 �[34mINFO �[0;39m �[36mCodacyPlugins:26�[0;39m - Running docker image codacy/codacy-metrics-cloc:0.2.4. took 1468ms 
    1950:  09/11 04:59:55 �[34mINFO �[0;39m �[36mc.c.a.c.a.CodacyPluginsAnalyser:48�[0;39m - Completed metrics for metrics with 305 results 
    1951:  09/11 04:59:55 �[34mINFO �[0;39m �[36mc.c.a.c.a.AnalyseExecutor:192�[0;39m - Could not find local extra configuration for pmd 
    1952:  09/11 04:59:55 �[34mINFO �[0;39m �[36mc.c.a.c.a.AnalyseExecutor:181�[0;39m - Preparing to run pmd with defaults 
    1953:  09/11 04:59:55 �[34mINFO �[0;39m �[36mc.c.analysis.core.tools.Tool:101�[0;39m - Using the root directory /home/runner/work/vanilla/vanilla to run 
    1954:  09/11 04:59:56 �[34mINFO �[0;39m �[36mCodacyPlugins:26�[0;39m - Verifying if docker image codacy/codacy-pmd:3.10.2 exists locally. took 30ms 
    1955:  09/11 04:59:57 �[34mINFO �[0;39m �[36mCodacyPlugins:26�[0;39m - Running docker image codacy/codacy-pmd:3.10.2. took 1440ms 
    1956:  09/11 04:59:57 �[1;31mERROR�[0;39m �[36mc.c.a.c.a.CodacyPluginsAnalyser:30�[0;39m - Failed analysis for pmd 
    1957:  java.lang.Throwable: 
    1958:  Docker exited with code 1
    1959:  stdout: 
    1960:  stderr: Sep 11, 2024 4:59:57 AM net.sourceforge.pmd.RulesetsFactoryUtils getRuleSets
    1961:  SEVERE: No rules found. Maybe you misspelled a rule name? (null)
    1962:  Error executing the tool
    ...
    
    2028:  09/11 05:00:08 �[34mINFO �[0;39m �[36mc.c.a.c.a.CodacyPluginsAnalyser:66�[0;39m - Completed duplication for duplication with 43 results 
    2029:  09/11 05:00:08 �[34mINFO �[0;39m �[36mc.c.a.c.a.AnalyseExecutor:192�[0;39m - Could not find local extra configuration for eslint 
    2030:  09/11 05:00:08 �[34mINFO �[0;39m �[36mc.c.a.c.a.AnalyseExecutor:181�[0;39m - Preparing to run eslint with defaults 
    2031:  09/11 05:00:08 �[34mINFO �[0;39m �[36mc.c.analysis.core.tools.Tool:101�[0;39m - Using the root directory /home/runner/work/vanilla/vanilla to run 
    2032:  09/11 05:00:09 �[39mDEBUG�[0;39m �[36mCodacyPlugins:17�[0;39m - codacy/codacy-eslint:5.9.1 doesn't exist locally. 
    2033:  09/11 05:00:09 �[34mINFO �[0;39m �[36mCodacyPlugins:26�[0;39m - Verifying if docker image codacy/codacy-eslint:5.9.1 exists locally. took 32ms 
    2034:  09/11 05:00:31 �[34mINFO �[0;39m �[36mCodacyPlugins:26�[0;39m - Pulling docker image codacy/codacy-eslint:5.9.1. took 22181ms 
    2035:  09/11 05:00:33 �[34mINFO �[0;39m �[36mCodacyPlugins:26�[0;39m - Running docker image codacy/codacy-eslint:5.9.1. took 2196ms 
    2036:  09/11 05:00:33 �[1;31mERROR�[0;39m �[36mc.c.a.c.a.CodacyPluginsAnalyser:30�[0;39m - Failed analysis for eslint 
    2037:  java.lang.Throwable: 
    2038:  Docker exited with code 1
    2039:  stdout: 
    2040:  stderr: Error: Failed to load config "plugin:react/jsx-runtime" to extend from.
    2041:  Referenced from: /src/.eslintrc
    2042:  at configInvalidError (/node_modules/eslint/lib/cli-engine/config-array-factory.js:295:9)
    ...
    
    2110:  09/11 05:00:33 �[34mINFO �[0;39m �[36mCodacyPlugins:26�[0;39m - Verifying if docker image codacy/codacy-metrics-cloc:0.2.4 exists locally. took 33ms 
    2111:  09/11 05:00:34 �[34mINFO �[0;39m �[36mCodacyPlugins:26�[0;39m - Running docker image codacy/codacy-metrics-cloc:0.2.4. took 1342ms 
    2112:  09/11 05:00:34 �[34mINFO �[0;39m �[36mc.c.a.c.a.CodacyPluginsAnalyser:48�[0;39m - Completed metrics for metrics with 222 results 
    2113:  09/11 05:00:34 �[34mINFO �[0;39m �[36mc.c.a.c.a.AnalyseExecutor:192�[0;39m - Could not find local extra configuration for eslint 
    2114:  09/11 05:00:34 �[34mINFO �[0;39m �[36mc.c.a.c.a.AnalyseExecutor:181�[0;39m - Preparing to run eslint with defaults 
    2115:  09/11 05:00:34 �[34mINFO �[0;39m �[36mc.c.analysis.core.tools.Tool:101�[0;39m - Using the root directory /home/runner/work/vanilla/vanilla to run 
    2116:  09/11 05:00:34 �[34mINFO �[0;39m �[36mCodacyPlugins:26�[0;39m - Verifying if docker image codacy/codacy-eslint:5.9.1 exists locally. took 41ms 
    2117:  09/11 05:00:37 �[34mINFO �[0;39m �[36mCodacyPlugins:26�[0;39m - Running docker image codacy/codacy-eslint:5.9.1. took 2216ms 
    2118:  09/11 05:00:37 �[1;31mERROR�[0;39m �[36mc.c.a.c.a.CodacyPluginsAnalyser:30�[0;39m - Failed analysis for eslint 
    2119:  java.lang.Throwable: 
    2120:  Docker exited with code 1
    2121:  stdout: 
    2122:  stderr: Error: Failed to load config "plugin:react/jsx-runtime" to extend from.
    2123:  Referenced from: /src/.eslintrc
    2124:  at configInvalidError (/node_modules/eslint/lib/cli-engine/config-array-factory.js:295:9)
    ...
    
    2225:  09/11 05:01:13 �[34mINFO �[0;39m �[36mCodacyPlugins:26�[0;39m - Pulling docker image codacy/codacy-stylelint:2.9.10. took 11848ms 
    2226:  09/11 05:01:43 �[34mINFO �[0;39m �[36mCodacyPlugins:26�[0;39m - Running docker image codacy/codacy-stylelint:2.9.10. took 29954ms 
    2227:  09/11 05:01:45 �[34mINFO �[0;39m �[36mc.c.a.c.a.CodacyPluginsAnalyser:28�[0;39m - Completed analysis for stylelint with 241509 results 
    2228:  09/11 05:01:45 �[34mINFO �[0;39m �[36mc.c.a.c.a.AnalyseExecutor:192�[0;39m - Could not find local extra configuration for eslint 
    2229:  09/11 05:01:45 �[34mINFO �[0;39m �[36mc.c.a.c.a.AnalyseExecutor:181�[0;39m - Preparing to run eslint with defaults 
    2230:  09/11 05:01:45 �[34mINFO �[0;39m �[36mc.c.analysis.core.tools.Tool:101�[0;39m - Using the root directory /home/runner/work/vanilla/vanilla to run 
    2231:  09/11 05:01:45 �[34mINFO �[0;39m �[36mCodacyPlugins:26�[0;39m - Verifying if docker image codacy/codacy-eslint:5.9.1 exists locally. took 31ms 
    2232:  09/11 05:01:47 �[34mINFO �[0;39m �[36mCodacyPlugins:26�[0;39m - Running docker image codacy/codacy-eslint:5.9.1. took 2171ms 
    2233:  09/11 05:01:47 �[1;31mERROR�[0;39m �[36mc.c.a.c.a.CodacyPluginsAnalyser:30�[0;39m - Failed analysis for eslint 
    2234:  java.lang.Throwable: 
    2235:  Docker exited with code 1
    2236:  stdout: 
    2237:  stderr: Error: Failed to load config "plugin:react/jsx-runtime" to extend from.
    2238:  Referenced from: /src/.eslintrc
    2239:  at configInvalidError (/node_modules/eslint/lib/cli-engine/config-array-factory.js:295:9)
    ...
    
    2303:  at scala.Option.foreach(Option.scala:407)
    2304:  at com.codacy.analysis.cli.command.CommandAppWithBaseCommand.main(CommandAppWithBaseCommand.scala:88)
    2305:  at com.codacy.analysis.cli.Main.main(Main.scala)
    2306:  09/11 05:01:47 �[34mINFO �[0;39m �[36mc.c.a.c.a.AnalyseExecutor:192�[0;39m - Could not find local extra configuration for pmd-legacy 
    2307:  09/11 05:01:47 �[34mINFO �[0;39m �[36mc.c.a.c.a.AnalyseExecutor:181�[0;39m - Preparing to run pmd-legacy with defaults 
    2308:  09/11 05:01:47 �[34mINFO �[0;39m �[36mc.c.analysis.core.tools.Tool:101�[0;39m - Using the root directory /home/runner/work/vanilla/vanilla to run 
    2309:  09/11 05:01:47 �[34mINFO �[0;39m �[36mCodacyPlugins:26�[0;39m - Verifying if docker image codacy/codacy-pmdjava:2.0.0-pmdlegacy.57fdbf2 exists locally. took 42ms 
    2310:  09/11 05:01:49 �[34mINFO �[0;39m �[36mCodacyPlugins:26�[0;39m - Running docker image codacy/codacy-pmdjava:2.0.0-pmdlegacy.57fdbf2. took 1289ms 
    2311:  09/11 05:01:49 �[1;31mERROR�[0;39m �[36mc.c.a.c.a.CodacyPluginsAnalyser:30�[0;39m - Failed analysis for pmd-legacy 
    2312:  java.lang.Throwable: 
    2313:  Docker exited with code 1
    2314:  stdout: 
    2315:  stderr: Sep 11, 2024 5:01:49 AM net.sourceforge.pmd.RulesetsFactoryUtils getRuleSets
    2316:  SEVERE: No rules found. Maybe you mispelled a rule name? (null)
    2317:  Error executing the tool
    ...
    
    2379:  at com.codacy.analysis.cli.Main.main(Main.scala)
    2380:  09/11 05:01:49 �[34mINFO �[0;39m �[36mc.c.a.c.a.AnalyseExecutor:192�[0;39m - Could not find local extra configuration for phpmd 
    2381:  09/11 05:01:49 �[34mINFO �[0;39m �[36mc.c.a.c.a.AnalyseExecutor:181�[0;39m - Preparing to run phpmd with defaults 
    2382:  09/11 05:01:49 �[34mINFO �[0;39m �[36mc.c.analysis.core.tools.Tool:101�[0;39m - Using the root directory /home/runner/work/vanilla/vanilla to run 
    2383:  09/11 05:01:49 �[39mDEBUG�[0;39m �[36mCodacyPlugins:17�[0;39m - codacy/codacy-phpmd:2.5.3 doesn't exist locally. 
    2384:  09/11 05:01:49 �[34mINFO �[0;39m �[36mCodacyPlugins:26�[0;39m - Verifying if docker image codacy/codacy-phpmd:2.5.3 exists locally. took 39ms 
    2385:  09/11 05:01:51 �[34mINFO �[0;39m �[36mCodacyPlugins:26�[0;39m - Pulling docker image codacy/codacy-phpmd:2.5.3. took 2420ms 
    2386:  09/11 05:01:52 �[34mINFO �[0;39m �[36mCodacyPlugins:26�[0;39m - Running docker image codacy/codacy-phpmd:2.5.3. took 1149ms 
    2387:  09/11 05:01:52 �[1;31mERROR�[0;39m �[36mc.c.a.c.a.CodacyPluginsAnalyser:30�[0;39m - Failed analysis for phpmd 
    2388:  java.lang.Throwable: 
    2389:  Docker exited with code 1
    2390:  stdout: 
    2391:  stderr: Error executing the tool
    2392:  java.io.IOException: Cannot run program "/vendor/bin/phpmd": error=7, Argument list too long
    ...
    
    2400:  at codacy.phpmd.PhpMd$.apply(PhpMd.scala:52)
    2401:  at com.codacy.tools.scala.seed.DockerEngine.executeTool(DockerEngine.scala:53)
    2402:  at com.codacy.tools.scala.seed.DockerEngine.$anonfun$main$2(DockerEngine.scala:35)
    2403:  at scala.util.Success.map(Try.scala:262)
    2404:  at com.codacy.tools.scala.seed.DockerEngine.$anonfun$main$1(DockerEngine.scala:27)
    2405:  at scala.util.Success.flatMap(Try.scala:258)
    2406:  at com.codacy.tools.scala.seed.DockerEngine.main(DockerEngine.scala:26)
    2407:  at codacy.Engine.main(Engine.scala)
    2408:  Caused by: java.io.IOException: error=7, Argument list too long
    ...
    
    2546:  at com.codacy.analysis.cli.MainImpl.run(Main.scala:14)
    2547:  at com.codacy.analysis.cli.command.CLIApp.run(CLIApp.scala:22)
    2548:  at com.codacy.analysis.cli.command.CLIApp.run(CLIApp.scala:18)
    2549:  at com.codacy.analysis.cli.command.CommandAppWithBaseCommand.$anonfun$main$1(CommandAppWithBaseCommand.scala:103)
    2550:  at com.codacy.analysis.cli.command.CommandAppWithBaseCommand.$anonfun$main$1$adapted(CommandAppWithBaseCommand.scala:88)
    2551:  at scala.Option.foreach(Option.scala:407)
    2552:  at com.codacy.analysis.cli.command.CommandAppWithBaseCommand.main(CommandAppWithBaseCommand.scala:88)
    2553:  at com.codacy.analysis.cli.Main.main(Main.scala)
    2554:  ##[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
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    2 participants