-
Bug
-
Resolution: Done-Errata
-
Blocker
-
MTA 7.1.0
-
None
-
False
-
-
False
-
-
-
None
Description of problem:
When the user tries to perform an analysis on a Java application, mta-cli tries to execute rules from the dotnet provider, resulting in errors in the analysis log.
Version-Release number of selected component (if applicable): mta-operator-bundle-container-7.1.0-43
How reproducible: Always
Steps to Reproduce:
1. Execute the following command (the app is attached to this bug)
mta-cli-710-43 analyze --input ~/apps/jee-example-app-1.0.0.ear --output ~/Desktop/report-delete --overwrite --source weblogic --target eap7
2. Wait until the analysis finishes and inspect the logs.
Actual results:
The following errors can be found in the analysis.log (you can find an example attached)
time="2024-08-01T16:38:38Z" level=error msg="failed parsing conditions for provider" capability=referenced error="unable to find provider for: dotnet" file=/opt/rulesets/dotnet/example.yaml logger=parser provider=dotnet ruleID=removed-dotnet-framework-00000 time="2024-08-01T16:38:38Z" level=error msg="failed parsing conditions for provider" capability=referenced error="unable to find provider for: dotnet" file=/opt/rulesets/dotnet/generated.yaml logger=parser provider=dotnet ruleID=dotnet-rules-converted-00001
time="2024-08-01T16:38:39Z" level=error msg="unable to parse all the rules for ruleset" error="unable to find provider for: dotnet\nunable to find provider for: dotnet\nunable to find provider for: dotnet\nunable to find provider for: dotnet\nunable to find provider for: dotnet\nunable to find provider for: dotnet" file=/opt/rulesets/
Expected results:
When an analysis does not use certain provider the analysis should not trigger its rules
- relates to
-
MTA-2611 [QE][Manual testing for] [Tech-Preview] Add support for analysis of .NET applications
-
- Closed
-
- links to
-
RHBA-2024:132861 Migration Toolkit for Applications bug fix and enhancement update